وبلاگ بلیان

Mastering Xcode 4 : Develop and Design

معرفی کتاب «Mastering Xcode 4 : Develop and Design» نوشتهٔ Joshua Nozzi، منتشرشده توسط نشر Peachpit Press در سال 2011. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Mastering Xcode 4 : Develop and Design» در دستهٔ بدون دسته‌بندی قرار دارد.

Xcode 4 has a brand new user interface, built upon proven technologies that Apple itself uses to build Mac OS X and iOS, and that have produced over a quarter million Mac OS X and iOS apps. This project-based book introduces readers to Apple's development environment. The book is aimed at new Mac OS X and iOS developers and assumes the reader is familiar with programming and object-oriented concepts. The book starts at the basics--how to download, install, and start using Xcode--and moves to a detailed look at building and running applications. The last part of the book covers more advanced topics, such as testing, debugging, and source-code management. With the book's approach, readers will be able to take the projects they build during the book and adapt them for use in their own projects. Contents 6 Introduction 11 Welcome to Xcode 13 PART I: THE BASICS: GETTING STARTED WITH XCODE4 16 CHAPTER 1 DISCOVERING XCODE TOOLS 17 Downloading 19 Installing 19 Exploring 20 Wrapping Up 22 CHAPTER 2 STARTING A PROJECT 23 Welcome to Xcode! 25 Creating a New Project 26 Project Modernization 30 Building and Running an Application 32 Wrapping Up 32 CHAPTER 3 NAVIGATING A PROJECT 33 The Workspace Window 35 The Navigator Area 36 The Jump Bar 41 The Editor Area 42 The Utility Area 46 The Debug Area 47 The Activity Viewer 48 The Tabs 49 The Organizer Window 50 Wrapping Up 50 CHAPTER 4 GETTING HELP 51 The Help Menu 53 The Organizer’s Documentation Tab 54 The Source Editor 56 Community Help and Feedback 57 Wrapping Up 58 PART II: WORKING WITH COCOA APPLICATIONS 60 CHAPTER 5 CREATING USER INTERFACES 61 Understanding Nibs 63 Getting Familiar with Interface Builder 65 Adding User Interface Elements 70 Layout 73 Wrapping Up 84 CHAPTER 6 ADDING FILES TO A PROJECT 85 Adding Existing Files 87 Creating New Files 89 Using the File Template Library 91 Removing Files from the Project 92 Wrapping Up 92 CHAPTER 7 WRITING CODE WITH THE SOURCE EDITOR 93 Exploring the Source Editor Interface 95 Navigating Source Code 96 Using Code Completion 99 Exploring the Code Snippet Library 100 The Assistant 102 Wrapping Up 102 CHAPTER 8 SEARCHING AND REPLACING 103 Using the Search Navigator 105 Searching within Files 112 Wrapping Up 112 CHAPTER 9 BASIC DEBUGGING AND ANALYSIS 113 Compile-Time Debugging 115 Runtime Debugging 117 Wrapping Up 124 CHAPTER 10 USING THE DATA MODEL EDITOR 125 Introducing Core Data 127 Using the Data Model Editor 130 Creating a Basic Data Model 132 Creating a UI for the Model 133 Using the Assistant 140 Wrapping Up 140 CHAPTER 11 CUSTOMIZING THE APPLICATION ICON 141 Picking the Ideal Artwork 143 Creating Icons 144 Setting the Application Icon 146 Setting Document Icons 148 Wrapping Up 148 CHAPTER 12 DEPLOYING AN APPLICATION 149 Archiving 151 Alternatives to Archiving 155 Wrapping Up 156 PART III: GOING BEYOND THE BASICS 158 CHAPTER 13 ADVANCED EDITING 159 Renaming Symbols 161 Refactoring 162 Organizing with Macros 165 Changing Editor Key Bindings 166 Jump to Definition 167 My Company Name 168 Wrapping Up 168 CHAPTER 14 THE BUILD SYSTEM 169 An Overview 171 Working with Targets 174 Working with Schemes 193 Entitlements (Sandboxing) 206 Wrapping Up 208 CHAPTER 15 LIBRARIES, FRAMEWORKS, AND LOADABLE BUNDLES 209 What are Libraries, Frameworks, and Bundles? 211 Using Existing Libraries and Frameworks 214 Creating a Framework 223 Wrapping Up 230 CHAPTER 16 WORKSPACES 231 What Is a Workspace? 233 When to Use a Workspace 235 Creating a Workspace 236 Another Kind of Workspace 243 Wrapping Up 246 CHAPTER 17 DEBUGGING AND ANALYSIS IN DEPTH 247 Using the Clang Static Analyzer 249 Exploring Analyzer Results 251 Threads and Stacks 257 Inspecting Memory 261 Conferring with the Console 265 Viewing Generated Output 273 Debugging Apps for iOS Devices 275 Wrapping Up 284 CHAPTER 18 UNIT TESTING 285 What is Unit Testing? 287 Unit Testing in Xcode 291 Writing a Unit Test 299 Adding Unit Tests to Existing Projects 310 Wrapping Up 312 CHAPTER 19 USING SCRIPTING AND PREPROCESSING 313 Extending Your Workflow with Custom Scripts 315 Using the Preprocessor 328 Wrapping Up 337 CHAPTER 20 USING INSTRUMENTS 339 An Overview of DTrace 341 A Tour of Instruments 342 Using Instruments for Common Tasks 354 Wrapping Up 363 CHAPTER 21 SOURCE CODE MANAGEMENT 365 Xcode Snapshots 367 Using an SCM System 371 Wrapping Up 388 Index 389 A 389 B 389 C 390 D 391 E 392 F 392 G 392 H 393 I 393 J 394 K 394 L 394 M 394 N 395 O 395 P 395 Q 396 R 396 S 396 T 398 U 399 V 399 W 399 X 400 Z 400 APPENDIXES 402 APPENDIX A: MANAGING YOUR iOS DEVICES 403 APPENDIX B: GESTURES AND KEYBOARD SHORTCUTS 417 APPENDIX C: DOCUMENTATION UPDATES 433 APPENDIX D: OTHER RESOURCES 437
دانلود کتاب Mastering Xcode 4 : Develop and Design