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 Cocoa

Video Description

Learn how use Cocoa with Objective-C to develop applications on the iOS and OS X platforms. If you don’t have experience with Apple’s developer tools, no problem! From object-oriented programming to networking with Bluetooth, this video course covers all of the essentials you need to build apps for the iPhone, iPad, and Mac.

You’ll learn how to work with the Xcode IDE, Objective-C’s Foundation library, and other developer tools such as the Event Kit and Core Animation frameworks. Along the way, you will build several example projects, including “hello world” applications, a simple video player app, and an app that displays calendar events. Finally, you’ll learn how to program using Swift, Apple's new programming language for iOS and Mac development.

  • Learn the application lifecycle on OS X and iOS
  • Work with user interfaces, using nibs, storyboards, UI Dynamics, and Core Animation
  • Use AVFoundation to play audio and video
  • Work with documents and data on the file system
  • Learn how to create localized apps for users in different languages
  • Display lists and grids with table views and collection views
  • Dive into maps, location, and geocoding
  • Learn about non-standard apps, including status bar items
  • Explore networked apps, service discovery with Bonjour, and multi-peer connectivity

Table of Contents

  1. Development Tools
    1. The developer programs, Xcode, and a simple app 00:08:55
    2. The iOS simulator 00:01:53
  2. Objective-C Intro
    1. Object-oriented Programming 00:16:41
    2. NSObjects 00:04:05
  3. Foundation
    1. Objects, Strings 00:06:41
    2. Arrays 00:05:11
    3. Dictionaries 00:03:14
    4. NSValue and NSNumber 00:02:01
    5. Working with Data 00:02:46
    6. Design Patterns 00:02:36
  4. Blocks and Operation Queues
    1. Blocks, Block Syntax, Methods with Blocks, Memory, Local variables inside Blocks 00:11:07
    2. Concurrency with Queues, Putting Blocks in Queues 00:05:22
  5. Apps
    1. Apps Overview 00:08:28
    2. Lifecycle on iOS and Mac OS X 00:06:30
    3. Delegates 00:04:20
    4. Adding Files to a Project/Working with a Project 00:02:01
  6. GUIs
    1. Interfaces on OS X and iOS, MVC, and Nibs 00:06:23
    2. Structure of Nibs, Storyboards 00:08:03
    3. Images, Views, subviews, IB library (iPad and iPhone discussed but not shown?) 00:05:42
    4. Outlets and Actions + Building a UI 00:07:07
    5. Constraints and Guidelines 00:08:53
    6. UI Dynamics 00:04:09
    7. Core Animation Overview 00:04:36
  7. Audio and Video
    1. AVFoundation and Video 00:04:36
    2. AVFoundation and Audio 00:02:24
    3. Speech Synthesis 00:02:57
    4. Photos 00:06:17
  8. Model Objects and Data Storage
    1. Key-Value Coding and Key-Value Observing 00:07:11
    2. NSNotification 00:03:39
    3. Preferences 00:03:32
    4. Filesystem and the Sandbox 00:07:50
  9. Cocoa Bindings
    1. Binding Views to Models 00:04:01
    2. Binding to Controllers 00:03:05
    3. Using Bindings in an App 00:07:55
  10. Table Views and Collection Views
    1. Data Sources and Delegates 00:01:50
    2. UITableView (iOS) 00:12:22
    3. NSTableView (OS X) 00:12:30
    4. Collection Views 00:12:06
  11. Document-based Apps and CLI Apps
    1. NSDocument and UIDocument 00:07:17
    2. CLI Apps 00:03:16
  12. Networking
    1. Connections + Building Networked Apps 00:11:46
    2. Service Discovery with Bonjour 00:11:38
    3. Multipeer Connectivity 00:20:17
  13. Working with the Real World
    1. Location 00:07:11
    2. Geocoding 00:04:28
    3. Maps 00:05:08
    4. Device Motion 00:08:08
    5. App Nap 00:03:34
  14. Fixing Problems
    1. Overview of Instruments & Memory 00:03:30
    2. Instruments and Debugger in use 00:08:19
  15. Working with Text
    1. Localization 00:07:55
    2. NSFormatter 00:03:31
    3. NSDataDetector 00:07:00
    4. Dynamic Text 00:04:42
  16. Swift
    1. The Swift Language 00:18:40