Home > Store > Programming > C/C++
Programming in Objective-C 2.0, 2nd Edition
- By Stephen G. Kochan
- Published Dec 29, 2008 by Addison-Wesley Professional. Part of the Developer's Library series.
- Copyright 2009
- Dimensions: 7 X 9
- Pages: 624
- Edition: 2nd
- Book
- ISBN-10: 0-321-56615-7
- ISBN-13: 978-0-321-56615-7
Register your product to gain access to bonus material or receive a coupon.
Product Author Bios
Stephen Kochan is the author and coauthor of several bestselling titles on the C language, including Programming in C (Sams, 2004), Programming in ANSI C (Sams, 1994), and Topics in C Programming (Wiley, 1991), as well as several Unix titles, including Exploring the Unix System (Sams, 1992) and Unix Shell Programming (Sams 2003). He has been programming on Macintosh computers since the introduction of the first Mac in 1984, and he wrote Programming C for the Mac as part of the Apple Press Library. He maintains a web site and support forum for Programming in Objective-C 2.0 at classroomm.com/objective-c
THE #1 BESTSELLING BOOK ON OBJECTIVE-C 2.0
Programming in Objective-C 2.0 provides the new programmer a complete, step-by-step introduction to Objective-C, the primary language used to develop applications for the iPhone, iPad, and Mac OS X platforms.
The book does not assume previous experience with either C or object-oriented programming languages, and it includes many detailed, practical examples of how to put Objective-C to use in your everyday iPhone/iPad or Mac OS X programming tasks.
A powerful yet simple object-oriented programming language that’s based on the C programming language, Objective-C is widely available not only on OS X and the iPhone/iPad platform but across many operating systems that support the gcc compiler, including Linux, Unix, and Windows systems.
The second edition of this book thoroughly covers the latest version of the language, Objective-C 2.0. And it shows not only how to take advantage of the Foundation framework’s rich built-in library of classes but also how to use the iPhone SDK to develop programs designed for the iPhone/iPad platform.
Table of Contents
1 Introduction
Part I: The Objective-C 2.0 Language
2 Programming in Objective-C
3 Classes, Objects, and Methods
4 Data Types and Expressions
5 Program Looping
6 Making Decisions
7 More on Classes
8 Inheritance
9 Polymorphism, Dynamic Typing, and Dynamic Binding
10 More on Variables and Data Types
11 Categories and Protocols
12 The Preprocessor
13 Underlying C Language Features
Part II: The Foundation Framework
14 Introduction to the Foundation Framework
15 Numbers, Strings, and Collections
16 Working with Files
17 Memory Management
18 Copying Objects
19 Archiving
Part III: Cocoa and the iPhone SDK
20 Introduction to Cocoa
21 Writing iPhone Applications
Part IV: Appendixes
A Glossary
B Objective-C 2.0 Language Summary
C Address Book Source Code
Related Articles
Advanced Flow Control for Objective-C
Fun with the Objective-C Runtime
How Programming Forums Help the Learning Process
Objective-C for C++ Programmers, Part 1
Objective-C for C++ Programmers, Part 2
Objective-C for C++ Programmers, Part 3
Steve Kochan on the Evolution of Objective-C
The Dynamic Languages Renaissance
The Technology NeXT Gave the World
Author's Site
For additional corrections, resources, and discussion visit the author's web forum at http://classroomm.com/objective-c/.
|
142 of 148 people found the following review helpful
By
Amazon Verified Purchase(What's this?)
This review is from: Programming in Objective-C 2.0 (2nd Edition) (Paperback)
This book is both comprehensive and easy to understand. The sequence of chapters chosen to be read chronologically is well thought out (e.g. having the reader use static data types before introducing the generic id type, or having the reader declare and implement accessor methods before introducing the property and synthesize directives). The end of chapter exercises are also short (i.e. quick to complete) but also thoughtfully designed.The author chose to make this book serve not only as a reference, but as a tutorial. In other words, a bit like the "... for Dummies" series in its hand-holding (i.e. tutorial) style. However, this book is certainly not for "dummies" as the author does not assume the reader to be slow or requiring interjections of humor or casualness. Other books will have authors write things like "Now grab a slice of pizza before we hit this really hard subject!", but this author thankfully spares the reader of this. Kochan is concise and direct... Read more
58 of 59 people found the following review helpful
By John McSwain "Compound J" (Atlanta, GA) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Programming in Objective-C 2.0 (2nd Edition) (Paperback)
I am a web designer and developer and I've programmed in a lot of languages (i.e. HTML, javascript, actionscript, visual basic, etc.). I wanted to learn Objective-C as the quickly as I could. I quickly found out that not having experience in programming in C (the predecessor to Objective-C) made it hard to understand the reasoning behind the code syntax and finding resources that didn't assume I knew C was almost impossible...After going through the first three chapters of this book in less than an hour, my confidence in the language has increased exponentially. The book is roughly 624 pages, but I feel like I could code the samples and finish the book in just a few days... The book is organized into four main sections: I: The Objective-C 2.0 Language II: The Foundation Framework III: Cocoa and the iPhone SDK IV: Appendixes The separation of these main topics, Objective-C Language features and the Foundation Framework for example,... Read more
83 of 98 people found the following review helpful
By
Amazon Verified Purchase(What's this?)
This review is from: Programming in Objective-C 2.0 (2nd Edition) (Paperback)
Note: Typos have been fixed since the edition I originally purchased. I've kept my original review below, which was influenced by the number of typos and formatting glitches I encountered in the original edition. Now that it's all been rectified, there is NO BETTER BOOK for learning Objective-C 2.0 than this book.*** ORIGINAL REVIEW (noted deficiencies corrected in updated revisions) *** I'd love to recommend this book as the gateway to learning to program Mac OS X applications, but unfortunately I cannot. It contains more than a few typographical errors, especially in the first few chapters. Those new to programming in C may end up confused and unable to understand why their programs will not compile. This is unacceptable for this type of book. Beyond typos, my second gripe is the lack of exercise solutions. This book provides challenging exercises at the end of each chapter that are designed to hone your skills and solidify your understanding... Read more |
› See all 146 customer reviews...
Online Sample Chapter
Write Your First Program in Objective-C
Table of Contents
1 Introduction
Part I: The Objective-C 2.0 Language
2 Programming in Objective-C
3 Classes, Objects, and Methods
4 Data Types and Expressions
5 Program Looping
6 Making Decisions
7 More on Classes
8 Inheritance
9 Polymorphism, Dynamic Typing, and Dynamic Binding
10 More on Variables and Data Types
11 Categories and Protocols
12 The Preprocessor
13 Underlying C Language Features
II: The Foundation Framework
14 Introduction to the Foundation Framework
15 Numbers, Strings, and Collections
16 Working with Files
17 Memory Management
18 Copying Objects
19 Archiving
III: Cocoa and the iPhone SDK
20 Introduction to Cocoa
21 Writing iPhone Applications
IV: Appendixes
A Glossary
B Objective-C 2.0 Language Summary
C Address Book Source Code
D Resources
Sample Pages
Errata
For additional corrections, resources, and discussion visit the author's web forum at http://classroomm.com/objective-c/.
Book
This product currently is not for sale.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.

