Xcode 4 Unleashed


Book Description

In Xcode 4 Unleashed, renowned Mac/iOS developer Fritz Anderson shows how to use Apple’s powerful new Xcode 4 integrated development environment to develop outstanding software with the least effort possible. Anderson demonstrates Xcode 4 by walking through the construction of three full applications: a command-line tool, an iOS app, and a Mac OS X application. These case-study projects offer practical insights and realistic best practices for efficiently utilizing Xcode 4 in day-to-day development. Next, he drills down to offer an even deeper understanding of Xcode 4’s most powerful capabilities. Through practical examples, he shows experienced Apple developers how to move to Xcode 4’s “browser” model from older document-based approaches. You’ll also find thorough, up-to-the-minute coverage of key tasks ranging from builds and profiling to documentation. He concludes with a chapter-length roundup of “tips, traps, and features” for maximizing your productivity with Xcode 4—whether you’re writing iOS apps or Mac applications, working solo, or as part of a large development team. Detailed information on how to… Get started fast with Xcode 4 project workflow Master Xcode 4’s new features and development paradigms Construct modern iOS and Mac user interfaces with Interface Builder Implement Model-View-Controller designs in iOS apps Use Storyboard to specify an iOS app’s entire structure in one file Leverage Xcode’s first-class unit testing and measurement tools Master the essentials of iOS provisioning Use Mac OS X bindings to simplify the link between data and screen Quickly localize Mac and iOS software for new languages and markets Package and share subprograms that can be integrated into any OS X application Use the Xcode Build System to move from source files to executable products Fully understand and optimize performance and resource usage Register your copy today at informit.com/register to download a free 90+ page guide to 4.4 & 4.5 feature changes




Learning IOS Development


Book Description

This book offers the perfect hands-on introduction to iOS development, covering everything your students need to know about Objective-C, XCode, and modern iOS user interface development. With sample projects and end-of-chapter exercises, this book is ideal for classroom instruction. The authors get started fast with Objective-C, covering basic syntax, memory management, Foundation Classes, development paradigms, blocks, threads, and more. Next, they show how to use XCode and related tools to build projects, instrument and efficiently debug code, and deploy apps. In the next part, hey turn to interfaces, covering design, content construction, View Controllers, Views, Animations, Touch, Table Views, and even a taste of Core Data.




iOS 4 Developer's Cookbook, The: Core Concepts and Essential Recipes for iOS Programmers


Book Description

Want to get started building applications for iPhone or iPad with Apple's newest iOS 4 development tools? Erica Sadun's The iOS 4 Developer's Cookbook brings together all the expert guidance and proven code you'll need. Completely updated through iOS 4.3, it covers the tools (Xcode 4 and Interface Builder), the language (Objective-C 2.0), and all elements common to typical iOS apps. Sadun presents single-task recipes for common iOS development tasks, including designing and organizing effective user interfaces, responding to users, supporting gestures and multitouch, working with images, accessing local data with Core Data, managing table views, and connecting to the Internet. You get cut-and-paste convenience: freely reuse any of her source code in your own applications and tweak as needed--everything's fully documented to make it easy. Each chapter groups related tasks together, so you can jump straight to your solution, without having to identify the right class or framework first. You'll find everything you need to jumpstart any iOS 4 project--and create high-value apps fast!




Xcode 3 Unleashed


Book Description

Apple's new Xcode 3 is the most powerful Mac development suite ever created. In Xcode 3 Unleashed, renowned Mac developer Fritz Anderson has written the definitive guide to making the most of Xcode 3 to build any Macintosh or iPhone application. Anderson leads you through a simple project that covers the entire Xcode 3.x development lifecycle. You'll walk through building and debugging command-line tools, creating Mac OS X user interfaces, modeling data, localizing languages, compiling applications, and much more. Along the way, he introduces each of Apple's remarkable development tools from the latest version of Interface Builder to Instruments a powerful new tool for analyzing and optimizing your code. Anderson shows how to manage your source code in any environment, whether you're working solo or participating in a worldwide team. He thoroughly illuminates Xcode 3's build system and shows how to make the most of Apple's performance tools, led by the deep and powerful Shark statistical profiler. Systematically updated for Xcode 3.x, this is a comprehensive revision of Anderson's previous bestseller, Step into Xcode. Its breadth, depth, and practical focus will make it indispensable to every Mac developer: experienced programmers upgrading from Xcode 2 or migrating from CodeWarrior; UNIX/Linux programmers moving to Mac OS X; even new programmers. Detailed information on how to... Succeed with every stage of the Mac OS X application lifecycle Make the most of Xcode 3's core tools for editing, debugging, testing, and compilation Get the most from new improvements to Interface Builder Create robust applications using the Model-View-Controller paradigm Utilize dynamic libraries and frameworks Build Universal Binaries to run on both Intel and PowerPC Macs Add Spotlight searchability to data files Profile memory, I/O, graphics, and threading in real-time Accelerate both your applications and your development processes Leverage new improvements to the Xcode documentation system Avoid header ambiguity, disappearing links, and other Xcode development pitfalls Introduction 1 Part I: The Life Cycle of a Mac OS X Application Chapter 1: Kicking the Tires 11 Chapter 2: Simple Workflow and Passive Debugging 19 Chapter 3: Simple Active Debugging 29 Chapter 4: Compilation: The Basics 39 Chapter 5: Starting a Cocoa Application 47 Chapter 6: A Cocoa Application: Views 63 Chapter 7: A Cocoa Application: Controllers 75 Chapter 8: Version Control 93 Chapter 9: Property Lists 117 Chapter 10: Libraries and Dependent Targets 141 Chapter 11: File Packages and Bundles 153 Chapter 12: Unit Testing 167 Chapter 13: Creating a Custom View 181 Chapter 14: Dynamic Libraries and Frameworks 203 Chapter 15: Documentation in Xcode 221 Chapter 16: Using the Data Modeling Tools 243 Chapter 17: Cross-Development 267 Chapter 18: Spotlight (or, How to Build a Plug-in) 281 Chapter 19: Finishing Touches 301 Part II: Xcode Tasks Chapter 20: Navigating an Xcode Project 331 Chapter 21: Xcode for make Veterans 353 Chapter 22: More About Debugging 373 Chapter 23: Xcode and Speed 395 Chapter 24: A Legacy Project 403 Chapter 25: Shark and the CHUD Tools 421 Chapter 26: Instruments 437 Chapter 27: Closing Snippets 461 Appendices Appendix A: Some Build Variables 475 Appendix B: Project and Target Templates 485 Appendix C: Other Resources 501 Index 507




Xcode 4


Book Description

Everything you need to know to design, code, and build amazing apps Xcode 4 is Apple’s newest version of the popular development suite for creating bleeding-edge OS X and iOS apps. Written by an experienced developer and Apple-focused journalist, this book not only covers developing for OS X but also for the entire family of iOS devices, including the iPhone, iPad, and iPod touch. You’ll explore the newest tools for compiling, debugging, and finding and fixing common code errors so that you can look forward to improved, smooth-running code that is developed more efficiently than ever. Takes you step-by-step through the process of developing OS X and iOS applications using Xcode 4 Examines the benefits of Xcode 4, Apple’s updated, free, object oriented programming environment Helps you tame the complex Xcode environment so you can develop amazing apps This book gets you up to speed on all the remarkable new features and redesigned user interface of Xcode 4 so you can get started creating phenomenal apps today.




The iOS 5 Developer's Cookbook


Book Description

This title contains the standard edition of The iOS 5 Developer’s Cookbook PLUS nine additional chapters on advance content. If you already have the eBook edition of The iOS 5 Developer’s Cookbook, you can purchase The iOS 5 Developer’s Cookbook: The Additional Recipes (ISBN: 9780133028393), which only contains the extra chapters, at a low cost. In this expanded ebook, best-selling author and iOS development guru Erica Sadun brings together all the information you need to quickly start building successful iOS apps for iPhone, iPad, and iPod touch. Sadun has thoroughly revised her best-selling book to focus on powerful new iOS 5 features, APIs, and frameworks, the latest version of Objective-C, and Apple’s breakthrough Xcode 4 toolset. The iOS 5 Developer's Cookbook: Expanded Electronic Edition is packed with ready-made code solutions for the iOS 5 development challenges you’re most likely to face, eliminating trial-and-error and helping you build reliable apps from the very beginning. Sadun teaches each new concept and technique through robust code that is easy to reuse and extend. This isn't just cut-and-paste: Using her examples, Sadun fully explains both the “how” and “why” of effective iOS 5 development. Her tested recipes address virtually every major area of iOS development, from user interface design to view controllers, gestures, and touch to networking and security. This expanded ebook edition adds chapters on documents and data sharing; the Address Book; iCloud; Core Location and MapKit; Audio, Video, and MediaKit; Push Notifications; Accessibility; In-app purchasing with StoreKit; and GameKit. Whatever your iOS development experience, it will give you all the expert answers and reliable code you’ll need to jumpstart any iOS 5 project!




The Advanced iOS 6 Developer's Cookbook


Book Description

The Advanced iOS 6 Developer’s Cookbook brings together reliable, proven solutions for cutting-edge iOS 6 development. World-renowned iOS expert Erica Sadun covers device-specific development, document/data sharing, Core Text, networking, image processing, onboard cameras, audio, Address Book, Core Location, GameKit,StoreKit, push notifications, and more. As in her previous bestselling iOS books, Sadun translates today’s development best practices into working code, distilling key concepts into concise recipes that are easy to understand and transfer into your own projects. This isn’t just cut and paste. Using her examples, Sadun fully explains both the “how” and “why” of advanced and specialized iOS 6 development. All code is tested with iOS 6 features and iPhone, iPad, and iPod touch capabilities. Throughout, every chapter groups related tasks together, so you can jump straight to your solution without having to identify the right class or framework first. Coverage includes Testing device properties so your app can take full advantage of the iOS unit it’s running on Seamlessly sharing documents and data across apps and moving control between apps Presenting exceptionally attractive text with freeform text typesetting Building touch-based apps that leverage Bezier curves, splines, and other geometric tools Securing network apps via authentication, system keychains, and OAuth Accessing and processing image data to create special effects Integrating live camera feeds and user snapshots Presenting audio to users and enabling them to interact with it Effectively using Address Book frameworks and GUI classes Building advanced location apps with Core Location geopositioning and MapKit Creating connected game play with GameKit/Game Center: device-to-device networking, shared leaderboards, and Internet-based matches Integrating secure in-app purchasing with StoreKit Communicating with users from web-based services via push notifications




Sams Teach Yourself Xcode 4 in 24 Hours


Book Description

A practical guide to using Xcode 4.3+ development environment for OS X and iOS devices, with step-by-step instructions for the most common development tasks, and end of chapter quizzes.




Xcode 4 IOS Development


Book Description

This step-by-step book guides you through the process of creating awesome iPhone apps using Xcode 4. As a beginner's guide, it focuses on getting you through all the major learning points in a smooth, logical order while showing you how to avoid some common pitfalls. If you want to learn how to build iPhone applications that compete with the rest and make your mark within the iPhone industry, this book is for you. You should have some basic programming experience with Objective-C, and a good understanding of OOP, as well as some knowledge of database design. No knowledge of Xcode 4 is required.