Author: admin

  • Red Hat Enterprise 9 Linux Essentials

  • An iOS 17 CloudKit Sharing Tutorial

    The chapter entitled An Introduction to iOS 17 CloudKit Sharing provided an overview of how CloudKit sharing works and the steps involved in integrating sharing into an iOS app. The intervening chapters have focused on creating a project that demonstrates the integration of CloudKit data storage into iOS apps. This chapter will extend the project…

  • An Introduction to iOS 17 CloudKit Sharing

    Before the release of iOS 10, the only way to share CloudKit records between users was to store those records in a public database. With the introduction of CloudKit sharing, individual app users can now share private database records with other users. This chapter aims to provide an overview of CloudKit sharing and the classes…

  • Drawing Text on a Compose Canvas with drawText

    Text is drawn on a canvas using DrawScope’s drawText() function and a TextMeasurer instance. The role of TextMeasurer is to calculate the size of the text drawing based on factors such as font family and size. We can obtain a TextMeasurer instance by making a call to the rememberTextMeasurer() function as follows: Having obtained a…

  • C# 11 Dates and Times

    It is a rare application that can be developed without in some way needing to work with dates and times. Recognizing this, the Microsoft engineers responsible for C# gave us the DateTime object. This chapter will look at using this object to work with dates and times in C# based applications. Topics covered include adding…

  • C# 11 String Formatting

    In addition to the wide selection of string manipulation functions outlined in the C# Strings lesson, the string class also provides the  String.Format() method. The primary purpose of the C#  String.Format() method is to provide a mechanism for inserting string, numerical, or boolean values into a string with additional formatting control. The Syntax of the String.Format() Method The general syntax of…

  • C# 11 String Examples

    Strings are collections of characters that are grouped together to form words or sentences. If it wasn’t for humans, computers would probably never have anything to do with strings. The fact is, however, that one of the primary jobs of a computer is to accept data from and present data to humans. For this reason,…

  • C# 11 Dictionary Collections

    C# dictionaries allow data to be stored and managed as key-value pairs. Dictionaries fulfill a similar purpose to arrays and lists, except each item stored in the dictionary has associated with it a unique key (to be precise, the key is unique to the particular dictionary object) which can be used to reference and access…

  • C# 11 List Collections

    In the previous chapters, we looked at C# Arrays. While useful for many tasks, arrays are starting to show their age in terms of functionality and flexibility. The C# Collection Classes provide more advanced mechanisms for gathering groups of objects. What are the C# Collection Classes The C# Collection classes are designed specifically for grouping…

  • Accessing and Sorting C# 11 Array Elements

    The previous chapter explained how to create 2-dimensional, 3-dimensional, and jagged arrays in C#. In this chapter, we will explore how to access, remove, and sort the elements of an array. Getting the number of dimensions of an array The number of dimensions of an array can be obtained via the Rank property of the array. For…