Version: 1.1

Posted: 2009-05-26

Build Requirements: Xcode 3.2 or later, Mac OS X v10.6 or later

Runtime Requirements: Mac OS X v10.6 or later

View Source Code:

Download Sample Code (“iSpend.zip”, 163.5K)



Description

This example uses a simple expense tracking application to demonstrate a number of Cocoa features. It shows pasteboard handling, including copy and paste, drag and drop, and providing and using services. It shows you how to add NSDatePicker and NSViewAnimation to your application. It also illustrates how to enhance sorting support in a table view and how to add undo support, both using bindings. It takes advantage of Objective-C 2 language features such as properties. Lastly, this example demonstrates the addition of a search field to the toolbar, and a Spotlight search window.

Document Revision History

Date Notes
2009-05-26Consolidated sample, retargeted for 10.6
2005-06-01This example uses a simple expense tracking application to demonstrate a number of Cocoa features.