Swift 4 and Xcode 9, alongside iOS 11, bring a lot of new APIs for iOS developers to work with. In the iOS 11 Swift Programming Cookbook, you will see all that is new and exciting in iOS 11, plus new ways of using Swift 4 and Xcode 9 to make your day-to-day development life easier. You will learn about Travis, Xcode server, and fastlane as Continuous Delivery and Continuous Integration systems. We then expand upon CI and CD by learning about snapshot testing and how you can create user interfaces that match your business and UI specifications to the last detail, and ensuring that you find and correct issues in our UI by catching the issues early on through automatic snapshot tests that can run on Travis or Xcode server.
You will also learn about all the cool new features in Swift 4, such as built-in JSON parsing and typed array extensions. Apple made quite a lot of improvements to UIKit as well this year during WWDC, such as new ways of scaling fonts and the ability for iOS apps to support drag and drop between applications as well as inside a single app container. You will learn all about that in this edition of iOS 11 Swift Programming Cookbook.
Document-based applications are a big part of this year’s WWDC, so there is no wonder that we have dedicated a whole chapter to the new document browser. We show how to utilize it to create great document based apps that not only allow opening existing documents, but also creating new documents of either existing types or a whole new data type that only your application is able to handle, such as a custom image type.
Some of the important subjects that this book covers include:
- Travis, Xcode server and fastlane
- Swift 4 and Xcode 9’s new features
- Snapshot testing and test automation
- Creating document based applications
- Map view and Core Location and their new features
- UI Testing with Apple’s own UI Testing suite
- Security and Password Autofill in iOS 11
- Core Data, all you need to know about data storage
- UI Dynamics and creating lively user interfaces
- iMessage applications and creating sticker packages
- Siri Kit and integrating Siri into your apps
- Apple Watch, and creating fascinating apps for it
- Contacts, and manipulating the contacts database