Book description
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
- Title Page
- Dedication
- Contents at a glance
- Contents
- Foreword
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Working with This Book
- Chapter 1: Hello
- Chapter 2: Extensions to C
- Chapter 3: Introduction to Object-Oriented Programming
- Chapter 4: Inheritance
- Chapter 5: Composition
- Chapter 6: Source File Organization
- Chapter 7: More About Xcode
- Chapter 8: A Quick Tour of the Foundation Kit
- Chapter 9: Memory Management
- Chapter 10: Object Initialization
- Chapter 11: Properties
- Chapter 12: Categories
- Chapter 13: Protocols
- Chapter 14: Blocks and Concurrency
- Chapter 15: Introduction to UIKit
- Chapter 16: Introduction to the Application Kit
- Chapter 17: File Loading and Saving
- Chapter 18: Key-Value Coding
- Chapter 19: Using the Static Analyzer
- Chapter 20: NSPredicate
- Appendix A: Coming to Objective-C from Other Languages
- Index
Product information
- Title: Learn Objective-C on the Mac: For OS X and iOS, Second Edition
- Author(s):
- Release date: June 2012
- Publisher(s): Apress
- ISBN: 9781430241881
You might also like
book
Learn Cocoa on the Mac, Second Edition
The Cocoa frameworks are some of the most powerful for creating native OS X apps available …
book
Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers, Second Edition
Get Started Fast with Objective-C 2.0 Programming for OS X Mountain Lion, iOS 5.1, and Beyond …
book
Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy
Learn Objective-C and its latest release, and learn how to mix Swift with it. You have …
book
Learning Objective-C 2.0: A Hands-On Guide to Objective-C for Mac and iOS Developers
Get Started Fast with Objective-C 2.0 Programming for OS X, iPhone, iPod touch, and iPad If …