Cocoa Programming for OS X The Big Nerd Ranch Guide

by ; ;
Edition: 5th
Format: Paperback
Pub. Date: 2015-04-14
Publisher(s): Big Nerd Ranch Guides
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $52.49

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$57.59
$57.59

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

<>Covering the bulk of what you need to know to develop full-featured applications for OS X, this edition is updated for OS X Yosemite (10.10),  Xcode 6, and Swift. Written in an engaging tutorial style and class-tested for clarity and accuracy, it is an invaluable resource for any Mac programmer. The authors introduce the two most commonly used Mac developer tools: Xcode and Instruments. They also cover the Swift language, basic application architecture, and the major design patterns of Cocoa. Examples are illustrated with exemplary code, written in the idioms of the Cocoa community, to show you how Mac programs should be written.

 

After reading this book, you will know enough to understand and utilize Apple’s online documentation for your own unique needs. And you will know enough to write your own stylish code.

 

This edition was written for Xcode 6.3 and Swift 1.2. At WWDC 2015, Apple announced Xcode 7 and Swift 2, both of which introduce significant updates that (along with some changes to Cocoa for OS X 10.11) affect some of the exercises in this book. We have prepared a companion guide listing the changes needed to use Xcode 7 to work through the exercises in the book; it is available at https://github.com/bignerdranch/cocoa-programming-for-osx-5e/blob/master/Swift2.md.

Author Biography

Aaron Hillegass, a former employee at NeXT and Apple, has nearly two decades experience programming and teaching Objective-C, Cocoa, and, more recently, iOS. Aaron is co-author of Objective-C Programming: The Big Nerd Ranch Guide and iOS Programming: The Big Nerd Ranch Guide. In 2001, Aaron founded Big Nerd Ranch and began developing intensive courses that teach programming in a focused, distraction-free environment. Big Nerd Ranch now offers courses around the world as well as consulting and software development.

Adam Preble learned Cocoa programming from the first edition of this book and after ten years in the software industry, joined Big Nerd Ranch to write Mac and iOS software as a consultant. He presently leads engineering at Big Nerd Ranch and steals away time for Cocoa programming and for teaching the Cocoa bootcamp course, on which this book is based.

Nate Chandler is a senior software engineer at Big Nerd Ranch, where he helps maintain the Cocoa bootcamp course materials. Nate studied mathematics at the New College of Florida and has applies the logical rigor he learned in that arena to his programming. An avid C++ enthusiast, Nate reads draft feature proposals for the standard as often as he can.

Table of Contents

  1. Cocoa: What Is It?
  2. Let's Get Started
  3. Swift
  4. Memory Management
  5. Target/Action
  6. Helper Objects
  7. NSWindowController, NSViewController, XIBs, and MVC
  8. Key-Value Coding/Key-Value Observing
  9. NSArrayController
  10. NSUndoManager
  11. Archiving an Protocols
  12. Basic Core Data
  13. NSWindowController
  14. User Defaults
  15. Using Notifications
  16. Using Alert Panels
  17. Localization
  18. Custom Views
  19. Images and Mouse Events
  20. Keyboard Events
  21. Drawing Text with Attributes
  22. Pasteboards and Nil-Targeted Actions
  23. Categories
  24. Drag-and-Drop
  25. NSTimer
  26. Sheets
  27. Creating NSFormatters
  28. Printing
  29. Web Services
  30. Closures
  31. More Core Data
  32. Storyboards
  33. Collection Views
  34. Core Animation
  35. Concurrency
  36. Unit Testing
  37. Cocoa and OpenGL
  38. NSTask
  39. Distributing Your App

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.