Xcode 5 Start to Finish : ioS and OS X Development (Developer's Library)

  • ポイントキャンペーン

Xcode 5 Start to Finish : ioS and OS X Development (Developer's Library)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 591 p.
  • 言語 ENG
  • 商品コード 9780321967206
  • DDC分類 005.382

Full Description


Use Xcode 5 to Write Great iOS and OS X Apps! Xcode 5 Start to Finish will help you use the tools in Apple's Xcode 5 to improve productivity, write great code, and leverage the newest iOS 7 and OS X Mavericks features. Drawing on thirty years of experience developing for Apple platforms and helping others do so, Fritz Anderson shows you a complete best-practice Xcode workflow. Through three full sample projects, you'll learn to integrate testing, source control, and other key skills into a high-efficiency process that works. Anderson shows you better ways to storyboard, instrument, build, and compile code, and helps you apply innovations ranging from Quick Look to Preview Assistant. By the time you're finished, you'll have the advanced Xcode skills to develop outstanding software. Coverage includes Setting breakpoints and tracing execution for active debugging Creating libraries by adding and building new targets Integrating Git or Subversion version control Creating iOS projects with MVC design Designing Core Data schemas for iOS apps Linking data models to views Designing UI views with Interface Builder Using the improved Xcode 5 Autolayout editor Improving reliability with unit testing Simplifying iOS provisioning Leveraging refactoring and continual error checking Using OS X bindings, bundles, packages, frameworks, and property lists Localizing your apps Controlling how Xcode builds source code into executables Analyzing processor and memory usage with Instruments Integrating with Mavericks Server's sleek continuous integration system Register your book at www.informit.com/register for access to this title's downloadable code.

Contents

Acknowledgments xxiiiAbout the Author xxv Introduction 1How This Book Is Organized 1About Versions 4About the Code 4Conventions 5 Part I: First Steps 7 Chapter 1: Getting Xcode 9 Before You Begin 9Installing Xcode 10Removing Xcode 11Apple Developer Programs 12Downloading Xcode 13Additional Downloads 14Summary 15 Chapter 2: Kicking the Tires 17Starting Xcode 17Hello World 18Getting Rid of It 24Summary 24 Chapter 3: Simple Workflow and Passive Debugging 25Creating the Project 25Building 29Running 31Simple Debugging 32Summary 34 Chapter 4: Active Debugging 35A Simple Test Case 35Going Active 35Fixing the Problem 39Summary 43 Chapter 5: Compilation 45Compiling 45Linking 50Dynamic Loading 52Xcode and Clang 53Compiler Products 58Summary 62 Chapter 6: Adding a Library Target 63Adding a Target 63Target Membership 65A Dependent Target 68Summary 70 Chapter 7: Version Control 73Taking Control 74The State of Your Files 76Your First Commit 78Working with Remote Repositories 79Merges and Conflicts 83The Version Editor 93Branching 96Summary 98 Part II: The Life Cycle of an iOS Application 101 Chapter 8: Starting an iOS Application 103 Planning the App 103Starting a New iOS Project 106What's in the Project 108One More Thing 110Summary 112 Chapter 9: An iOS Application: Model 113Implementing the Model 113Managed-Object Classes 120Making the Model Easier to Debug 131Summary 132 Chapter 10: An iOS Application: Controller 133Renaming Symbols 133Editing the View Controller 136Live Issues and Fix-it 138The Real Passer Rating 140Summary 145 Chapter 11: Building a New View 147The Next View Controller 147Building a View 152The Table View 161Outlets 161Testing the Billboard View 170Summary 171 Chapter 12: Autolayout in a New View 173Why Autolayout? 173The Player Billboard, Revisited 175The Label System 179Summary 185 Chapter 13: Adding Table Cells 187The Game Table 187The Game Table: First Run 191A Custom Table Cell 193Adding Some Graphics 196Summary 202 Chapter 14: Adding an Editor 205The Plan 205Adding a Modal Scene 205The Editor View Controllers 210Segues 218Summary 219 Chapter 15: Unit Testing 221The Test Navigator 222Testing the CSV Reader 224Testing and the Debugger 229Application Tests 232TestKit Assertions 233Summary 236 Chapter 16: Measurement and Analysis 237Speed 237Memory 247Summary 253 Chapter 17: Provisioning 255Apple Developer Programs 255Provisioning for iOS 257The Capabilities Editor 262OS X Sandboxing 264Gatekeeper and Developer ID 266Distribution Builds 269Summary 273 Part III: Xcode for Mac OS X 275 Chapter 18: Starting an OS X Application 277 The Goal 277Getting Started 278Model 281Wiring a Menu 287Summary 293 Chapter 19: Bindings: Wiring an OS X Application 295Laying Out the Document Window 295Filling the Table- Bindings 301Layering NSControllers 307Running a Popover with Bindings 315Running the Near-Final App 321Summary 322 Chapter 20: A Custom View for OS X 323A Graphing View 325Back to the View Controller 328QuickLook in the Debugger 332Custom View Properties 334Summary 336 Chapter 21: Localization 337How Localization Works 337Adding a Localization 338Localizing MainMenu.xib 347Localizing Info.plist 353Strings in Code 355Showing Mac Passer Rating in Finder 359Summary 364 Chapter 22: Bundles and Packages 365A Simple Package: RTFD 365Bundles 367Application Bundles 367The Info.plist File 369Info.plist Keys for Applications 371Info.plist 379Summary 379 Chapter 23: Frameworks 381Adding a Framework Target 381Installing a Framework 383Building Mac Passer Rating 387Debugging a Framework 388Summary 394 Chapter 24: Property Lists 395Property List Data Types 395Editing Property Lists 396Other Formats 406Specialized Property Lists 407Summary 408 Part IV: Xcode Tasks 409 Chapter 25: Documentation in Xcode 411 Quick Help 411Open Quickly 413Help 414The Documentation Window 415Keeping Current 419Your Own Quick Help 421Your Own Docsets 424Summary 430 Chapter 26: The Xcode Build System 431How Xcode Structures a Build 431Build Variables 434Settings Hierarchy 435Editing Build Variables 437Configurations 438Configuration Files 439Command-Line Tools 443Custom Build Rules 446The Build Log 448A Simple Build Transcript 450Summary 458 Chapter 27: Instruments 459What Instruments Is 459Running Instruments 460The Instruments 474Custom Instruments 480The Templates 482Summary 484 Chapter 28: Debugging 485Scheme Options 485Doing More with Breakpoints 488The lldb Command Line 491Tips 493Summary 497 Chapter 29: Continuous Integration 499Xcode Server 500Bots 503Seeing the Results 507Building for Distribution 508Summary 509 Chapter 30: Snippets 511Tricks 511Traps 522 Part V: Appendixes 525 Appendix A: Some Build Variables 527 Useful Build Variables 528Environment 528Code Signing 529Locations 530Compiler Settings 533Search Paths 535Info.plist 535The DEVELOPER Variables 536Source Trees 537 Appendix B: Resources 539Books 539On the Net 540Face to Face 544Other Software 544 Index 555

最近チェックした商品