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

Learning Objective-C Programming

Video Description

In this Learning Objective-C Programming training course, expert author Jesse Feiler will teach you how to build an iOS or OS X app using Objective-C and Xcode. This course is designed for those who have some programming knowledge, although no experience with Objective-C is required.
You will start by learning how to work with Xcode, including how to edit code, use the utility area, find and search, and track changes. From there, Jesse will teach you about Objective-C and how to communicate with messages. This video tutorial will also teach you how to add and customize your own code, create new classes and methods, and manage declared properties. You will also learn how to work with the built-in debugger, as well as use protocols and delegates, work with class extensions, and use blocks. Finally, you will learn how to handle exceptions and use selectors.
Once you have completed this computer based training course, you will be fully capable of building your own app from an Xcode template, and be able to customize it to your own preferences.

Table of Contents

  1. Introduction
    1. Welcome To Objective-C 00:05:36
    2. Catching Up With Versions 00:05:42
  2. Working With Xcode
    1. Getting Started With Xcode 00:06:28
    2. Introducing The Workspace Window 00:08:24
    3. Exploring The Navigation Area 00:05:36
    4. Using The Utilities Area - The Library 00:05:57
    5. Using The Utilities Area - The Inspectors 00:04:44
    6. Editing Code - The Basics 00:04:37
    7. Editing Code - Advanced Features 00:05:46
    8. Finding And Searching 00:06:16
    9. Using The Jump Bar 00:06:07
    10. Working With The Assistant 00:04:57
    11. Tracking Changes With Xcode 00:08:05
    12. Working With Branches 00:07:01
    13. Setting Preferences 00:05:39
  3. Understanding Objective-C
    1. The Objective-C Goal - C With Objects 00:04:33
    2. Exploring The Class Hierarchy 00:05:41
    3. Sending Messages 00:04:47
    4. Definitions And Declarations 00:07:04
  4. Looking At The Structure Of An Objective-C App - The Code Story
    1. Building MDA App 00:07:46
    2. How Main Works 00:04:59
    3. Exploring The Interface Of The Class 00:05:40
    4. Exploring The Implementation Of The Class 00:05:06
    5. Using @class And #import Directives 00:05:32
    6. Creating A Class 00:06:13
    7. Using The Class 00:06:57
    8. Setting A Breakpoint On The Declaration 00:04:01
    9. Creating The Class Instance 00:05:02
  5. Using Declared Properties
    1. Using Declared Properties Today 00:04:59
    2. Adding Attributes To Properties 00:04:27
    3. Synthesizing Properties Directly And Automatically 00:06:07
    4. Fine-Tuning Declared Properties With Getters And Setters 00:04:16
  6. Managing Memory
    1. Considering Qualifiers And Decorators 00:05:22
    2. Understanding The Need For Memory Management 00:05:12
    3. Automatic Reference Counting - ARC 00:05:31
  7. Creating A Class
    1. Letting Xcode Do The Work 00:06:02
    2. Testing The App 00:05:25
    3. Building The Interface - Part 1 00:06:13
    4. Building The Interface - Part 2 00:04:43
    5. Wiring Up The Interface 00:05:39
    6. Aligning Interface Views - Text Field 00:04:33
    7. Sizing Interface Views - Text Field 00:05:06
    8. Wiring Up The Text Field 00:03:05
    9. Wiring Up The Button 00:05:06
    10. Implementing The Action 00:04:49
  8. Working With The Collection Classes
    1. Introducing Collection Classes 00:06:07
    2. Setting Up The Test Class 00:04:26
    3. Setting up The Test Method 00:02:41
    4. Mutable And Immutable Collections 00:04:32
    5. Using Objective-C Literals 00:03:19
    6. Creating An NSDictionary 00:02:48
    7. Enumerating An Array 00:05:27
    8. Using Fast Enumeration 00:05:04
    9. Working With Dictionaries 00:03:08
  9. Using The Debugger
    1. Breakpoints Overview 00:04:18
    2. Setting Breakpoints 00:04:16
    3. Exploring Values 00:06:11
    4. Editing Breakpoints 00:04:45
    5. Stepping Through Code 00:03:55
    6. Using NSLog 00:03:56
  10. Using Protocols And Delegates
    1. Dealing With The Multiple Inheritance Issue 00:06:41
    2. Looking At A Protocol 00:05:59
    3. Using A Protocol And Delegate 00:05:03
    4. Reviewing A Protocol And Delegate 00:05:13
  11. Working With Extensions And Categories
    1. Using Class Extensions 00:05:03
    2. Using Class Categories 00:04:20
  12. Using Blocks
    1. Introducing Blocks 00:05:13
    2. Getting Inside A Block 00:06:31
    3. Using Blocks 00:02:38
  13. Handling Exceptions
    1. Causing An Error 00:03:29
    2. Using The Try-Catch Paradigm 00:03:41
    3. Throwing An Exception 00:02:21
  14. Using The Target-Action Pattern
    1. Introducing Target-Action Pattern 00:03:22
    2. Exploring The Button Init 00:04:14
  15. Conclusion
    1. Wrap Up And About The Author 00:03:34