Building iOS Apps with UIKit
In the previous chapter, we got to play with a pre-made app so we could learn more about concurrency in Swift. Now, we’ll be building our very own iOS app from scratch using Swift and the Xcode IDE. To do this, we’ll use UIKit and storyboards, the more traditional way of building out an app UI. Once we’ve built our app, we’ll look at how we can incorporate unit tests and UI tests.
By the end of this chapter, you will understand how to build a complete app and a UI so that anyone who uses it can trigger, interact with, and see the results of the Swift code that lies beneath.
In this chapter, we will cover the following recipes:
- Building an iOS app using UIKit and storyboards
- Unit and integration testing with XCTest
- UI testing with XCUITest