O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming in Objective-C 2.0 LiveLessons, Part I: Language Fundamentals and Part II: iPhone Programming and the Foundation Framework

Video Description

Programming in Objective-C 2.0 LiveLessonsis the world’s first complete video training course on the basics of Objective-C, the programming language at the heart of Mac OS X and iPhone and iPad application development.

Bestselling author and trainer Stephen G. Kochan provides the new programmer with a step-by-step, hands-on introduction to the Objective-C language and the fundamentals of object-oriented programming.

The course does not assume any previous programming experience and includes many detailed, practical examples of how to put Objective-C to use in everyday programming tasks for the Mac OS X or iPhone and iPad platforms.

Stephen G. Kochan is author of the bestselling book Programming in Objective-C 2.0and author or co-author of several bestselling books on the C language, including Programming in C, Programming in ANSI C, and Topics in C Programming. He has been programming Macintosh computers since the introduction of the first Mac in 1984, and he wrote Programming C for the Mac.

Part I: Language Fundamentals

1: Getting Started in Objective-C [00:14:00]

2: Classes, Objects, and Methods [00:43:03]

3: Data Types and Expressions [00:41:00]

4: Loops [00:23:19]

5: Making Decisions [00:37:20]

6: More On Classes [00:43:36]

7: Inheritance [00:45:48]

8: Polymorphism, Dynamic Typing, and Dynamic Binding [00:23:12]

9: More on Variables and Data Types [00:29:10]

10: Categories and Protocols [00:39:25]

11: The Preprocessor [00:37.24]

12: Underlying C Language Features [01:43:03]

Part II: iPhone Programming and the Foundation Framework

1: Introduction to the Foundation Framework [00:08:31]

2: Numbers and Strings [00:37:24]

3: Collections [01:26:56]

4: Working with Files [00:52:07]

5: Memory Management [00:40:13]

6: Copying Objects [00:35:58]

7: Archiving Objects [00:27:38]

8: Introduction to iPhone OS Programming for the iPhone, iPod touch and iPad [00:34:46]

9: Writing an iPhone OS Fraction Calculator [00:36:45]

Table of Contents

  1. Introduction to Objective-C Part 1
    1. Introduction to Objective-C Part 1 00:02:12
  2. Lesson 1 Getting Started in Objective-C
    1. Learning Objectives 00:00:45
    2. What is Objective-C? 00:01:52
    3. Your First Program 00:06:13
    4. Steps for Using Xcode 00:06:37
  3. Lesson 2 Classes, Objects, and Methods
    1. Learning Objectives 00:00:55
    2. What is a Class, Object, or Method? 00:06:03
    3. Defining a Class to Work with Fractions 00:30:55
    4. Accessing Instance Variables 00:11:04
  4. Lesson 3 Data Types and Expressions
    1. Basic Data Types 00:11:34
    2. Arithmetic Expressions 00:15:58
    3. Defining a Calculator Class 00:13:39
  5. Lesson 4 Loops
    1. The for statement 00:10:02
    2. The while statement 00:03:34
    3. The do statement 00:03:19
    4. Review 00:06:29
  6. Lesson 5 Making Decisions
    1. Learning Objectives 00:00:40
    2. The if Statement 00:22:29
    3. The switch Statement 00:06:59
    4. The Conditional Operator and Boolean Variables 00:07:53
  7. Lesson 6 More On Classes
    1. Learning Objectives 00:01:03
    2. Properties, Synthesized Accessor Methods, and the dot Operator 00:12:14
    3. Multiple Method Arguments 00:05:06
    4. Passing Objects as Arguments 00:06:54
    5. Local Variables; The self Keyword 00:10:15
    6. Allocating and Returning Objects in Methods 00:09:39
  8. Lesson 7 Inheritance
    1. Learning Objectives 00:00:39
    2. Inheriting Methods and Instance Variables 00:16:11
    3. Subclasses: Extension through Inheritance 00:08:06
    4. Classes Owning Their Own Objects; Overriding Methods 00:21:34
  9. Lesson 8 Polymorphism, Dynamic Typing and Dynamic Binding
    1. Learning Objectives 00:00:47
    2. Polymorphism; Static Typing 00:10:02
    3. Dynamic Typing and Dynamic Binding 00:13:10
  10. Lesson 9 More On Variables and Data Types
    1. Learning Objectives 00:00:44
    2. Writing Initialization Methods 00:18:13
    3. Global Variables 00:10:58
  11. Lesson 10 Categories and Protocols
    1. Learning Objectives 00:00:42
    2. Categories 00:18:09
    3. Protocols 00:21:05
  12. Lesson 11 The Preprocessor
    1. Learning Objectives 00:00:36
    2. The #define Statement 00:11:52
    3. Writing Macros 00:12:43
    4. Conditional Compilation 00:08:30
    5. Review 00:04:25
  13. Lesson 12 Underlying C Language Features
    1. Learning Objectives 00:00:54
    2. Arrays 00:10:19
    3. Functions 00:17:54
    4. Structures 00:25:37
    5. Pointers 00:37:39
    6. Other Topics and Summary 00:11:44
  14. Introduction to Objective-C Part 2
    1. Introduction to Objective-C Part 2 00:01:38
  15. Lesson 1: Introduction to the Foundation Framework
    1. Learning Objectives 00:00:32
    2. Introduction to the Foundation Framework 00:07:17
  16. Lesson 2: Numbers and Strings
    1. Learning Objectives 00:00:40
    2. Number Objects 00:18:48
    3. String Objects 00:45:53
  17. Lesson 3: Collections: Arrays, Dictionaries and Sets
    1. Learning Objectives 00:00:44
    2. Array Objects 00:23:04
    3. Array Objects: An AddressBook Example 00:44:39
    4. Dictionary Objects 00:14:37
    5. Sets 00:03:47
  18. Lesson 4: Working with Files
    1. Learning Objectives 00:00:49
    2. NSFileManager and NSFileHandle 00:22:28
    3. Using NSData to Copy a File 00:03:24
    4. Working with Directories 00:06:21
    5. Enumerating a Directory 00:06:23
    6. Working with Paths 00:09:13
    7. Working with URLs 00:04:24
  19. Lesson 5: Understanding Memory Management
    1. Learning Objectives 00:00:39
    2. Garbage Collection 00:27:11
    3. Autorelease Pool 00:03:05
    4. Manual Memory Management 00:04:04
    5. Memory Management Rules 00:05:52
  20. Lesson 6: Copying Objects
    1. Learning Objectives 00:00:33
    2. Copying Objects: Fraction Class Example 00:25:19
    3. Copying Objects: Summary and Review 00:09:39
  21. Lesson 7: Archiving Objects
    1. Learning Objectives 00:00:38
    2. Archiving with Property Lists 00:08:46
    3. Archiving with Keyed Archives 00:17:53
  22. Lesson 8: Introduction to iPhone/iPod Touch Programming
    1. Learning Objectives 00:00:42
    2. Cocoa and Cocoa Touch 00:02:40
    3. The iPhone SDK 00:03:44
    4. Your First iPhone Application 00:01:19
    5. Creating a Simple iPhone App 00:19:35
    6. Review: How it Was Done 00:06:28
  23. Lesson 9: Writing An iPhone Fraction Calculator
    1. Learning Objectives 00:00:44
    2. How the Finished Fraction Calculator App Works 00:02:49
    3. Setting Up a View-Based Application Project 00:16:34
    4. The View Controller Class and Operation of the Calculator 00:24:48
    5. Adding an Icon to the App 00:01:41
    6. Working with the Demo App 00:02:20