Book Image

Swift Essentials - Second Edition

By : Alex Blewitt
Book Image

Swift Essentials - Second Edition

By: Alex Blewitt

Overview of this book

Swift was considered one of the biggest innovations last year, and certainly with Swift 2 announced at WWDC in 2015, this segment of the developer space will continue to be hot and dominating. This is a fast-paced guide to provide an overview of Swift programming and then walks you through in detail how to write iOS applications. Progress through chapters on custom views, networking, parsing and build a complete application as a Git repository, all by using Swift as the core language
Table of Contents (17 chapters)
Swift Essentials Second Edition
About the Author
About the Reviewer

Storyboards, scenes, and segues

By default, Xcode 7 creates a Main.storyboard file instead of a MainWindow.xib file for newly-created iOS projects. The UIMainStoryboardFile key in the Info.plist file points to the application's main storyboard name (without the extension). When the application starts up, the Main.storyboard file is loaded instead of the NSMainNib entry. Prior versions of Xcode allowed developers to opt in or out of storyboards, but with Xcode 7, storyboards are the default and developers cannot easily opt out. It is still possible to use the xib files for individual sections of an application or to use them to load custom classes for prototype table cells. In addition, Xcode 7 creates a LaunchScreen.storyboard to display as a splash screen (on iOS 8 and higher) while the application is loading, in preference to prerendered screens at fixed resolutions. This allows devices with many different resolutions (including future unannounced ones) to render pixel-perfect splash screens...