Learn Objective-C for Java Developers
- 8h 21m
- James Bucanek
- Apress
- 2009
Learn Objective-C for Java Developers will guide experienced Java developers into the world of Objective-C. It will show them how to take their existing language knowledge and design patterns and transfer that experience to Objective-C and the Cocoa runtime library. This is the express train to productivity for every Java developer who dreamt of developing for Mac OS X or iPhone, but felt that Objective-C was too intimidating. So hop on and enjoy the ride!
- Provides a translation service that turns Java problem-solving skills into Objective-C solutions
- Allows Java developers to leverage their existing experience and quickly launch themselves into a new domain
- Takes the risk out of learning Objective-C
What you'll learn
- Apply Java experience to Objective-C and Cocoa
- Use elegant alternatives that increase productivity
- Maximize the powerfully unique constructs of Objective-C, like class clusters
- Think like an object-oriented C programmer to create more reusable code
- Use all of the things in Java and Objective-C that are actually quite similar, like MVC design patterns
- Learn how to do all of it within Apple's powerful Xcode programming environment using Cocoa frameworks
About the Author
James Bucanek is a professional software engineer, with over 25 years of experience in software and systems development. He is the author of Beginning Xcode and the holder of a network patent. Having made the transition to Mac OS X many years ago, he has never looked back.
In this Book
-
Introduction
-
Java and C: Key Differences
-
Welcome to Objective-C
-
Creating an Xcode Project
-
Exploring Protocols and Categories
-
Sending Messages
-
Making Friends with Nil
-
Strings and Primitive Values
-
Garbage Collection
-
Introspection
-
Files
-
Serialization
-
Communicating Near and Far
-
Exception Handling
-
Threads
-
Collection Patterns
-
Delegation Pattern
-
Provider/Subscriber Pattern
-
Observer Pattern
-
Model-View-Controller Pattern
-
Lazy Initialization Pattern
-
Factory Pattern
-
Singleton Pattern
-
Memory Management
-
Mixing C and Objective-C
-
Runtime