Beginning OS X Lion Apps Development

By Michael Privat , Robert Warner

Beginning OS X Lion Apps Development begins with the basics of Objective-C and Cocoa, and then moves through all the topics necessary to build and publish your first successful Mac apps!

Full Description

  • ISBN13: 978-1-4302-3720-4
  • 392 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: November 14, 2011
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

With the Mac App Store launch in early 2011, a new age in Mac development began. Look for many of the cool apps for iPhone and iPad coming to an iMac or MacBook Pro near you!

Beginning OS X Lion Apps Development explains how to develop OS X Lion-based apps and publish them in the Mac App Store. It begins with the basics of Objective-C and Cocoa, and then moves through all the topics necessary to build and publish your first successful Mac apps!

  • Get started with Objective-C and Xcode
  • Build your first complete apps that integrate well with Mac OS X
  • Publish your apps on the Mac App Store

If you're new to Mac or new to iPhone or iPad apps development, and looking to develop apps for the Macbook Pro or Mac desktop, this book is for you!

What you’ll learn

  • How to use Apple’s development tools
  • How to build user interfaces and create user experiences (UX)
  • How to respond to user input
  • How to integrate your apps into the Mac ecosystem
  • How to store and retrieve data
  • How to publish your apps to the new Mac App Store

Who this book is for

This book is for those new to Mac or for iPhone or iPad apps developers who want to develop apps for the MacBook Pro or Mac desktop.

Table of Contents

Table of Contents

  1. Building a Graphiing Calculator
  2. Laying Out the User Interface
  3. Handling User Input
  4. Pimp My UI
  5. Storing and Retrieving Data
  6. Using Core Data
  7. Integrating Graphique into the Mac OS X Desktop
  8. Creating Help
  9. Printing
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 52:
Listing 2-3 adds an additional closing bracket which should be removed:

[self.verticalSplitView replaceSubview:[[self.verticalSplitView subviews] objectAtIndex:1] with:equationEntryViewController.view]];

Should be:

[self.verticalSplitView replaceSubview:[[self.verticalSplitView subviews] objectAtIndex:1] with:equationEntryViewController.view];

On page 90:
Code on page generates an error for the NSSplitView. Corrected by adding the following lines while setting the width of the split view:

equationEntry.size.height = size.height;
recentlyUsed.size.height = size.height;

Thanks,
db

On page 108:

for loop should be x<=50, not x=50

On page 109:

Listing 3-20 doesn't show how to declare the protocol implements NSTableViewDataSource protocol

On page 162:
Line in code:

i += (trig.length] - 1);

Needs close bracket removed