Author: admin
-
An iOS Vision and Core ML Image Classification Tutorial
Now that we have created an image classification machine learning model in the previous chapter, this chapter will take that model and use it in conjunction with the iOS Core ML and Vision frameworks to build image classification features into an iOS app. Preparing the Project The project used as the basis for this tutorial…
-
Managing Files using the iOS 17 UIDocument Class
Using iCloud to store files requires a basic understanding of the UIDocument class. Introduced as part of the iOS 5 SDK, the UIDocument class is the recommended mechanism for working with iCloud-based file and document storage. The objective of this chapter is to provide a brief overview of the UIDocument class before working through a…
-
Using Create ML to Build an Image Classification Model
This chapter will demonstrate the use of Create ML to build an image classification model trained to classify images based on whether the image contains one of four specific items (an apple, banana, cat, or a mixture of fruits). The tutorial will include the training and testing of an image recognition machine learning model using…
-
Preparing an iOS 17 App to use iCloud Storage
From the perspective of the average iPhone or iPad owner, iCloud represents a vast, remote storage service onto which device-based data may be backed up and music stored for subsequent streaming to multiple iCloud-supported platforms and devices. From the iOS app developer’s perspective, iCloud represents a set of programming interfaces and SDK classes that facilitate…
-
An Introduction to Machine Learning on iOS
Machine learning is one of the key components of artificial intelligence. It involves using data analysis to teach software to perform tasks without specifically being programmed. Machine learning is used in many fields and industries to perform tasks such as identifying spam emails, detecting people and objects in images, fraud detection, and financial trading systems,…
-
iOS 17 Directory Handling and File I/O in Swift – A Worked Example
In the Working with Directories in Swift on iOS 17 and Working with Files in Swift on iOS 17 chapters of this book, we discussed in detail the steps involved in working with the iOS file system in terms of both file and directory handling from within iOS apps. The goal of this chapter is…
-
An Example iOS 17 SiriKit Messaging Extension
The previous chapter covered much of the theory of integrating Siri into an iOS app. This chapter will review the example Siri messaging extension created by Xcode when a new Intents Extension is added to a project. This project will show a practical implementation of the topics covered in the previous chapter and provide more…
-
Working with Files in Swift on iOS 17
In the chapter entitled Working with Directories in Swift on iOS 17, we looked at the FileManager, FileHandle, and Data Foundation Framework classes. We discussed how the FileManager class enables us to work with directories when developing iOS-based apps. We also spent some time covering the file system structure used by iOS. In particular, we…
-
An Introduction to SiriKit
Although Siri has been part of iOS for several years, it was not until the introduction of iOS 10 that some of the power of Siri was made available to app developers through SiriKit. Initially limited to particular app categories, SiriKit has been extended in iOS 17 to allow Siri functionality to be built into…
-
Working with Directories in Swift on iOS 17
It is sometimes easy to forget that iOS is an operating system much like that running on many other computers today. Given this fact, it should come as no surprise that iOS has a file system much like any other operating system allowing apps to store persistent data on behalf of the user. Again, much…