Best Objective-C books for beginners to build practical applications
Want to write applications for iOS or the Mac? This introduction to programming and the Objective-C language is the first step on your journey from someone who uses apps to someone who writes them.
Based on Big Nerd Ranch's legendary Objective-C Bootcamp,¿this book covers C, Objective-C, and the common programming idioms that enable developers to make the most of Apple technologies.
This is the only introductory-level book written by Aaron Hillegass, one of the most experienced and authoritative voices in the iOS and Cocoa community.
Compatible with Xcode 4.2, iOS 5, and Mac OS X 10.7 (Lion), this guide features short chapters and engaging style to keep you motivated and moving forward. At the same time, Aaron’s determination that you understand what you’re doing—or at least why you’re doing it—encourages you to think critically as a programmer.
“An excellent resource for a new programmer who wants to learn Objective-C as their first programming language—a woefully underserved market.”—Pat Hughes
Effective Objective-C 2.0 will help you harness all of Objective-C’s expressive power to write OS X or iOS code that works superbly well in production environments. Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Matt Galloway brings together 52 Objective-C best practices, tips, shortcuts, and realistic code examples that are available nowhere else.
What You Will Learn
- Optimizing interactions and relationships between Objective-C objects
- Mastering interface and API design: writing classes that feel “right at home”
- Using protocols and categories to write maintainable, bug-resistant code
- Avoiding memory leaks that can still occur even with Automatic Reference Counting (ARC)
- Writing modular, powerful code with Blocks and Grand Central Dispatch
- Leveraging differences between Objective-C protocols and multiple inheritance in other languages
- Improving code by more effectively using arrays, dictionaries, and sets
- Uncovering surprising power in the Cocoa and Cocoa Touch frameworks
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.
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!
What You Will Learn
- 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
This second book in the series from Kevin McNeish, winner of the 2012 Publishing Innovation Award, highly acclaimed iOS trainer and conference speaker, and award-winning App Developer, is specifically designed to teach non-programmers Objective-C; the language used to create Apps for the iPhone and iPad. Many books designed for the beginning Apple developer assume way too much. In contrast, this book series assumes you know nothing about programming.
Book 2: Flying with Objective-C builds on what you learned in Book 1: Diving In. In the first two chapters, the author helps you understand basic concepts, such as "what is a class?" and "what is an object?" You then learn how to pass messages to objects, and then create your own custom classes.
It seems as if everyone is writing applications for Apple’s iPhone and iPad, but how do they all do it? It’s best to learn Objective-C, the native language of both the iOS and Mac OS X, but where to begin? Right here, even if you’ve never programmed before!
Objective-C for Absolute Beginners will teach you how to write software for your Mac, iPhone, or iPad using Objective-C, an elegant and powerful language with a rich set of developer tools. Using a hands-on approach, you’ll learn to think in programming terms, how to use Objective-C to build program logic, and how to write your own applications and apps.
With over 50 collective years in software development and based on an approach pioneered at Carnegie Mellon University, the authors have developed a remarkably effective approach to learning Objective-C. Since the introduction of Apple’s iPhone, the authors have taught hundreds of absolute beginners how to develop Mac, iPhone,and iPad apps, including many that became popular apps in the iTunes App Store.
Let's say you have a killer app idea for iPhone and iPad. Where do you begin? Head First iPhone and iPad Development will help you get your first application up and running in no time. You'll not only learn how to design for Apple's devices, you'll also master the iPhone SDK tools -- including Interface Builder, Xcode, and Objective-C programming principles -- to make your app stand out.
What You Will Learn
- Install the iPhone OS SDK and get started using Interface Builder and XCode
- Put Objective-C core concepts to work, including message passing, protocols, properties, and memory management
- Take advantage of iPhone OS patterns such as datasources and delegates
- Preview your applications in the Simulator
- Build more complicated interactions that utilize multiple views, data entry/editing, and rotation
- Work with the iPhone's camera, GPS, and accelerometer
- Optimize, test, and distribute your application
Objective-C is an exciting and dynamic approach to C-based object-oriented programming; it's the approach adopted by Apple as the foundation for programming under Mac OS X, a Unix-based operating system gaining wide acceptance among programmers and other technologists.
Objective-C is easy to learn and has a simple elegance that is a welcome breath of fresh air after the abstruse and confusing C++. To help you master the fundamentals of this language, you'll want to keep the Objective-C Pocket Reference close at hand.
This small book contains a wealth of valuable information to speed you over the learning curve.In this pocket reference, author Andrew Duncan provides a quick and concise introduction to Objective-C for the experienced programmer. In addition to covering the essentials of Objective-C syntax, Andrew also covers important faces of the language such as memory management, the Objective-C runtime, dynamic loading, distributed objects, and exception handling.
By providing important details in a succinct, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new Objective-C Pocket Reference is the book you'll want to have.
Get up to speed on Cocoa and Objective-C, and start developing applications on the iOS and OS X platforms. If you don’t have experience with Apple’s developer tools, no problem! From object-oriented programming to storing app data in iCloud, the fourth edition of this book covers everything you need to build apps for the iPhone, iPad, and Mac.
You’ll learn how to work with the Xcode IDE, Objective-C’s Foundation library, and other developer tools such as Event Kit framework and Core Animation. Along the way, you’ll build example projects, including a simple Objective-C application, a custom view, a simple video player application, and an app that displays calendar events for the user.
What You Will Learn
- Learn the application lifecycle on OS X and iOS
- Work with the user-interface system in Cocoa and Cocoa Touch
- Use AV Foundation to display video and audio
- Build apps that let users create, edit, and work with documents
- Store data locally with the file system, or on the network with iCloud
- Display lists or collections of data with table views and collection views
- Interact with the outside world with Core Location and Core Motion
- Use blocks and operation queues for multiprocessing
What You Will Learn
- Improved organization for some chapters
- Incorporation of feedback and suggestions from members of the author's forum for readers, including more detailed descriptions for some of the example
- A new introduction to blocks with examples
- Replacement of deprecated methods with newer methods
- Updated diagrams and steps for using Xcode 4
Pro Objective-C provides an in-depth, comprehensive guide to the language, its runtime, and key API’s. It explains the key concepts of Objective-C in a clear, easy to understand manner, and also provides detailed coverage of its more complex features. In addition, the book includes numerous practical examples--code excerpts and complete applications--that demonstrate how to apply in code what you’re learning.
The book begins with an exploration of Objective-C's basic features and key language elements. After reviewing the basics, it proceeds with an in-depth examination of the Objective-C dynamic programming features and runtime system. Next the book covers the Foundation Framework, the base layer of APIs that can be used for any Objective-C program. Finally, new and advanced features of Objective-C are introduced and shown how they make the Objective-C language even more powerful and expressive.
Objective-C is one of the native programming languages for Apple’s iOS and OS X operating systems. It’s a compiled, general-purpose language capable of building everything from command line utilities to animated GUIs to domain-specific libraries. It also provides many tools for maintaining large, scalable frameworks.
Ry's Objective-C Tutorial serves as both a concise quick-reference and a comprehensive introduction for newcomers to the language. It walks through each language feature step-by-step, explaining complex programming concepts via hands-on examples. By the end of the tutorial, you'll understand basic language constructs, important memory-management techniques, and many of the built-in Objective-C data types like NSNumber, NSArray, and NSDate.
While it is a friendly guide to Objective-C, this tutorial focuses solely on the programming language, rather than on iOS or Mac App development. You won't walk away with the ability to create your own iPad apps, but you will be incredibly prepared to continue down that path. Also be sure to check out Ry's Cocoa Tutorial if you're interested in Mac App development.