Version 1.1, 2011-05-02
Updated for Mac OS X 10.6 and Xcode 4.
(Full Revision History)
Xcode 3.2 or later, Mac OS X v10.6 or later
Mac OS X v10.6 or later
The DockTile example demonstrates simple use of the NSDockTile API as well as the SnowLeopard NSDockTilePlugIn protocol. In addition DockTile makes use of NSDistributedNotificationCenter and CFPreferences.
You can think of DockTile as a terribly simple game. Your score goes up by 1 just by launching the app! So keep on launching the app over and over to reach new high scores.
The high score is shown in the dock tile, and the app window, where you can also reset it. The plug-in is useful as a way to show the score even when the application is not running.
© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-05-02)