While there are several books on programming for Mac OS X, Advanced Mac OS X Programming: The Big Nerd Ranch Guide is the only one that contains explanations of how to leverage the powerful underlying technologies. This book gets down to the real nitty-gritty. The third edition is updated for Mac OS X 10.5 and 10.6 and covers new technologies like DTrace, Instruments, Grand Central Dispatch, blocks, and NSOperation.
Want to learn how to program on your Mac? Not sure where to begin? Best-selling author Wallace Wang will explain how to get started with Cocoa, Objective-C, and Xcode. Whether you are an experienced Windows coder moving to the Mac, or you are completely new to programming, you’ll see how the basic design of a Mac OS X program works, how Objective-C differs from other languages you may have used, and how to use the Xcode development environment. Most importantly, you’ll learn how to use elements of the Cocoa framework to create windows, store data, and respond to users in your own Mac programs. If you want to learn how to develop apps with Cocoa, Objective-C, and Xcode, this book is a great first step. Here are just a few of the things you’ll master along the way: Fundamental programming concepts aided by short, easy-to-understand examples How to use Xcode and related programming tools to save time and work more efficiently A firm understanding of the basics of Objective-C and how it compares to other languages you might know How to create simple apps using the Cocoa framework How to easily design, write, test, and market your finished program With this book and your trusty Mac, you’re well on your way to transforming your Mac app ideas into real applications. What you’ll learn Basic programming concepts illustrated with short, easy-to-understand examples How to use Xcode and related programming tools The basics of Objective-C and how it compares to other languages you might know How to create simple apps using the Cocoa framework Who this book is for Mac users who want to learn programming or Windows developers who are moving to the Mac OS and iOS platforms. No previous programming experience required. Table of Contents Understanding Programming Understanding Apple’s Programming Tools The Basic Steps to Creating a Mac Program Getting Help Learning Objective-C Making Decisions with Branches Repeating Code with Loops Understanding the Cocoa Framework Manipulating Strings Arrays Dictionaries and Sets Creating Classes and Objects Inheritance, Method Overriding, and Events Creating a User Interface Choosing Commands with Buttons Making Choices with Radio Buttons and Check Boxes Making Choices with Pop-Up Buttons Inputting and Outputting Data with Labels, Text Fields, and Combo Boxes Inputting Data with Sliders, Date Pickers, and Steppers Using Built-In Dialog Boxes Creating Pull-Down Menus Designing Your Own Programs Working with Xcode Debugging Your Program
Learn to write apps for some of today's hottest technologies, including the iPhone and iPad (using iOS), as well as the Mac (using OS X). It starts with Objective-C, the base language on which the native iOS software development kit (SDK) and the OS X are based. Learn Objective-C on the Mac: For OS X and iOS, Second Edition updates a best selling book and is an extensive, newly updated guide to Objective-C. Objective-C is a powerful, object-oriented extension of C, making this update the perfect follow-up to Dave Mark’s bestselling Learn C on the Mac. Whether you’re an experienced C programmer or you’re coming from a different language such as C++ or Java, leading Mac experts Scott Knaster and Waqar Malik show how to harness the power of Objective-C in your apps! A complete course on the basics of Objective-C using Apple’s newest Xcode tools An introduction to object-oriented programming Comprehensive coverage of new topics like blocks, GCD, ARC, class extensions, as well as inheritance, composition, object initialization, categories, protocols, memory management, and organizing source files An introduction to building user interfaces using what is called the UIKit A primer for non-C programmers to get off the ground even faster What you’ll learn Learn Objective-C programming, the gateway to programming your iPhone, iPad or Mac Write apps for the iOS and/or OS X interfaces, the cleanest user-interfaces around Understand variables and how to design your own data structures Work with the new Objective-C features now available in this update like blocks, automated reference counting (ARC) and class extensions Work with new tools available like Clang static analyzer and Grand Central Dispatch (GCD) Undertand UIKit and how to build simple user interfaces easily and effectively Explore using the latest Xcode Who this book is for For anyone wanting to learn to program native apps in iOS and/or OS X, including developers new to the iOS-based iPhone and iPad as well as OS X-based Mac computers. This book is for developers new to Objective-C, but who have some programming experience. Table of Contents Hello Extensions to C Introduction to Object-Oriented Programming Inheritance Composition Source File Organization and Using Xcode 4 More About Xcode A Quick Tour of the Foundation Kit Memory Management and ARC Object Initialization Properties Categories Protocols Blocks and Concurrency Introduction to UIKit Introduction to the Application Kit File Loading and Saving Key-Value Coding Using the Static Analyzer NSPredicate Appendix: Coming from Other Languages
Author: Jerry Lee Jr. Ford
Publisher: Cengage Learning
Release Date: 2008
AppleScript is a high-level scripting language that comes free on the Mac platform. This handy scripting language adds functionality to the Mac operating system by automating tasks and adding functions to your Mac. If you are new to programming with Apple
Presents instructions on developing applications for the Mac OS X Lion system, organized into twenty-four lessons, and includes guidelines on building user interfaces and integrating such Apple innovations as the iCloud and in-app purchasing.
It's in magazines and newspapers, it's on television and radio, it's on buses and billboards and pretty much everywhere you look. The iPad is the touchscreen tablet from Apple, representing the next generation of mobile computing. Packed with dozens of new features, the iOS 3.2 SDK enables you to build sophisticated, desktop-quality apps for this exciting new platform. Every iPhone and iPod touch app developer looking to take the next step and move into the iPad arena will want to read this book from cover to cover. Beginning iPad Development for iPhone Developers: Mastering the iPad SDK has all the answers, and you'll find them presented with the same easy-to-follow style and thorough coverage you've come to expect from titles like Beginning iPhone 3 Development—everything an aspiring iPad developer needs to know to create great apps. Best-selling authors Jack Nutting, Dave Wooldridge, and Dave Mark show iPhone developers how to master all of the iPad-exclusive frameworks and features, which are explained, demonstrated in action, and put through their paces in this comprehensive programming guide. You'll get a detailed understanding of the new feature set and gain every possible advantage in the iTunes App Store.
Author: David Mark
Release Date: 2011-08-05
Beginning iPhone 4 Development is here! The authors of the bestselling Beginning iPhone 3 Development are back, with the same excellent material completely updated for iOS 4 and written from the ground up using the latest version of Apple's Xcode 3. All source code has been updated to use the latest Xcode templates and current APIs, and all-new screenshots show Xcode 3 in action. Beginning iPhone 4 Development is a complete course in iOS 4 apps development. You’ll master techniques that work on iPhone, iPad, and iPod touch. We start with the basics, showing you how to download and install the tools you'll need, and how to create your first simple application. Next you’ll learn to integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The confusing art of table building will be demystified, and you’ll learn techniques to save and retrieve your data using SQLite, iPhone’s built-in database management system and Core Data, the standard for persistence that Apple brought to iOS with the release of SDK 3. And there’s much more! You’ll learn to draw using Quartz 2D and OpenGL ES, add multitouch gestural support (pinches and swipes) to your applications, and work with the camera, photo library, accelerometer, and built-in GPS. You’ll discover the fine points of application preferences and learn how to localize your apps for multiple languages. You'll also learn how to use the new concurrency APIs included in iOS 4, and make robust multithreaded applications using Grand Central Dispatch. The iPhone 4 update to the best-selling and most recommended book for Cocoa touch developers Written in an accessible, easy-to-follow style Full of useful tips and techniques to help you become an iOS pro NOTE: For iPhone 4S or iOS 5 apps development, please instead check out the next edition of this book, Beginning iOS 5 Development - now available.
Author: David Mark
Release Date: 2010-03-25
Interested in iPhone development? Want to learn more? Whether you’re a self-taught iPhone development genius or have just made your way through the pages of Beginning iPhone 3 Development, we have the perfect book for you. More iPhone 3 Development: Tackling iPhone SDK 3 digs deeper into Apple’s latest SDK. Best-selling authors Dave Mark and Jeff LaMarche explain concepts as only they can, covering topics like Core Data, peer-to-peer networking using GameKit and network streams, working with data from the web, MapKit, in-application e-mail, and more. All the concepts and APIs are clearly presented with code snippets you can customize and use, as you like, in your own apps. If you are going to write a professional iPhone app, you’ll want to get your arms around Core Data, and there’s no better place to do so than in the pages of this book. The book continues right where Beginning iPhone 3 Development left off with a series of chapters devoted to Core Data, the standard for persistence that Apple introduced to iPhone with SDK 3. Jeff and Dave carefully step through each of the Core Data concepts and show you techniques and tips specifically for writing larger applications—offering a breadth of coverage you won't find anywhere else. The Core Data coverage alone is worth the price of admission. But there's so much more. This book covers a variety of networking mechanisms, from GameKit’s relatively simple BlueTooth peer-to-peer model, to the addition of Bonjour discovery and network streams, through the complexity of accessing files via the web. Dave and Jeff will also take you through coverage of concurrent programming and some advanced techniques for debugging your applications. Whether you are a relative newcomer to iPhone development or an old hand looking to expand your horizons, there’s something for everyone in More iPhone 3 Development. Note: A few of the apps in this book demonstrate technologies not yet supported by the simulator. To run them on your iPhone or iPod touch, you'll need to join one of Apple's paid iPhone developer programs.
Author: David Mark
Release Date: 2010-06-26
The Cocoa frameworks are some of the most powerful frameworks for creating native desktop applications available on any platform today, and Apple gives them away, along with the Xcode development environment, for free! However, for a first-time Mac developer, just firing up Xcode and starting to browse the documentation can be a daunting task. The Objective-C class reference documentation alone would fill thousands of printed pages, not to mention all the other tutorials and guides included with Xcode. Where do you start? Which classes are you going to need to use? How do you use Xcode and the rest of the tools? This book answers these questions and more, helping you find your way through the jungle of classes, tools, and new concepts so that you can get started on the next great Mac OS X application today. Jack Nutting is your guide through this forest; he's lived here for years, and he'll show you which boulder to push, which vine to chop, and which stream to float across in order to make it through. You will learn not only how to use the components of this rich framework, but also which of them fit together, and why. Jack Nutting's approach, combining pragmatic problem-solving with a deep respect for the underlying design philosophies contained within Cocoa, stems from years of experience using these frameworks. He'll show you which parts of your application require you to jump in and code a solution, and which parts are best served by letting Cocoa take you where it wants you to go. The path over what looks like a mountain of components and APIs has never been more thoroughly prepared for your travels. With Jack's guidance, the steep learning curve becomes a pleasurable adventure. There is still much work for the uninitiated, but by the time you're done, you will be well on your way to becoming a Cocoa master.
“Not many books have a single project that lives and evolves through the entire narrative. The reason not many books do this is because it is difficult to do well. Important toolkit features get shoehorned in weird places because the author didn’t do enough up-front design time. This book, though, takes you from design, to a prototype, to the Real Deal. And then it goes further.” —Mark Dalrymple, cofounder of CocoaHeads, the international Mac and iPhone programmer community; author of Advanced Mac OS X Programming: The Big Nerd Ranch Guide Learning iPad Programming, Second Edition, will help you master all facets of iPad programming with Apple’s newest tools. Its in-depth, hands-on coverage fully addresses the entire development process, from installing the iOS SDK through coding, debugging, submitting apps for Apple’s review, and deployment. Extensively updated for Apple’s newest iOS features and Xcode 4.x updates, this book teaches iPad programming through a series of exercises centered on building PhotoWheel, a powerful personal photo library app. As you build PhotoWheel, you’ll gain experience and real-world insights that will help you succeed with any iPad development project. Leading iOS developers Kirby Turner and Tom Harrington introduce the essentials of iOS development, focusing on features that are specific to iPad. You’ll find expert coverage of key topics many iOS development books ignore, from app design to Core Data. You’ll also learn to make the most of crucial iOS and Xcode features, such as Storyboarding and Automatic Reference Counting (ARC), and extend your app with web services and the latest iCloud synching techniques. Learn how to Build a fully functional app that uses Core Data and iCloud synching Use Storyboarding to quickly prototype a functional UI and then extend it with code Create powerful visual effects with Core Animation and Core Image Support AirPrint printing and AirPlay slideshows Build collection views and custom views, and use custom segues to perform custom view transitions Download the free version of PhotoWheel from the App Store today! Import, manage, and share your photos as you learn how to build this powerful app.
Author: Fred Terry
Publisher: John Wiley & Sons
Release Date: 2006-06-27
Aimed at the estimated 300,000 Mac OS X developers who are interested in customizing and creating widgets for their Dashboards, this timely book shows them how to tap into the power of Mac OS X Tiger to create and customize Dashboard widgets The expert author uses program examples and exercises to illustrate the different ways to customize the Dashboard through widget development using simple authoring tools, Internet plug-ins, and text editors Begins with a discussion of the Dashboard concept and configuration and progresses to coverage of advanced functionality Covers tools, protecting code, configuration, properties, bundles, resources, extensions, and much more