Xcode 6 Start to Finish: iOS and OS X Development

Xcode 6 Start to Finish: iOS and OS X Development

by Fritz Anderson
Xcode 6 Start to Finish: iOS and OS X Development

Xcode 6 Start to Finish: iOS and OS X Development

by Fritz Anderson

eBook

$32.49  $42.99 Save 24% Current price is $32.49, Original price is $42.99. You Save 24%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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.


Product Details

ISBN-13: 9780134052786
Publisher: Pearson Education
Publication date: 05/08/2015
Series: Developer's Library
Sold by: Barnes & Noble
Format: eBook
Pages: 656
File size: 29 MB
Note: This product may take a few minutes to download.
Age Range: 18 Years

About the Author

Fritz Anderson has been writing software, books, and articles for and about Apple platforms since 1984. He has worked for research and development firms, consulting practices, and as a freelancer. He is now an iOS and Mac programmer for the University of Chicago’s Scholarly Technology department.

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

From the B&N Reads Blog

Customer Reviews