
Xcode 6 Start to Finish
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
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.
More details
Other editions
Additional editions

Person
Content
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
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.