did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780672335877

Sams Teach Yourself XCode 4 in 24 Hours

by ;
  • ISBN13:

    9780672335877

  • ISBN10:

    0672335875

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2012-06-17
  • Publisher: Sams Publishing
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99
  • Digital
    $41.39
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

Master Apple's breakthrough XCode 4.2 development environment from the ground up, in 24 one-hour lessons: no Apple coding experience needed! The complete XCode 4.2 hands-on tutorial: fully covers XCode 4.2's radically revamped toolset, from Code Editor and Interface Builder to Source Control and beyond. Extensive advanced coverage includes frameworks, libraries, universal iOS apps, CoreData, unit tests, targets, workspaces, Dashcode, and much more Step-by-step instructions, examples, quizzes, exercises, tips, and shortcuts XCode 4.2 offers unprecedented power and flexibility to every OS X or iOS developer. Now that it's available on the Mac App Store, thousands of new users are diving in - and XCode 4.2's radical innovations mean that even experienced developers must start fresh. Sams Teach Yourself XCode 4 in 24 Hours is the friendly, easy guide to XCode 4.2 for every Apple developer, regardless of experience. In just 24 quick lessons, it covers everything from basic project organization to advanced reuse and testing, helping developers optimize workflows and build highly reliable software. Coverage includes: Using XCode 4.2 with Objective-C, Cocoa, and MVC. Creating, organizing, and managing projects and files. Working with the Code Editor. Designing interfaces and linking them to code. Using source control. CoreData modeling and coding. Leveraging frameworks and libraries. Building OS X software and universal iOS apps. Unit testing, debugging, and code analysis. Using targets, schemes, and workspaces. Building widgets with Dashcode

Author Biography

John Ray is Senior Business Analyst and Development Team Manager for the Ohio State University Research Foundation. His many Pearson books include Sams Teach Yourself iOS 5 Application Development in 24 Hours and Mac OS X Unleashed. Will Ray is an assistant professor of pediatrics in the Battelle Center for Mathematical Medicine at Nationwide Children's Hospital. He has been developing training materials and teaching users and programmers to live at the intersection of Macintosh and UNIX technologies since 1989.

Table of Contents

Introductionp. 1
Xcode4p. 3
Welcome to Xcodep. 3
The Apple Developer Programsp. 8
Installing the Xcode Developer Toolsp. 11
The Nickel Tourp. 13
Preparing Your iOS Device (Optional)p. 17
Summaryp. 20
Q&Ap. 20
Workshopp. 21
Just Enough Objective-C and Cocoap. 23
Object-Oriented Programming and Objective-Cp. 23
What Is Objective-C?p. 25
Objective-C Programming Basicsp. 33
Memory Management and Automatic Reference Countingp. 48
What Is Cocoa?p. 50
Cocoa Versus Cocoa Touchp. 51
Summaryp. 54
Q&Ap. 55
Workshopp. 55
Understanding the MVC Design Patternp. 57
Development, Design Patterns, and MVCp. 57
How Xcode Implements MVCp. 60
An MVC Walkthroughp. 64
Summaryp. 68
Q&Ap. 68
Workshopp. 69
Using Xcode Templates to Create Projectsp. 71
Available Project Typesp. 71
The Project-Creation Processp. 83
You've Got a Projectp. 88
Summaryp. 91
Q&Ap. 91
Workshopp. 92
Managing Projects and Resourcesp. 95
Getting Your Bearingsp. 95
Managing Project Filesp. 99
Managing Frameworks and Librariesp. 108
Managing Groups?p. 110
Managing Target Propertiesp. 111
Summaryp. 114
Q&Ap. 115
Workshopp. 115
Using the Xcode Source Editorp. 117
Understanding Editor Basicsp. 117
Navigating Within and Between Filesp. 126
Using the Assistant Editorp. 131
Correcting Errors and Warnings in the Issue Navigatorp. 133
Refactoring Codep. 135
Using Code Snippetsp. 138
Summaryp. 142
Q&Ap. 142
Workshopp. 142
Working with the Xcode 4 Documentationp. 145
Overview of Documentation Resourcesp. 145
Configuring the Xcode Documentation Downloadsp. 148
Understanding the Documentation Resourcesp. 149
Using the Xcode Help Viewerp. 155
Using the Quick Help Assistantp. 158
Summaryp. 161
Q&Ap. 162
Workshopp. 162
Creating User Interfacesp. 165
What Is Interface Builder?p. 165
The Anatomy of an Interface Builder Filep. 168
Creating User Interfacesp. 174
Working with the IB Layout Toolsp. 177
Customizing Interface Appearancep. 188
Setting Object Identitiesp. 191
Adding Custom Objects to Interface Builderp. 192
Summaryp. 193
Q&Ap. 193
Workshopp. 194
Connecting a GUI to Codep. 195
Outlet, Actions, and Properties: A Reviewp. 195
Making Connections to Outlets and Actionsp. 197
Writing Connection Code with Interface Builderp. 205
Summaryp. 211
Q&Ap. 212
Workshopp. 212
Creating iOS Application Workflows with Storyboardsp. 215
The Power of Storyboardsp. 215
Storyboard Terminologyp. 216
The Anatomy of a Multiscene Projectp. 218
Making Advanced Seguesp. 230
A Navigation Storyboard Examplep. 239
Summaryp. 248
Q&Ap. 249
Workshopp. 249
Building and Executing Applicationsp. 251
The Language of the Buildp. 251
Managing Targetsp. 257
Managing Schemesp. 264
Using the iOS Simulatorp. 271
Summaryp. 276
Q&Ap. 277
Workshopp. 277
Using Source Controlp. 279
Using Xcode Snapshotsp. 279
A Brief Introduction to Source Control Systemsp. 283
Working with Subversion and Git Repositoriesp. 285
Managing a Project in Source Controlp. 296
Summaryp. 307
Q&Ap. 308
Workshopp. 308
Xcode-Supported Languagesp. 311
Choosing the Right Languagep. 312
Built-in Languagesp. 313
Adding Support for Other Languagesp. 322
Summaryp. 325
Q&Ap. 326
Workshopp. 326
Planning for Reuse: Frameworks and Librariesp. 329
Understanding Frameworksp. 329
Deploying a Frameworkp. 348
Reusing Code from Existing C/C++ Librariesp. 349
Summaryp. 352
Q&Ap. 352
Workshopp. 353
Putting It All Together: Building an OS X Applicationp. 355
Getting Startedp. 356
Creating the Interfacep. 359
Attaching Codep. 364
Inserting Interface Object References into the Codep. 369
Tying Things Togetherp. 373
Increasing Functionality with a Frameworkp. 376
Summaryp. 395
Q&Ap. 396
Workshopp. 396
Building an iOS Applicationp. 399
Assessing What You Already Havep. 400
Building from the Templatep. 403
Adding a Static Library Targetp. 404
Updating Application Logic and Library Calls for iOSp. 414
Summaryp. 430
Q&Ap. 431
Workshopp. 432
Attaching Big Data: Using Core Data in Your Applicationsp. 435
Introducing Core Datap. 435
Using the Xcode Core Data Model Editorp. 438
Binding a Data Model to a User Interfacep. 446
Accessing Data Through Codep. 458
Summaryp. 462
Q&Ap. 463
Workshopp. 463
Test Early, Test Oftenp. 465
Adding Unit Tests to an Existing Applicationp. 466
Implementing Tests for Existing Codep. 472
Accessing the Rest of an Application Through the Bundle Loaderp. 480
Summaryp. 483
Q&Ap. 484
Workshopp. 485
Getting the Bugs Outp. 487
Getting Started with the Debuggerp. 488
Proactive Debuggingp. 493
Working with Breakpointsp. 497
Summaryp. 506
Q&Ap. 506
Workshopp. 507
Keeping Things Organized: Shared Workspacesp. 509
Using Workspacesp. 510
Creating a Workspacep. 515
Adding Projects to the Workspacep. 517
Configuring the OS X Project to Work in the Workspacep. 519
Configuring the iOS Project to Work in the Workspacep. 524
Summaryp. 530
Q&Ap. 531
Workshopp. 531
Advanced: Analyzing Code with Instrumentsp. 533
The Instruments Interfacep. 534
Using Instrumentsp. 536
Additional Runsp. 541
Collecting Data from Additional Instruments Simultaneouslyp. 543
Summaryp. 545
Q&Ap. 546
Workshopp. 546
Managing and Provisioning iOS Devicesp. 549
Creating an iOS Distribution Certificatep. 550
Creating an App IDp. 556
Creating a Distribution Provisioning Profilep. 560
Summaryp. 563
Q&Ap. 564
Workshopp. 565
Distributing Your Applicationsp. 567
Finalizing Your Distribution Buildp. 568
Configuring an iTunes Connect Application Recordp. 576
Distributing Your Archived Applicationp. 578
Summaryp. 583
Q&Ap. 583
Workshopp. 584
Xcode CLI Utilitiesp. 587
Using xcode-selectp. 588
Using xcodebuilidp. 590
Using xcrunp. 595
Other Xcode Command-Line Toolsp. 598
Bigger and Better Command-Line Usesp. 599
Summaryp. 600
Q&Ap. 600
Workshopp. 602
Indexp. 603
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program