Programming Swift! Mac Apps 1 – Swift 3 Edition is all about getting started building Mac applications with Xcode and Swift 3.
The book covers visual programming with storyboards and interface builder. You’ll be working with latest version of Xcode and Swift, building modern Mac applications.
The book has 17 hands on chapters and several projects that you will build from the ground up. You’ll start building small, throw-away demo apps that focus on a new topic then you’ll build a complete app that combines these topics and shows you how to put them together in a real application.
You will learn about:
App architecture and building blocks.
Cocoa application storyboards, scenes and segues.
The assistant editor and manual code connections.
Application life cycles, app delegate events and view events.
The Xcode object library, sender objects, dual personality connections.
Auto Layout and the stack view system.
Programming for the responder chain and first responder object
Menus and toolbars.
The app About Box
Applications with multiple views and windows.
Tabbed views and relationship segues.
More segues for panels, alerts, sheets and the representedObject.
File Open/Save panels, file manager objects and image controls.
Xcode Asset Catalog and a larger project app: Asset Maker (you’ll build an app that can create icons for your projects).
The user defaults class – saving application settings and adding a preferences pane.
Introduction to data sources and delegates.
Use data-driven combo-box.
Data models, build a Swift singleton class to act as the Model in MVC.
Table Views – both cell based and view based table views that persist data to XML
The all new, modern NSCollectionView with delegates, data sources and flow layout.
Source Code download: macapps1swift3v1.zip 07-dec-2016
Note: the source code download for this book contains all major projects listed in the book and built using Xcode 8.1 and Swift 3.
Now available on Amazon Kindle and iBooks