More iPhone Development with Swift [electronic resource] : Exploring the iOS SDK /
Horovitz, Alex.author.
Kim, Kevin.author.
Mark, David.author.
LaMarche, Jeff.author.
Varma, Jayant.author.
Interested in iPhone and iPad apps development? Want to learn more? Whether you are a relative newcomer to iPhone and iPad or iOS development or an old hand looking to expand your horizons, we have the perfect Swift-flavored book for you. The update to the bestselling More iPhone Development by Dave Mark and Jeff LaMarche, More iPhone Development with Swift digs deeper into the new Apple Swift programming language and iOS 8 SDK, explaining complex concepts and techniques in the same friendly, easy-to-follow style you've come to expect. More iPhone Development with Swift covers topics like Swift, Core Data, peer-to-peer networking using Multipeer Connectivity, working with data from the web, MapKit, in-application e-mail, Camera Live-Previews integration, Barcode scanning, Face recognition and more. All the concepts and APIs are clearly presented with code snippets you can customize and use, as you like, in your own apps. You'll journey through coverage of concurrent programming and some advanced techniques for debugging your applications.
Contents at a Glance; Chapter 1: Here We Go Round Again; What This Book Is; What You Need To Know; What You Need Before You Can Begin; What's In This Book; Chapter 2: Core Data: What, Why, and How; A Brief History of Core Data; Creating a Core Data Application; Core Data Concepts and Terminology; The Data Model; Entities; Properties; Attributes; Relationships; Fetched Properties; Fetch Requests; Configurations; The Data Model Class: NSManagedObjectModel; The Persistent Store and Persistent Store Coordinator; Reviewing the Data Model; Managed Objects; Key-Value Coding; Managed Object Context
Saves On TerminateLoad Data from the Persistent Store; The Fetched Results Controller; Creating a Fetched Results Controller; The Fetched Results Controller Delegate Methods; Will Change Content Delegate Method; Did Change Contents Delegate Method; Did Change Object Delegate Method; Did Change Section Delegate Method; Retrieving a Managed Object From the Fetched Results Controller; Creating and Inserting a New Managed Object; Deleting Managed Objects; Putting Everything in Context; Chapter 3: A Super Start: Adding, Displaying, and Deleting Data; Setting Up the Xcode Project; Adding a Scene
Scenes and SeguesStoryboard Document Outline; Application Architecture; Designing the View Controller Interface; Creating HeroListController; Making the Connections and Outlets; Navigation Bar Buttons; Tab Bar and User Defaults; Designing the Data Model; Adding an Entity; Editing the New Entity; Adding Attributes to the Hero Entity; Adding the Name Attribute; Attribute Types; The Integer Data Types; The Decimal, Double, and Float Data Types; The String Data Type; The Boolean Data Type; The Date Data Type; The Binary Data Type; The Transformable Data Type; Setting the name Attribute Type
Adding the Rest of the AttributesDeclaring the Fetched Results Controller; Implementing the Fetched Results Controller; Fetched Results Controller Delegate Methods; Making It All Work; Error Handling; Implementing Edit and Add; Coding the Table View Data Source and Delegate; Sorting the Table View; Loading the Fetch Request at Launch; Let'Er Rip; Done, but Not Done; Chapter 4: The Devil in the Detail View; View Implementation Choices; Creating the Detail View Controller; Wiring Up the Segue; HeroDetailController; Detail View Challenges; Controlling the Table Structure with Property Lists
Property Lists ExplainedModeling Table Structure with a Property List; Defining the Table View via Property List; Parsing the Property List; Pushing the Details; Showing the Details; Editing the Details; Editing Mode in the Detail View; Creating a Custom UITableViewCell Subclass; Saving Your Changes; Specialized Input Views; DatePicker SuperDBEditCell Subclass; Using the DatePicker SuperDBEditCell Subclass; Implementing a Selection Picker; Devil's End; Chapter 5: Preparing for Change: Migrations and Versioning; About Data Models; Data Models Are Compiled
Data Models Can Have Multiple Versions
Includes index.
Interested in iPhone and iPad apps development? Want to learn more? Whether you are a relative newcomer to iPhone and iPad or iOS development or an old hand looking to expand your horizons, we have the perfect Swift-flavored book for you. The update to the bestselling More iPhone Development by Dave Mark and Jeff LaMarche, More iPhone Development with Swift digs deeper into the new Apple Swift programming language and iOS 8 SDK, explaining complex concepts and techniques in the same friendly, easy-to-follow style you've come to expect. More iPhone Development with Swift covers topics like Swift, Core Data, peer-to-peer networking using Multipeer Connectivity, working with data from the web, MapKit, in-application e-mail, Camera Live-Previews integration, Barcode scanning, Face recognition and more. All the concepts and APIs are clearly presented with code snippets you can customize and use, as you like, in your own apps. You'll journey through coverage of concurrent programming and some advanced techniques for debugging your applications.
Apple computer.
Application software.
Apple and iOS.
Computer Applications.