Programming in Objective-C 2.0 (Developer's Library Series) [NOOK Book]

Overview

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 ...

See more details below
Programming in Objective-C 2.0 (Developer's Library Series)

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

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

D Resources


Read More Show Less

Product Details

  • ISBN-13: 9780321605542
  • Publisher: Pearson Education
  • Publication date: 1/12/2009
  • Series: Developer's Library
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 624
  • Sales rank: 1,227,146
  • File size: 7 MB

Meet the Author

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
Read More Show Less

Read an Excerpt

Programming in Objective-C 2.0

1 Introduction
Part I: The Object-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 Tying Up Some Loose Ends
12 The Preprocessor
13 Underlying C Language Features
Part II: The Foundation Framework
14 Introduction to the Foundation
15 Numbers, Strings, and Collections
16 Working with the File System
17 Copying Objects
18 Memory Management
19 Archiving
Part III: Cocoa Programming and the iPhone SDK
20 Introduction to Cocoa Programming
21 The iPhone SDK
Part IV: Appendixes
A Glossary B Objective-C Language Summary C Foundation Framework Headers D Fraction and Address Book Examples E Resources

Read More Show Less

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

Read More Show Less

Customer Reviews

Average Rating 4
( 38 )
Rating Distribution

5 Star

(16)

4 Star

(10)

3 Star

(6)

2 Star

(6)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
See All Sort by: Showing 1 – 20 of 38 Customer Reviews
  • Anonymous

    Posted March 9, 2009

    I Also Recommend:

    Was a good, easy to read book

    I have also purchased Beginning iPhone Development: Exploring the iPhone SDK
    by Dave Mark, Jeff LaMarche which began me on my iPhone development road but when I realized that I needed a bit more C knowledge I purchased this book and it has satisfied my needs. It is definitely for beginners but I believe professionals might be able to get some good information out of it too. I am just a beginner, new to C and xcode and this book helped me get to know both of these a lot better. I would highly recommend this to anyone looking into iPhone development or xcode development.

    5 out of 5 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted June 6, 2009

    more from this reviewer

    I Also Recommend:

    A detailed, yet clear way of mastering objective-C!

    I Started reading the book right from the first page. It was really clear and detailed. Great way of building the principles step by step. You can be a real professional wit objective-C if you would do all the exercises in the book.
    One recommendation to mention though: TAKE NOTES WHILE YOU ARE GOING THROUGH IT, so that you can link ideas together.

    3 out of 3 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted January 27, 2009

    VERY VERY HIGHLY RECOMMENDED!!

    Do you know how to program in Objective-C 2.0? If you don't, then this book is for you! Author by Stephen G. Kochan, has done an outstanding job of writing a book that texhes Objective-C by example.<BR/><BR/><BR/>Author Kochan, begins by showing you how to write your first program in Objective-C. Then, the author covers the fundamentals of object-oriented programming. Next, he describes the basic Objective-C data types and how to use them in your programs. The author also introduces you to the three looping statements you can use in your programs: for, while and do. He continues by covering the Objective-C language's if and switch statements in detail. Then, the author delves more deeply into working with classes and objects. Next, he introduces the key concept of inheritance. The author also discusses three fundamental characteristics of the Objective-C language. He continues by rounding out the discussion on the Objective-C language by covering such issues as initialization of objects, protocols, categories, the preprocessor, and some of the underlying C features, including functions, arrays, structures, and pointers. Then, the author gives an introduction to the Foundation framework and how to access its documentation. Next, he covers the important features of the Foundation framework. He also gives you an overview of the Application Kit that provides the classes you need to develop sophisticated graphical applications on the MAC. Finally, the author illustrates a step-by-step approach to writing a simple iPhone application, followed by a calculator application that enables you to use your iPhone to perform simple arithmetic calculations with fractions.<BR/><BR/><BR/>This most excellent book teaches you the essentials of the Objective-C 2.0 language. Perhaps more importantly, this great book teaches you how to use the rich assortment of predefined classes that form the Foundation framework.

    3 out of 3 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 20, 2009

    Good intro, but faults

    It is a good intro. However it would be great if the author did not dismiss advanced topics as `too advanced'. He could at least put a clarifying example to what the advanced topic does instead of insulting the reader's intelligence.

    2 out of 2 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted March 27, 2010

    Great read for anyone with no experience

    This book is like a Rosetta Stone for folks that have never programed before. So many try to assume some experience in the field with C but Steve does not and instead gets you comfortable with the world of programming before he gets into the C it is based on.

    My only grip would be that Chapter 4 came a little later in the book and included the tables you need to under stand how they are building things like shifts. If you don't get it just skip it our visit Steve's site classroomm.com for further clarification.

    Otherwise this is a great book that really helped me to understand object oriented programming from the ground up. I have always been one of those folks that likes to have everything explained to him and Steve does a great job of that and if you have a question he actually answers you from his website!!! It really does not get much better then that.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 29, 2009

    Excellent!

    If you're new to programming or have a minor background in programming, this book is for you.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted June 7, 2013

    I have to say that I haven't read too many books on the subject

    I have to say that I haven't read too many books on the subject but I have read a lot of programming books before, and none match the simplicity that this book offer. Highly recommended for Objective-C learners but beware, as of Xcode 4.6, which is what I'm using, the examples in the Cocoa are outdated and you will have a hard time figuring out how to adapt them. I am considering getting another book precisely because of this, maybe even from the same author, since he has Programming in Objective-C Fifth edition. But for pure Objective-C development this book is a must.

    Was this review helpful? Yes  No   Report this review
  • Posted September 12, 2011

    Text is outdated

    If you are looking for a concise and direct path, as was I, to creating Cocoa programs for the Mac and iOS apps for the iPad/iPhone, this is not the correct book. Following the examples, you will be only writing console apps until the last chapter. Only there will you get a brief intro to Cocoa with no instruction and very limited instruction in iPhone programming. I suspect this was published before the appearance of the iPad. Entering the examples in XCode 4, many functions were labeled by XCode as deprecated. This book is in dire need of an update.

    Was this review helpful? Yes  No   Report this review
  • Posted March 8, 2011

    The closest equivalent to K&R for Objective-C

    Now, strictly speaking, the original definitive book on Objective C is Brad Cox's book, but it's vastly outdated, based on the original ICpak API and not the standard-since-1995 FoundationKit. But Cox doesn't have much to do with his baby these days, and Apple's ebooks on the language, while required reading, tend only to define the language in terms of its extensions to C. There are other books, but this one seems to be the closest thing available to a cross-platform Objective C book. (Kochan did make a deliberate choice for the second edition to focus on Xcode 3 as the development environment, but GNUSTEP's ProjectCenter is just similar enough that translating between the two is easier than you'd think.)

    I might have brought in the FoundationKit earlier; it's the de facto standard library for Objective-C, and as Bjarne Stroustrup has pointed out, standard libraries are there to be used. I'm also a bit mystified at the choice of iOS rather than Mac OS X as the host OS for the Fraction Calculator project in the GUI section of the book; the only thing that comes to mind is that an iOS app is likely to be somewhat easier to wire up and has a wider market, but at the same time Cocoa Touch has no direct equivalent on GNUSTEP or Cocotron. I can see both sides on this one, but I still think desktop Cocoa would have been a better choice.

    Overall, though, this is probably the first book to buy. You'll want to supplement it with the OPENSTEP spec or the Apple Foundation and AppKit documentation, but with the exception of the blocks construct introduced in Snow Leopard, this book tells you pretty much everything you need to get started. Now, knowing that the third edition is coming out in a couple of months, should you wait? I'd say probably not. The addition of blocks is theoretically a big deal, but you can pick the basics up from the Apple docs.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 2, 2009

    No text was provided for this review.

  • Anonymous

    Posted March 4, 2009

    No text was provided for this review.

  • Anonymous

    Posted May 19, 2009

    No text was provided for this review.

  • Anonymous

    Posted June 13, 2010

    No text was provided for this review.

  • Anonymous

    Posted June 12, 2011

    No text was provided for this review.

  • Anonymous

    Posted May 11, 2011

    No text was provided for this review.

  • Anonymous

    Posted March 6, 2010

    No text was provided for this review.

  • Anonymous

    Posted June 28, 2011

    No text was provided for this review.

  • Anonymous

    Posted July 12, 2011

    No text was provided for this review.

  • Anonymous

    Posted June 20, 2011

    No text was provided for this review.

  • Anonymous

    Posted August 22, 2010

    No text was provided for this review.

See All Sort by: Showing 1 – 20 of 38 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)