Learn Objective-C for Java Developers

Front Cover
Apress, Nov 18, 2009 - Computers - 520 pages

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 has dreamed 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
 

Contents

for Java Developers
3
Java and C Key Differences
11
Chapter
15
Programming Patterns Chapter
16
Chapter
17
Chapter
18
Chapter
19
Chapter
20
Serialization
185
ObjectiveC Serialization
203
Summary
210
Communicating Near and Far
211
Distributed to the book trade worldwide by SpringerVerlag New York Inc 233 Spring Street
218
Networking
231
Exception Handling
239
Threads
257

Chapter
21
Chapter
22
Chapter
23
Welcome to ObjectiveC
27
Overriding Properties
40
Constructing Objects
47
Destructors
53
introspection Each chapter presents sidebyside examples of Java code and the equivalent code
54
Getting Down to Business
68
Exploring Protocols and Categories
75
Sending Messages
87
ObjectOriented Method Invocation
94
Making Friends with nil
103
PART2 Translating Technologies
117
Summary
134
Garbage Collection
135
GCvs NonGC Pointers
142
Introspection
147
Files
163
Requesting a File from the User
171
Programming Patterns
284
Collection Patterns
287
Delegation Pattern
315
ProviderSubscriber Pattern
325
Notification Centers
329
Observer Pattern
339
Optimizing KeyValue Observing
352
ModelViewController Pattern
353
Interface Builder
360
Document Model
384
Controllers
399
LazyInitialization Pattern
403
Factory Pattern
411
Summary
428
Singleton Pattern
429
Advanced ObjectiveC
435
and ObjectiveC
457
Runtime
465
Index
477
Copyright

Other editions - View all

Common terms and phrases

About the author (2009)

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.

Bibliographic information