Category: iOS
-
An iOS 17 CloudKit Example
With the basics of the CloudKit Framework covered in the previous chapters, many of the concepts covered in those chapters will now be explored in greater detail by implementing an example iOS project. The app created in this chapter will demonstrate the use of the CloudKit Framework to create, update, query, and delete records in…
-
An iOS 17 Speech Recognition Tutorial
When Apple introduced speech recognition for iOS devices, it was always assumed that this capability would one day be available to iOS app developers. That day finally arrived with the introduction of iOS 10. The iOS SDK now includes the Speech framework, which can implement speech-to-text transcription within any iOS app. Speech recognition can be…
-
An Introduction to CloudKit Data Storage on iOS 17
The CloudKit Framework is one of the more remarkable developer features available in the iOS SDK solely because of the ease with which it allows for the structured storage and retrieval of data on Apple’s iCloud database servers. It is not an exaggeration to state that CloudKit allows developers to work with cloud-based data and…
-
An iOS 17 Core Data Tutorial
In the previous chapter, entitled Working with iOS 17 Databases using Core Data, an overview of the Core Data stack was provided, together with details of how to write code to implement data persistence using this infrastructure. In this chapter, we will continue to look at Core Data in a step-by-step tutorial that implements data…
-
Recording Audio on iOS 17 with AVAudioRecorder
In addition to audio playback, the iOS AV Foundation Framework provides the ability to record sound on iOS using the AVAudioRecorder class. This chapter will work step-by-step through a tutorial demonstrating using the AVAudioRecorder class to record audio. An Overview of the AVAudioRecorder Tutorial This chapter aims to create an iOS app to record and…
-
Working with iOS 17 Databases using Core Data
The preceding chapters covered the concepts of database storage using the SQLite database. In these chapters, the assumption was made that the iOS app code would directly manipulate the database using SQLite API calls to construct and execute SQL statements. While this is a good approach for working with SQLite in many cases, it does…
-
An Example SQLite-based iOS 17 App using Swift and FMDB
The chapter entitled iOS 17 Database Implementation using SQLite discussed the basic concepts of integrating an SQLite-based database into iOS apps. In this chapter, we will put this knowledge to use by creating a simple example app that demonstrates SQLite-based database implementation and management on iOS using Swift and the FMDB wrapper. About the Example…
-
Playing Audio on iOS 17 using AVAudioPlayer
The iOS SDK provides several mechanisms for implementing audio playback from within an iOS app. The easiest technique from the app developer’s perspective is to use the AVAudioPlayer class, which is part of the AV Foundation Framework. This chapter will provide an overview of audio playback using the AVAudioPlayer class. Once the basics have been…
-
iOS 17 Database Implementation using SQLite
While the preceding chapters of this book have looked at data storage within the context of iOS-based apps, this coverage has been limited to basic file and directory handling. However, in many instances, the most effective data storage and retrieval strategy require using some form of database management system. To address this need, the iOS…
-
Synchronizing iOS 17 Key-Value Data using iCloud
When considering using iCloud in an app, it is important to note that the Apple ecosystem is not limited to the iOS platform. It also encompasses a range of macOS-based laptop and desktop computer systems, all of which have access to iCloud services. This increases the chance that a user will have the same app…