Home > Store

Xcode 6 Start to Finish: iOS and OS X Development, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Xcode 6 Start to Finish: iOS and OS X Development, 2nd Edition

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

  • Extensively updated to reflect major updates throughout Xcode
  • Offers a proven pedagogy designed to quickly carry Xcode developers from where they are to "advanced-level"
  • All code in this edition has been redone in Swift

Description

  • Copyright 2015
  • Pages: 656
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-405277-3
  • ISBN-13: 978-0-13-405277-9

Use Xcode 6 to Craft Outstanding iOS and OS X Apps!

Xcode 6 Start to Finish will help you use Apple’s Xcode 6 tools to improve productivity, write great code, and leverage the newest iOS 8 and OS X Yosemite features, including Apple’s new Swift programming language.

Drawing on more than thirty years of experience developing for Apple platforms, and helping others do so, Fritz Anderson presents a complete best-practice workflow that reflects Xcode’s latest innovations. Through three full, sample projects, you’ll learn to integrate testing, source control, and other key skills into a high-efficiency process that works. And all sample code has been completely written in Swift, with figures and descriptions that reflect Xcode’s radically new interface.

This is the only Xcode 6 book focused on deep mastery of the tools you’ll be living with every day. Anderson reveals better ways to storyboard, instrument, build, and compile code, and helps you apply new features, ranging from Interface Builder Live Rendering to View Debugging and XCTest Performance Testing. By the time you’re finished, you’ll have all the Xcode 6 skills you need in order to develop truly exceptional software.

Coverage includes

  • Working with iOS-side dynamic frameworks and iOS/OS X extension modules
  • Streamlining Model, View, and Controller development with Swift
  • Rewriting Objective-C functions in Swift
  • Efficiently managing layouts and view hierarchies with size classes
  • Inspecting and fixing interface issues with the new View Debugger
  • Displaying and configuring custom views within Interface Builder via Live Rendering
  • Benchmarking performance within the Xcode 6 unit test framework
  • Leveraging Xcode 6 automated tools to simplify localization
  • Creating new extensions to inject services and UI into other applications
  • Mastering new Swift debugging techniques

Register your book at informit.com/register for access to this title’s downloadable code.

Sample Content

Sample Pages

Download the sample pages (includes Chapter 3 and Index)

Table of Contents

Acknowledgments xxiii

About the Author xxv

Introduction 1

How This Book Is Organized 1

About Versions 4

About the Code 4

Conventions 5

Part I: First Steps 7

Chapter 1: Getting Xcode 9

Before You Begin 9

Installing Xcode 10

Removing Xcode 11

Apple Developer Programs 12

Downloading Xcode 13

Additional Downloads 14

Summary 15

Chapter 2: Kicking the Tires 17

Starting Xcode 17

Hello World 19

Getting Rid of It 24

Summary 24

Chapter 3: Simple Workflow and Passive Debugging 25

Creating the Project 25

Building 29

Running 30

Simple Debugging 32

Summary 34

Chapter 4: Active Debugging 35

A Simple Test Case 35

Going Active 35

Fixing the Problem 39

Summary 43

Chapter 5: Compilation 45

Compiling 45

Dynamic Loading 52

Xcode and Clang 52

Swift 57

Compiler Products 62

Summary 66

Chapter 6: Adding a Library Target 69

Adding a Target 69

Target Membership 71

A Dependent Target 74

Summary 77

Chapter 7: Version Control 79

Taking Control 80

The State of Your Files 82

Your First Commit 84

Working with Remote Repositories 84

Merges and Conflicts 89

The Version Editor 99

Branching 102

Summary 104

Part II: The Life Cycle of an iOS Application 105

Chapter 8: Starting an iOS Application 107

Planning the App 107

Starting a New iOS Project 110

What’s in the Project 112

Summary 114

Chapter 9: An iOS Application: Model 117

Implementing the Model 117

Managed-Object Classes 123

Preparation 128

Specializing the Core Data Classes 132

Making the Model Easier to Debug 139

Summary 139

Chapter 10: An iOS Application: Controller 141

Renaming Symbols in Objective-C 141

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.