Sort by Title |
Sort by Topic |
Sorted by Date |
QTCarbonShell
(HTML)
(DMG)
(ZIP)
A skeleton of a modern Carbon QuickTime application demonstrating how to incorporate QuickTime support into a Carbon application.
|
QuickTime |
2009-03-19
|
QTMetaData
(HTML)
(DMG)
(ZIP)
Demonstrates the QuickTime 7 MetaData APIs in a Carbon application.
|
QuickTime |
2009-03-16
|
PMPrinterTest
(HTML)
(DMG)
(ZIP)
Demonstrates using the PMPrinter APIs to obtain information about the connected printers.
|
Printing |
2009-02-13
|
SpotlightFortunes
(HTML)
(DMG)
(ZIP)
Demonstrates how to provision a Spotlight importer plug-in for a custom UTI, and how to use a NSMetadataQuery with bindings to display live query results in a table view.
|
File Management |
2008-06-06
|
AlbumToSlideshow
(HTML)
(DMG)
(ZIP)
Demonstrates using CF and NSXML to create Final Cut Pro XML.
|
Core Foundation |
2008-05-15
|
WhackedTV
(HTML)
(DMG)
(ZIP)
A Cocoa version of the venerable HackTV sample code, demonstrating usage of the Sequence Grabber API's
|
QuickTime |
2008-05-09
|
HID Config Save
(HTML)
(DMG)
(ZIP)
Human Interface Device Manager Configuration sample
|
Games |
2008-05-07
|
SampleScannerApp
(HTML)
(DMG)
(ZIP)
This project implements a simple client accessing an ICA scanning device.
|
Graphics & Imaging |
2008-05-07
|
CIColorTracking
(HTML)
(DMG)
(ZIP)
An Objective-C applicaton that implements a GPU-based technique to find the location of a uniquely colored object in a scene
|
Graphics & Imaging |
2008-04-24
|
CarbonCocoaTempConverter
(HTML)
(DMG)
(ZIP)
Demonstrates how to integrate Carbon and Cocoa user interfaces in the same Cocoa application.
|
Events & Other Input |
2008-03-10
|
FSMegaInfo
(HTML)
(DMG)
(ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
|
File Management |
2008-02-25
|
HackTV Carbon
(HTML)
(DMG)
(ZIP)
HackTV Carbon shows how to use the sequence grabber to preview and record QuickTime movie files.
|
QuickTime |
2007-11-16
|
Son of Grab
(HTML)
(DMG)
(ZIP)
Shows how to use the new CGWindow to get window images from the Window Server.
|
Graphics & Imaging |
2007-11-01
|
PreLoginAgents
(HTML)
(DMG)
(ZIP)
Pre-login launchd agents to display UI using AppKit and HIToolbox.
|
Process Management |
2007-10-26
|
MassiveImage
(HTML)
(DMG)
(ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
|
Graphics & Imaging |
2007-09-27
|
DTSCarbonShell
(HTML)
(DMG)
(ZIP)
Provides a modern Mac OS X Carbon Application Skeleton
|
Human Interface Toolbox, Text & Fonts, User Experience |
2007-09-20
|
Quartz 2D Shadings
(HTML)
(DMG)
(ZIP)
Shows how to use CGShading and CGGradient objects to draw simple gradients.
|
Graphics & Imaging |
2007-08-31
|
Cocoa PDE with Carbon Printing
(HTML)
(DMG)
(ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
|
Printing |
2007-07-27
|
Quartz 2D Transformer
(HTML)
(DMG)
(ZIP)
Shows how to use Quartz 2D to manipulate an image
|
Graphics & Imaging |
2007-06-21
|
CoreTextArc
(HTML)
(DMG)
(ZIP)
Illustrates the use of fonts, lines, and runs in a CoreText text drawing Carbon application.
|
Text & Fonts |
2007-06-04
|
CrossEvents
(HTML)
(DMG)
(ZIP)
Demonstrates how to send CarbonEvents and NSNotifications between Carbon and Cocoa.
|
Design Guidelines, Events & Other Input, Porting, Process Management |
2007-05-31
|
HIView-NSView
(HTML)
(DMG)
(ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
|
Design Guidelines, Human Interface Toolbox, User Experience |
2007-05-29
|
StarMenu
(HTML)
(DMG)
(ZIP)
Shows how to create a Custom Star Shape menu using the new HIMenuView class.
|
Human Interface Toolbox |
2007-05-24
|
HIFleetingControls
(HTML)
(DMG)
(ZIP)
Implements fleeting controls such as seen in QuickTime Player full screen mode or iPhoto slideshow
|
Human Interface Toolbox |
2007-05-08
|
AESendThreadSafe
(HTML)
(DMG)
(ZIP)
Demonstrates how to send Apple events from threads other than the main thread.
|
Interapplication Communication |
2007-03-09
|
RecordAudioToFile
(HTML)
(DMG)
(ZIP)
Demonstrates recording audio to an AAC file using Core Audio
|
Audio |
2007-02-27
|
FSReplaceObject
(HTML)
(DMG)
(ZIP)
FSReplaceObject is an example command line tool showing how to exercise the FSReplaceObject and FSPathReplaceObject related APIs.
|
File Management |
2007-02-14
|
Cocoa_With_Carbon_or_CPP
(HTML)
(DMG)
(ZIP)
Shows how to call Carbon routines and C++ code from within an Objective-C Cocoa program.
|
User Experience |
2007-02-05
|
CarbonCocoa_PictureCursor
(HTML)
(DMG)
(ZIP)
Demonstrates how to use NSCursor from a Carbon based application.
|
Human Interface Toolbox, Porting, User Experience |
2007-01-12
|
CoreTextTest
(HTML)
(DMG)
(ZIP)
Shows how to handle the CoreText objects to display text.
|
Text & Fonts |
2006-12-19
|
SetMouseAcclSample
(HTML)
(DMG)
(ZIP)
Find HID System Manager and get/set cursor acceleration
|
Events & Other Input |
2006-11-28
|
LittleArrowsShowcase
(HTML)
(DMG)
(ZIP)
How to increment and decrement the LittleArrows value when the user clicks on the up and down buttons.
|
Human Interface Toolbox |
2006-11-09
|
TremoloUnit
(HTML)
(DMG)
(ZIP)
Audio unit sample demonstrating how to build an effect unit with a generic view.
|
Audio |
2006-10-26
|
SimplePlayThru
(HTML)
(DMG)
(ZIP)
Use the HAL's Audio Output Unit (AUHAL) for device input and output on a single device (play-thru)
|
Audio |
2006-10-25
|
SeeMyFriends
(HTML)
(DMG)
(ZIP)
Illustrates how to use SyncServices API in a Carbon (HLTB) based application
|
Syncing |
2006-10-16
|
VolumeToBSDNode
(HTML)
(DMG)
(ZIP)
Shows how to iterate across all mounted volumes and retrieve their BSD node names.
|
File Management |
2006-10-16
|
CFPrefTopScores
(HTML)
(DMG)
(ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
|
Core Foundation, Data Management, Design Guidelines, File Management, Games, Resource Management |
2006-10-09
|
RecentItems
(HTML)
(DMG)
(ZIP)
Implements "Recent items" menu(s)
|
Human Interface Toolbox, User Experience |
2006-10-09
|
SampleCMPlugIn
(HTML)
(DMG)
(ZIP)
A contextual menu plugIn for Mac OS X.
|
Design Guidelines, Human Interface Toolbox, Resource Management, Scripting & Automation, User Experience |
2006-10-09
|
CarbonQuartzComposer_TV
(HTML)
(DMG)
(ZIP)
Demonstrates how to integrate Cocoa based QuartzComposer window into a Carbon based application
|
Graphics & Imaging |
2006-10-02
|
Quartz2DBasics
(HTML)
(DMG)
(ZIP)
Carbon and Cocoa sample code demonstrating some basic usage of the Quartz 2D API
|
Graphics & Imaging |
2006-09-11
|
StickiesExample
(HTML)
(DMG)
(ZIP)
Contains sample code and tools used by Sync Services Tutorial to demonstrate debugging syncing applications.
|
Apple Applications, Syncing, User Experience |
2006-08-08
|
ABPresence
(HTML)
(DMG)
(ZIP)
Displays a list of all the people in your Address Book and their iChat status.
|
Apple Applications, Interapplication Communication |
2006-08-04
|
HIToolboxSOU-Delegates
(HTML)
(DMG)
(ZIP)
Shows how to use the HIObject Delegate API.
|
Human Interface Toolbox |
2006-08-04
|
HIToolboxSOU-MenuItemViews
(HTML)
(DMG)
(ZIP)
Shows how to use the Menu Item View API.
|
Human Interface Toolbox |
2006-08-04
|
Watcher
(HTML)
(DMG)
(ZIP)
Uses FSEvents to monitor a directory hierarchy to keep track of its total size
|
Events & Other Input, File Management |
2006-08-04
|
AudioQueueTest
(HTML)
(DMG)
(ZIP)
Demonstrates AudioQueue, an audio playback API introduced in Mac OS X 10.5
|
Audio |
2006-08-01
|
SetCustomIcon
(HTML)
(DMG)
(ZIP)
Demonstrates how to programmatically set a custom icon for a file, folder, or disk.
|
User Experience |
2006-08-01
|
AppleScriptRunner
(HTML)
(DMG)
(ZIP)
How to send mail and execute other AppleScripts from a Carbon application.
|
User Experience |
2006-07-31
|
Carbon Porting Tutorial
(HTML)
(DMG)
(ZIP)
Porting a simple application from Mac OS 9 to Mac OS X
|
Porting |
2006-07-25
|
CarbonCocoaCoreImageTab
(HTML)
(DMG)
(ZIP)
Carbon-based application creates a Cocoa-based web window which used CoreImage filters to transition between tabbed WebViews
|
Human Interface Toolbox, Internet & Web |
2006-07-25
|
PMPrinterPrintWithFile
(HTML)
(DMG)
(ZIP)
How to send files, for example PostScript and PDF, directly to the printer. Replaces the pict-ps path.
|
Printing |
2006-07-18
|
AudioDeviceNotify
(HTML)
(DMG)
(ZIP)
Demonstrates how to enumerate audio devices attached to the system and how to handle device notifications
|
Audio |
2006-04-21
|
HISimpleList
(HTML)
(DMG)
(ZIP)
Illustrates how to create a simple list using the HIView APIs introduced in Mac OS X 10.2.
|
Human Interface Toolbox |
2006-03-03
|
iTunesController
(HTML)
(DMG)
(ZIP)
iTunesController allows you to control iTunes without having to bring it to the foreground.
|
Accessibility |
2006-02-23
|
QTCarbonCoreImage101
(HTML)
(DMG)
(ZIP)
Demonstrates how to render QuickTime Movies using Core Image filters and the new video pipeline.
|
QuickTime |
2006-02-14
|
CheckExecutableArchitecture
(HTML)
(DMG)
(ZIP)
Determine whether a particular Mach-O executable contains a version suitable for executing on a given processor architecture.
|
Runtime Architecture |
2006-02-07
|
SillyFrequencyLevels
(HTML)
(DMG)
(ZIP)
Demonstrates how to obtain audio frequency levels from a Movie using SetMovieAudioFrequencyMeteringNumBands and GetMovieAudioFrequencyLevels APIs.
|
QuickTime |
2006-01-25
|
CFNetworkHTTPDownload
(HTML)
(DMG)
(ZIP)
Demonstrates how to download a URL using CFNetworking.
|
Networking |
2006-01-18
|
filesystem_examples
(HTML)
(DMG)
(ZIP)
Collection of command line tools illustrating filesystem features.
|
File Management |
2006-01-10
|
EventMonitorTest
(HTML)
(DMG)
(ZIP)
Receive notification of all keyboard, mouse, and tablet events passed to other processes.
|
Events & Other Input |
2005-11-09
|
TabsShowcase
(HTML)
(DMG)
(ZIP)
Shows how to instantiate and use the Tab control both programmatically and from a nib file.
|
Human Interface Toolbox |
2005-10-28
|
FileNotification
(HTML)
(DMG)
(ZIP)
kqueue file notification introduced in 10.3. Notification API to detect file system modifications.
|
File Management |
2005-10-27
|
GetPrimaryMACAddress
(HTML)
(DMG)
(ZIP)
Demonstrates retrieving the MAC address of the built-in Ethernet controller. Useful for uniquely identifying a Macintosh system.
|
Networking, Security |
2005-10-27
|
HICustomPushButton
(HTML)
(DMG)
(ZIP)
Illustrates how to create a simple custom push button using the HIView functions introduced in Mac OS X 10.2.
|
Human Interface Toolbox |
2005-10-17
|
ImageMapView
(HTML)
(DMG)
(ZIP)
Demonstrates how to add Accessibility to a complex custom HIView and the related parts of an application.
|
Accessibility, Human Interface Toolbox |
2005-10-17
|
LoginItemsAE
(HTML)
(DMG)
(ZIP)
Uses Apple events to manipulate the list of login items (items launched when you log in).
|
Interapplication Communication, Process Management |
2005-10-17
|
CocoaInCarbon
(HTML)
(DMG)
(ZIP)
Demonstrates using Cocoa GUI code in a Carbon application.
|
Design Guidelines, Runtime Architecture |
2005-10-04
|
ComboBoxPrefs
(HTML)
(DMG)
(ZIP)
Use CFPrefs to store URLs to images for use in a browser style combo box.
|
Graphics & Imaging, Human Interface Toolbox |
2005-10-04
|
DisplayURL
(HTML)
(DMG)
(ZIP)
Parses a passed in path URL into its various components displaying server information.
|
File Management |
2005-10-04
|
DialogsToHIViews
(HTML)
(DMG)
(ZIP)
Shows how to convert from an old-style resource-based dialog to a modern nib-based window with HIViews.
|
Human Interface Toolbox |
2005-08-24
|
KillEveryOneButMe
(HTML)
(DMG)
(ZIP)
Demonstrates how to terminate all other processes.
|
Process Management |
2005-08-24
|
WindowFun
(HTML)
(DMG)
(ZIP)
Create window layers and groups. Drawing transparent lines. How to display the "Poof" the toolbar uses.
|
Human Interface Toolbox, User Experience |
2005-08-24
|
BrideOfMungGrab
(HTML)
(DMG)
(ZIP)
Demonstrates the use of overlay windows and CG to draw text on captured video.
|
QuickTime |
2005-08-12
|
CarbonTransparentWindow
(HTML)
(DMG)
(ZIP)
Shows how to handle window transparency for compositing, non-compositing, and custom HIView-based Carbon windows.
|
Human Interface Toolbox |
2005-08-10
|
HIObjectThreadController
(HTML)
(DMG)
(ZIP)
Shows how threads can interact with the User Interface handled by the main thread of the application.
|
Human Interface Toolbox |
2005-08-10
|
MemoryBasedBundle
(HTML)
(DMG)
(ZIP)
Shows how to execute Mach-O code from memory, much like GetMemFragment in CFM.
|
Runtime Architecture |
2005-08-10
|
PasteboardPeeker
(HTML)
(DMG)
(ZIP)
Using pasteboards for Copy and Paste, Drag and Drop, service support and filter services.
|
Interapplication Communication, Text & Fonts |
2005-08-10
|
QuickTimeMovieControl
(HTML)
(DMG)
(ZIP)
Demonstrates how to easily add QuickTime media playback to an application
|
QuickTime |
2005-08-10
|
ScrollAndZoom
(HTML)
(DMG)
(ZIP)
An illustration of the use of the Context Transformation Matrix (CTM) for zooming and scrolling a HIView.
|
Human Interface Toolbox |
2005-08-10
|
SimpleVideoOut
(HTML)
(DMG)
(ZIP)
Demonstrates how QuickTime Video Output Components can be used to play video out to hardware.
|
QuickTime |
2005-08-10
|
SpellingChecker-CocoaCarbon
(HTML)
(DMG)
(ZIP)
Demonstrates how to call NSSpellChecker cocoa routines from a Carbon application.
|
Design Guidelines, Runtime Architecture |
2005-08-10
|
TypeServicesForUnicode
(HTML)
(DMG)
(ZIP)
Shows how to use various ATSUI functions and features going from simple to very complex.
|
Human Interface Toolbox, Text & Fonts |
2005-08-10
|
DropDraw
(HTML)
(DMG)
(ZIP)
Demonstrates automatic ColorSync color-matching when drawing with QuickTime graphics importers in Panther
|
QuickTime |
2005-08-01
|
BackgroundExporter
(HTML)
(DMG)
(ZIP)
Demonstrates techniques which can be used to export QuickTime movies in a separate export process.
|
QuickTime |
2005-07-22
|
SimpleHIMovieViewPlayer
(HTML)
(DMG)
(ZIP)
Demonstrates how to use HIMovieView to play QuickTime Movies.
|
QuickTime |
2005-07-15
|
FSFileOperation
(HTML)
(DMG)
(ZIP)
This sample shows how to use the FSFileOperation API which supports copying and moving filesystem objects.
|
File Management |
2005-06-06
|
SDKExample
(HTML)
(DMG)
(ZIP)
Shows how to weak-link against the Carbon framework in various SDKs to adopt new OS features in a single executable.
|
Porting, Runtime Architecture, Tools |
2005-06-06
|
Custom_HIView_Tutorial
(HTML)
(DMG)
(ZIP)
Tutorial presenting a step-by-step custom HIView development. All steps are documented and provided as standalone projects.
|
Human Interface Toolbox |
2005-06-01
|
FSCreateFileAndOpenForkUnicode
(HTML)
(DMG)
(ZIP)
Demonstartes the use of FSCreateFileAndOpenForkUnicode to create a file with restricted access on disk and a read/write access path.
|
File Management |
2005-06-01
|
FSRemoveInheritedACEs
(HTML)
(DMG)
(ZIP)
Demonstrates manipulating access control lists of existing file system objects using the File Manager.
|
File Management |
2005-06-01
|
HITextViewDemo
(HTML)
(DMG)
(ZIP)
Overview of basic HITextView functionality, including Tiger's new font & spelling panel support.
|
Human Interface Toolbox, Text & Fonts |
2005-06-01
|
ImageBrowserView
(HTML)
(DMG)
(ZIP)
Implementing a simple HIView subclass
|
Human Interface Toolbox |
2005-06-01
|
ImageClient
(HTML)
(DMG)
(ZIP)
Demonstrates how to use CFNetwork for synchronous and asynchronous operations, network diagnostics, proxy navigation, and authentication.
|
Networking |
2005-06-01
|
MouseTracking
(HTML)
(DMG)
(ZIP)
Sample code used in the WWDC 2005 Hands-On session 215 "Moving from QD to Quartz"
|
Graphics & Imaging |
2005-06-01
|
QuartzLines
(HTML)
(DMG)
(ZIP)
Drawing Lines using Quartz's CGPath & CGContextStrokeLineSegments functions.
|
Graphics & Imaging |
2005-06-01
|
MoreFilesX
(HTML)
(DMG)
(ZIP)
Deprecated - Shows various File Manager operations through a collection of high-level routines using HFS Plus APIs.
|
File Management |
2005-05-13
|
ProfileSystem
(HTML)
(DMG)
(ZIP)
Shows how to obtain the same information that System Profiler displays.
|
Core Foundation |
2005-05-05
|
CarbonSketch
(HTML)
(DMG)
(ZIP)
Core Graphics only example of a Sketch application implemented with HIToolbox. Shows 1x1-CGBitmapContext for hit-testing, printing.
|
Graphics & Imaging |
2005-03-23
|
QuartzShapes
(HTML)
(DMG)
(ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
|
Graphics & Imaging |
2005-03-08
|