Sort by Title |
Sort by Topic |
Sorted by Resource Type |
Sort by Date |
EmbededAppleScripts
(HTML)
(DMG)
(ZIP)
Extending the functionality of your application by adding precompiled AppleScripts.
|
Interapplication Communication |
Sample Code |
2003-09-04
|
OTEndpointInfo
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates how to query an endpoint for its 'vital statistic' using OTGetEndpointInfo.
|
Networking |
Sample Code |
2003-08-20
|
GrabBag
(HTML)
(DMG)
(ZIP)
Demonstrates variety of techniques and features of Carbon. DataBrowser , PBCatalogSearchAsync, Overlay windows, Tab controls, more...
|
File Management, Human Interface Toolbox, User Experience |
Sample Code |
2003-07-29
|
BasicPlugIn
(HTML)
(DMG)
(ZIP)
Uses the CFPlugin to locate, load, execute plugin. Derived from the SillyBalls sample.
|
Core Foundation, Runtime Architecture |
Sample Code |
2003-07-28
|
CopyBits vs. CopyMask
(HTML)
(DMG)
(ZIP)
Deprecated - CopyBits (using a mask region) vs. CopyMask (using a mask BitMap). Which do you think is faster?
|
Performance |
Sample Code |
2003-07-22
|
OTMP
(HTML)
(DMG)
(ZIP)
Deprecated - A library for calling Open Transport synchronously from preemptively scheduled tasks (MP tasks).
|
Networking |
Sample Code |
2003-07-22
|
OTPingSample
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates how to implement ping on top of the Open Transport API.
|
Networking |
Sample Code |
2003-07-22
|
Simple DrawSprocket
(HTML)
(DMG)
(ZIP)
Deprecated - Simple use of DrawSprocket to set screen resolution and size.
|
Games, Graphics & Imaging, User Experience |
Sample Code |
2003-07-22
|
TE Over Background
(HTML)
(DMG)
(ZIP)
Deprecated - A textEdit that shows old text editing over a colored background
|
Design Guidelines, Graphics & Imaging |
Sample Code |
2003-07-22
|
CallMachOFramework
(HTML)
(DMG)
(ZIP)
Shows two ways of calling a Mach-O framework from a CFM application on Mac OS X.
|
Runtime Architecture |
Sample Code |
2003-07-17
|
CFM_MachO_CFM
(HTML)
(DMG)
(ZIP)
CFM application calls Mach-O routine, passing in a fixed up CFM function pointer as a callback parameter.
|
Runtime Architecture |
Sample Code |
2003-07-17
|
AGLSurfaceTexture
(HTML)
(DMG)
(ZIP)
Example of render to texture/texture from surface using aglSurfaceTexture.
|
Games, Graphics & Imaging |
Sample Code |
2003-07-07
|
Carbon GLSnapshot
(HTML)
(DMG)
(ZIP)
Demonstrates the use of OpenGL with Quicktime to capture OpenGL content.
|
Games, Graphics & Imaging, QuickTime |
Sample Code |
2003-07-07
|
BSDLLCTest
(HTML)
(DMG)
(ZIP)
Program sample demonstrates how to send and receive raw LLC Ethernet packets.
|
Apple Applications, Events & Other Input, Networking, Performance, Security |
Sample Code |
2003-06-12
|
QISA
(HTML)
(DMG)
(ZIP)
Demonstrates the basics of writing an Internet setup assistant for traditional Mac OS and Mac OS X.
|
Human Interface Toolbox, Networking |
Sample Code |
2003-05-15
|
BasicDataBrowser
(HTML)
(DMG)
(ZIP)
Shows how to create a basic, functional data browser.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-05-08
|
CarbonInCocoa
(HTML)
(DMG)
(ZIP)
How to use Carbon GUI code in a Cocoa application.
|
Events & Other Input |
Sample Code |
2003-03-26
|
SimpleSpeechRecExample
(HTML)
(DMG)
(ZIP)
Demonstrates how to use the Speech Recognition Manager in a simple application.
|
Accessibility, Audio, User Experience |
Sample Code |
2003-03-26
|
Out of This GWorld
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates the use of offscreen GWorlds and palette animation to simulate animation.
|
Games, Graphics & Imaging |
Sample Code |
2003-03-12
|
TubeTest
(HTML)
(DMG)
(ZIP)
Deprecated - The program is a simple demonstration of how to use the Palette Manager in a color program.
|
Design Guidelines, Graphics & Imaging, User Experience |
Sample Code |
2003-03-12
|
SimpleTabControl
(HTML)
(DMG)
(ZIP)
Demonstrates how to use a simple tabbed pane window. This control is often used in preferences.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-02-20
|
CryptoSample
(HTML)
(DMG)
(ZIP)
Contains sample code showing symmetric encryption and message digest calculation.
|
Security |
Sample Code |
2003-02-06
|
HICustomLeftRightSwitch
(HTML)
(DMG)
(ZIP)
Illustrates how to create a custom left/right switch using the HIView functions introduced in Mac OS X 10.2.
|
Human Interface Toolbox |
Sample Code |
2003-02-06
|
HIFramework
(HTML)
(DMG)
(ZIP)
Contains C++ classes which are used by other HIToolbox sample code releases.
|
Human Interface Toolbox |
Sample Code |
2003-02-06
|
Calculator
(HTML)
(DMG)
(ZIP)
Implements a simple "four-banger" calculator.
|
User Experience |
Sample Code |
2003-01-30
|
CalendarView
(HTML)
(DMG)
(ZIP)
Shows how to subclass HIView using C, as well as drawing and hit testing.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
CarbonCustomList
(HTML)
(DMG)
(ZIP)
How to implement a custom list using Carbon using CreateCustomList.
|
User Experience |
Sample Code |
2003-01-30
|
CarbonMDEF
(HTML)
(DMG)
(ZIP)
A Mac OS X-compatible, Appearance-savvy sample menu definition function (MDEF).
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
ClockView
(HTML)
(DMG)
(ZIP)
An HIView sample that uses the HIFramework to implement a scalable analog clock.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
ColoredCheckBox
(HTML)
(DMG)
(ZIP)
Demonstrates how to create a colored check box on a gray window backgrounds.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
ColorSwatchView
(HTML)
(DMG)
(ZIP)
Implements a color well control as an HIView using HIFramework C++ Carbon Event wrapper classes.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
ControlBackground
(HTML)
(DMG)
(ZIP)
Shows how to affect the background color of a control when drawing it.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
CustomWindow
(HTML)
(DMG)
(ZIP)
Demonstrates how to create a custom window in Mac OS X.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
CustomWindowWidget
(HTML)
(DMG)
(ZIP)
Demonstrates two ways of adding a custom window widget to the window frame of a standard document window.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
Fragment Tool
(HTML)
(DMG)
(ZIP)
Demonstrates manipulation of code fragments; combining and separating; viewing and editing information associated with each.
|
Data Management, Design Guidelines, File Management, Resource Management, Runtime Architecture, Tools, User Experience |
Sample Code |
2003-01-30
|
GetDragHiliteColor
(HTML)
(DMG)
(ZIP)
Shows how to obtain the color that Drag Manager uses to hilite regions when calling ShowDragHilite.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
HandyScrollingSample
(HTML)
(DMG)
(ZIP)
Shows some ways of implementing scrolling.
|
User Experience |
Sample Code |
2003-01-30
|
HexEditorView
(HTML)
(DMG)
(ZIP)
HIView subclass which implements a hex editor similar to those found in resource editors.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
HideMenuBar
(HTML)
(DMG)
(ZIP)
Shows how to hide the menu bar.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
HIViewTest
(HTML)
(DMG)
(ZIP)
An HIView with rudimentary drawing and hit testing.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
HTMLSample
(HTML)
(DMG)
(ZIP)
Deprecated - Illustrates one way to use the HTMLRenderingLib Library.
|
User Experience |
Sample Code |
2003-01-30
|
HTMLUserPane
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to display a HTMLRenderingLib object inside of a user pane control.
|
User Experience |
Sample Code |
2003-01-30
|
icon cache demo
(HTML)
(DMG)
(ZIP)
Demonstrates the use of an icon cache to limit the search for icon resource to one resource file.
|
Human Interface Toolbox, Performance, User Experience |
Sample Code |
2003-01-30
|
Icon Play
(HTML)
(DMG)
(ZIP)
Demonstrates the use of icon utilities and popup control cdef in a program using modal dialogs.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
IconUtilCheck
(HTML)
(DMG)
(ZIP)
Shows how to determine whether the Icon Utilities are available.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
ictbSample
(HTML)
(DMG)
(ZIP)
Deprecated - Shows an example of ictb resource.
|
User Experience |
Sample Code |
2003-01-30
|
kcapApp
(HTML)
(DMG)
(ZIP)
Demonstrates drawing the key caps, given a set of modifiers and KCHR and KCAP resource IDs.
|
User Experience |
Sample Code |
2003-01-30
|
KeyMapTest
(HTML)
(DMG)
(ZIP)
Uses Pascal to display a KeyMap representation whenever keys are pressed.
|
User Experience |
Sample Code |
2003-01-30
|
Live Scroll
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates how to implementing live scrolling during the tracking of scroll bar thumbs.
|
User Experience |
Sample Code |
2003-01-30
|
LocalServer
(HTML)
(DMG)
(ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
|
Apple Applications, Events & Other Input, Networking, Runtime Architecture |
Sample Code |
2003-01-30
|
NoSound
(HTML)
(DMG)
(ZIP)
Illustrates how to install a procedure to be executed when the user restarts or shuts down.
|
User Experience |
Sample Code |
2003-01-30
|
Password
(HTML)
(DMG)
(ZIP)
Deprecated - Illustrates three different ways to implement password fields in dialogs.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
PopUpMenuWithCurFont
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates what must be done to control the font used by MDEF 0 during PopUpMenuSelect.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
ReadLocation
(HTML)
(DMG)
(ZIP)
Retrieves the Map control panel settings for longitude and latitude and the time offset from GMT.
|
User Experience |
Sample Code |
2003-01-30
|
ReKeyTrans
(HTML)
(DMG)
(ZIP)
Shows how to patch KeyTrans to ignore dead-key processing so you type fancy accented characters.
|
User Experience |
Sample Code |
2003-01-30
|
ROMResourceDump
(HTML)
(DMG)
(ZIP)
Deprecated - Illustrates how to copy all resources in the Macintosh's ROM into a file.
|
User Experience |
Sample Code |
2003-01-30
|
Scrap Parsing
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to parse the in-memory scrap.
|
User Experience |
Sample Code |
2003-01-30
|
SetIndString
(HTML)
(DMG)
(ZIP)
Implements SetIndString(), which sets a particular STR# string to the passed in string. Similar to GetIndString()
|
Data Management, Resource Management, User Experience |
Sample Code |
2003-01-30
|
SetWindBackColor
(HTML)
(DMG)
(ZIP)
Demonstrates how to programmatically set the background color of a window without flicker without the Appearance Manager.
|
Human Interface Toolbox, User Experience |
Sample Code |
2003-01-30
|
SICN LDEF
(HTML)
(DMG)
(ZIP)
Implements an LDEF that displays small icons to the left of text in a list.
|
User Experience |
Sample Code |
2003-01-30
|
SimpleList
(HTML)
(DMG)
(ZIP)
A simple illustration of a ListBox Control implementation and its pitfall
|
User Experience |
Sample Code |
2003-01-30
|
Splasher
(HTML)
(DMG)
(ZIP)
Closes a modal window, such as a splash screen, with a mouse click or key press.
|
User Experience |
Sample Code |
2003-01-30
|
SplitView
(HTML)
(DMG)
(ZIP)
An HIView sample that uses the HIFramework and implements a scalable split view.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
stdFilterHacking
(HTML)
(DMG)
(ZIP)
Demonstrates problems and workarounds for/with the Standard Dialog Filter.
|
User Experience |
Sample Code |
2003-01-30
|
TickerView
(HTML)
(DMG)
(ZIP)
HIView subclass which implements a scrolling, live stock ticker.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
URLTextView
(HTML)
(DMG)
(ZIP)
An HIView subclass which uses LaunchServices to open the URL attached to the view.
|
Human Interface Toolbox |
Sample Code |
2003-01-30
|
Vertest
(HTML)
(DMG)
(ZIP)
Demonstrates how to access the information from the Vers Resource. Developed for Tech Note #189.
|
User Experience |
Sample Code |
2003-01-30
|
AddressBookCarbon
(HTML)
(DMG)
(ZIP)
Demonstrates some basic manipulations of the Mac OS X 10.2.x (and beyond) Address Book API.
|
Interapplication Communication |
Sample Code |
2003-01-14
|
AddressBookCocoa
(HTML)
(DMG)
(ZIP)
Demonstrates some basic manipulations of the Mac OS X 10.2.x (and beyond) Address Book API.
|
Interapplication Communication |
Sample Code |
2003-01-14
|
aglClipBufferRect
(HTML)
(DMG)
(ZIP)
Shows the use of clip regions and buffer rects in AGL.
|
Games, Graphics & Imaging |
Sample Code |
2003-01-14
|
ATSUICurveAccessDemo
(HTML)
(DMG)
(ZIP)
Demonstrates low-level ATSUI APIs which allow access to raw glyph curve data.
|
Internationalization, Text & Fonts |
Sample Code |
2003-01-14
|
ATSUIDirectAccessDemo
(HTML)
(DMG)
(ZIP)
Demonstrates some basic manipulations of the ATSUI DirectAccess api.
|
Text & Fonts |
Sample Code |
2003-01-14
|
audioburntest
(HTML)
(DMG)
(ZIP)
Uses the DRTrackCallbackProc and track properties to create a RedBook audio CD from AIFF files.
|
File Management |
Sample Code |
2003-01-14
|
BasicInputMethod
(HTML)
(DMG)
(ZIP)
An input method implemented as a text service component for Mac OS X.
|
Interapplication Communication, Text & Fonts |
Sample Code |
2003-01-14
|
bulkerase
(HTML)
(DMG)
(ZIP)
Demonstrates how to erase media using the DiscRecording framework.
|
File Management |
Sample Code |
2003-01-14
|
CarbonQuartzDrawingWPrinting
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
|
Graphics & Imaging, Printing |
Sample Code |
2003-01-14
|
CFPreferences
(HTML)
(DMG)
(ZIP)
Shows how to use the CFPreferences APIs to access user preferences.
|
Core Foundation |
Sample Code |
2003-01-14
|
CFPrefsDumper
(HTML)
(DMG)
(ZIP)
Shows how to use the CFPreferences APIs to access information about the current user preferences.
|
Core Foundation |
Sample Code |
2003-01-14
|
ColorBars
(HTML)
(DMG)
(ZIP)
Shows how to enumerate, select, capture, manipulate, draw to, and release displays using the CGDirectDisplay API.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
ColorSyncDevices
(HTML)
(DMG)
(ZIP)
Demonstrates how to use the new ColorSync Device Support APIs introduced with Mac OS X.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
ColorSyncDevices-Cocoa
(HTML)
(DMG)
(ZIP)
Demonstrates how to use the new ColorSync Device Manager routines in the Cocoa environment.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
CTMClip
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing with clipping.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
CTMDemo
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing without clipping.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
databurntest
(HTML)
(DMG)
(ZIP)
Demonstrates how to create a DRFolderRef and burn it to disc.
|
File Management |
Sample Code |
2003-01-14
|
DragAndDrop Shell
(HTML)
(DMG)
(ZIP)
A Drag and Drop shell for producing QuickTime drag and drop tools.
|
Events & Other Input |
Sample Code |
2003-01-14
|
FinderDragPro
(HTML)
(DMG)
(ZIP)
Sample file illustrating drag and drop techniques for use with file system objects.
|
Events & Other Input, File Management, Interapplication Communication, User Experience |
Sample Code |
2003-01-14
|
Folder Watching
(HTML)
(DMG)
(ZIP)
Demonstrates how a background only application can use Apple events to pass work to another application.
|
File Management, Interapplication Communication, Process Management |
Sample Code |
2003-01-14
|
FullScreen
(HTML)
(DMG)
(ZIP)
Shows how to use BeginFullScreen and EndFullScreen to enter and exit full-screen mode.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
GetHWEthernetAddr
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to obtain the hardware Ethernet address of a machine.
|
Networking |
Sample Code |
2003-01-14
|
GetMACAddressSample
(HTML)
(DMG)
(ZIP)
Demonstrates how to retrieve the MAC address for each Ethernet interface from the Mac OS X I/O Registry.
|
Networking, Security |
Sample Code |
2003-01-14
|
GetSetOptions
(HTML)
(DMG)
(ZIP)
Demonstrates a variety of uses of Open Transport's option management routines.
|
Networking |
Sample Code |
2003-01-14
|
ListMania
(HTML)
(DMG)
(ZIP)
Demonstrates a variety of techniques for using Open Transport's list utility routines.
|
Data Management, Networking |
Sample Code |
2003-01-14
|
Mode
(HTML)
(DMG)
(ZIP)
Shows how to enumerate displays and list the available modes for each display.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
ModeWhacker
(HTML)
(DMG)
(ZIP)
Shows how to enumerate, select, capture, manipulate, and release displays using the CGDirectDisplay API.
|
Graphics & Imaging |
Sample Code |
2003-01-14
|
MoreAppleEvents
(HTML)
(DMG)
(ZIP)
Provides routines that assist with the creation and sending of Apple events and object descriptors.
|
Interapplication Communication, Tools |
Sample Code |
2003-01-14
|
MoreFiles
(HTML)
(DMG)
(ZIP)
Shows various File Manager operations (file copy, etc.) through a collection of high-level routines.
|
File Management |
Sample Code |
2003-01-14
|
MoreOSL
(HTML)
(DMG)
(ZIP)
C library for implementing AppleScript support within your application.
|
Interapplication Communication |
Sample Code |
2003-01-14
|
MPFileCopy
(HTML)
(DMG)
(ZIP)
Demonstrates how to copy a folder and its contents using the HFS Plus APIs from an MP task.
|
File Management, Process Management |
Sample Code |
2003-01-14
|
NamingTableAccess
(HTML)
(DMG)
(ZIP)
Digs out the contents of the NamingTable in a TrueType 'sfnt'.
|
Text & Fonts |
Sample Code |
2003-01-14
|
NewCCursor
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand.
|
Graphics & Imaging, User Experience |
Sample Code |
2003-01-14
|