Author: admin

  • C# 11 Interfaces

    In this chapter, we will explain what C# interfaces are, how to write your own, and how to make other classes comply with one. Understanding C# interfaces By default, there are no specific rules to which a C# class must conform as long as the class is syntactically correct. In some situations, however, a class…

  • C# 11 Abstract Classes

    In the preceding chapters, we have looked in detail at object-oriented programming in C# and also at the concept of class inheritance. In this lesson, we will look at the next area of object-oriented programming, the abstract class. What is a C# abstract class? In the examples we have looked at so far in this…

  • C# 11 Inheritance

    In the previous chapters, we looked at the basics of object-oriented programming in C#. Now that we have covered these basics, the next topic to be covered is that of class inheritance. What is inheritance? The concept of inheritance brings something of a real-world view to programming. It allows a class to be defined which…

  • C# 11 Tuple Type

    Before proceeding, now is an excellent time to introduce the Swift tuple. A tuple is, quite simply, a way to temporarily group multiple values into a single entity. The items stored in a tuple can be of any type, and there is no requirement that those values all be of the same type. A tuple…

  • C# 11 Anonymous Methods and Lambdas

    In this chapter, you will learn how to use anonymous methods and lambdas is C# to write flexible, concise, and reusable code. Topics covered in this chapter include creating and using anonymous methods, expressions, and statement lambdas. Anonymous methods Anonymous methods are also declared using the delegate keyword. Unlike traditional delegates, however, anonymous methods do not reference…

  • Getting Location Information using the iOS 17 Core Location Framework

    iOS devices can employ several techniques for obtaining information about the current geographical location of the device. These mechanisms include GPS, cell tower triangulation, and finally (and least accurately), using the IP address of available Wi-Fi connections. The mechanism used by iOS to detect location information is largely transparent to the app developer. The system…

  • C# 11 Delegates

    This chapter will continue exploring C# methods by introducing the concepts of C# delegates, including what they are and how to use them. What is a Delegate? Before we start exploring C# delegates it first helps to understand the concept of method signatures. When a method is declared, the parameters it accepts and the result…

  • An Example iOS 17 MKMapItem App

    This chapter aims to work through creating an example iOS app that uses reverse geocoding together with the MKPlacemark and MKMapItem classes. The app will consist of a screen into which the user will be required to enter destination address information. Then, when the user selects a button, a map will be launched containing turn-by-turn…

  • C# 11 Methods

    The previous chapter began the introduction to object-oriented programming in C# and included the use of methods declared within classes. This lesson will explore C# methods in more detail, including how they are declared and called, passing arguments, and returning results. The topic of passing arguments by reference and value will also be explained. C#…

  • Integrating Maps into iOS 17 Apps using MKMapItem

    If there is one fact about Apple that we can state with any degree of certainty, it is that the company is passionate about retaining control of its destiny. Unfortunately, one glaring omission in this overriding corporate strategy has been the reliance on a competitor (in the form of Google) for mapping data in iOS.…