Home Page Icon
Home Page
Table of Contents for
Add Pages
Close
Add Pages
by William Ray, John Ray
Sams Teach Yourself Xcode® 4 in 24 Hours
Title Page
Copyright Page
Contents at a Glance
Table of Contents
About the Authors
Dedication
Acknowledgments
We Want to Hear from You!
Reader Services
Introduction
Who Should Use This Book?
Hour 1. Xcode 4
Welcome to Xcode
The Apple Developer Programs
Installing the Xcode Developer Tools
The Nickel Tour
Preparing Your iOS Device (Optional)
Summary
Q&A
Workshop
Hour 2. Just Enough Objective-C and Cocoa
Object-Oriented Programming and Objective-C
What Is Objective-C?
Objective-C Programming Basics
Memory Management and Automatic Reference Counting
What Is Cocoa?
Cocoa Versus Cocoa Touch
Summary
Q&A
Workshop
Hour 3. Understanding the MVC Design Pattern
Development, Design Patterns, and MVC
How Xcode Implements MVC
An MVC Walkthrough
Summary
Q&A
Workshop
Hour 4. Using Xcode Templates to Create Projects
Available Project Types
The Project-Creation Process
You’ve Got a Project
Summary
Q&A
Workshop
Hour 5. Managing Projects and Resources
Getting Your Bearings
Managing Project Files
Managing Frameworks and Libraries
Managing Groups
Managing Target Properties
Summary
Q&A
Workshop
Hour 6. Using the Xcode Source Editor
Understanding Editor Basics
Navigating Within and Between Files
Using the Assistant Editor
Correcting Errors and Warnings in the Issue Navigator
Refactoring Code
Using Code Snippets
Summary
Q&A
Workshop
Hour 7. Working with the Xcode 4 Documentation
Overview of Documentation Resources
Configuring the Xcode Documentation Downloads
Understanding the Documentation Resources
Using the Xcode Help Viewer
Using the Quick Help Assistant
Summary
Q&A
Workshop
Hour 8. Creating User Interfaces
What Is Interface Builder?
The Anatomy of an Interface Builder File
Creating User Interfaces
Working with the IB Layout Tools
Customizing Interface Appearance
Setting Object Identities
Adding Custom Objects to Interface Builder
Summary
Q&A
Workshop
Hour 9. Connecting a GUI to Code
Outlet, Actions, and Properties: A Review
Making Connections to Outlets and Actions
Writing Connection Code with Interface Builder
Summary
Q&A
Workshop
Hour 10. Creating iOS Application Workflows with Storyboards
The Power of Storyboards
Storyboard Terminology
The Anatomy of a Multiscene Project
Making Advanced Segues
A Navigation Storyboard Example
Summary
Q&A
Workshop
Hour 11. Building and Executing Applications
The Language of the Build
Managing Targets
Managing Schemes
Using the iOS Simulator
Summary
Q&A
Workshop
Hour 12. Using Source Control
Using Xcode Snapshots
A Brief Introduction to Source Control Systems
Working with Subversion and Git Repositories
Managing a Project in Source Control
Summary
Q&A
Workshop
Hour 13. Xcode-Supported Languages
Choosing the Right Language
Built-In Languages
Adding Support for Other Languages
Summary
Q&A
Workshop
Hour 14. Planning for Reuse: Frameworks and Libraries
Understanding Frameworks
Deploying a Framework
Reusing Code from Existing C/C++ Libraries
Summary
Q&A
Workshop
Hour 15. Putting It All Together: Building an OS X Application
Getting Started
Creating the Interface
Attaching Code
Inserting Interface Object References into the Code
Tying Things Together
Increasing Functionality with a Framework
Summary
Q&A
Workshop
Hour 16. Building an iOS Application
Assessing What You Already Have
Building from the Template
Adding a Static Library Target
Updating Application Logic and Library Calls for iOS
Summary
Q&A
Workshop
Hour 17. Attaching Big Data: Using Core Data in Your Applications
Introducing Core Data
Using the Xcode Core Data Model Editor
Binding a Data Model to a User Interface
Accessing Data Through Code
Summary
Q&A
Workshop
Hour 18. Test Early, Test Often
Adding Unit Tests to an Existing Application
Implementing Tests for Existing Code
Accessing the Rest of an Application Through the Bundle Loader
Summary
Q&A
Workshop
Hour 19. Getting the Bugs Out
Getting Started with the Debugger
Proactive Debugging
Working with Breakpoints
Summary
Q&A
Workshop
Hour 20. Keeping Things Organized: Shared Workspaces
Using Workspaces
Creating a Workspace
Adding Projects to the Workspace
Configuring the OS X Project to Work in the Workspace
Configuring the iOS Project to Work in the Workspace
Summary
Q&A
Workshop
Hour 21. Advanced: Analyzing Code with Instruments
The Instruments Interface
Using Instruments
Additional Runs
Collecting Data from Additional Instruments Simultaneously
Summary
Q&A
Workshop
Hour 22. Managing and Provisioning iOS Devices
Creating an iOS Distribution Certificate
Creating an App ID
Creating a Distribution Provisioning Profile
Summary
Q&A
Workshop
Hour 23. Distributing Your Applications
Finalizing Your Distribution Build
Configuring an iTunes Connect Application Record
Distributing Your Archived Application
Summary
Q&A
Workshop
Hour 24. Xcode CLI Utilities
Using xcode-select
Using xcodebuild
Using xcrun
Other Xcode Command-Line Tools
Bigger and Better Command-Line Uses
Summary
Q&A
Workshop
Index
Add Pages
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Index
Add Pages
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset