Sort by Title |
Sort by Topic |
Sort by Resource Type |
Sorted by Date |
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
|
Using Ink Services in Your Application
(HTML)
(PDF)
Explains how Ink Services works and how to customize handwriting recognition.
|
Events & Other Input, Text & Fonts |
Guides |
2003-07-24
|
Filtering QuickTime media types in Navigation Services
(HTML)
()
QA1274: Describes how to filter QuickTime media types in a Navigation Services filter procedure.
|
Human Interface Toolbox |
Technical Q&As |
2003-07-23
|
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
|
The Data Browser GetDataBrowserUserState API
(HTML)
()
QA1270: Explains a problematic Data Browser API definition and how to work around it.
|
Human Interface Toolbox |
Technical Q&As |
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
|
CGImageRef contents are immutable
(HTML)
()
QA1276: Explains that CGImageRef contents are considered immutable once created.
|
Graphics & Imaging |
Technical Q&As |
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
|
Maximizing Mac OS X Application Performance
(HTML)
Learn how to achieve better performance on Mac OS X.
|
Performance |
Articles |
2003-06-23
|
Updating OpenGL Contexts
(HTML)
()
QA1209: When and why to update an OpenGL context in response to system and user actions.
|
Games, Graphics & Imaging |
Technical Q&As |
2003-06-19
|
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
|
Glyph Access Protocol
(HTML)
()
TN2079: How to support unencoded glyphs using the TSM, ATSUI and Cocoa.
|
Text & Fonts |
Technical Notes |
2003-05-06
|
Migrating to FSRefs & long Unicode names from FSSpecs
(HTML)
()
TN2078: Answers and coding techniques to commonly asked questions about adopting FSRefs and long file names.
|
File Management |
Technical Notes |
2003-05-06
|
Internet Config Reference
(HTML)
(PDF)
Describes the legacy technology for managing Internet preferences in Classic Mac OS.
|
Networking |
Reference |
2003-05-01
|
Programming With the Language Analysis Manager
(HTML)
(PDF)
Explains how morpholgical analysis is performed by the system.
|
Internationalization |
Guides |
2003-05-01
|
Using the Japanese Analysis Engine and Access Method
(HTML)
(PDF)
Describes dictionary access and the environments used by the Japanese Analysis Engine.
|
Internationalization |
Guides |
2003-05-01
|
Empty Memory Objects
(HTML)
()
QA1259: Describes how two memory management edge cases are handled by the common Mac OS memory allocators.
|
Accessibility, Data Management |
Technical Q&As |
2003-04-21
|
Is ColorSync thread safe?
(HTML)
()
QA1261: Discusses ColorSync thread-safety issues.
|
Graphics & Imaging |
Technical Q&As |
2003-04-17
|
Notifying the Finder of changed or newly created files
(HTML)
()
QA1260: Recommended approach to notifying the Finder to update its open windows of a file creation or change.
|
File Management, Human Interface Toolbox, Interapplication Communication |
Technical Q&As |
2003-04-15
|
PPPoE Server for Testing
(HTML)
()
QA1252: Describes how to configure Mac OS X as a PPPoE server for testing purposes.
|
Networking |
Technical Q&As |
2003-04-11
|
Can I have parameters of type typeHIRect instead of type typeQDRectangle in my kEventControlBoundsChanged message handler?
(HTML)
()
QA1246: Details the automatic coercions between QuickDraw and Quartz types provided by the Carbon Event Parameter accessors.
|
Human Interface Toolbox |
Technical Q&As |
2003-04-03
|
Collection Manager Reference
(HTML)
(PDF)
Describes the C API for implementing an abstract data type that stores related pieces of information.
|
Data Management |
Reference |
2003-04-01
|
Language Analysis Manager Reference
(HTML)
(PDF)
Describes the Carbon shared library that performs morphological analysis for Japanese text.
|
Internationalization |
Reference |
2003-04-01
|
Mixed Mode Manager Reference
(HTML)
(PDF)
Describes the interface that supports PowerPC computers running 680x0 code.
|
Runtime Architecture |
Reference |
2003-04-01
|
CarbonInCocoa
(HTML)
(DMG)
(ZIP)
How to use Carbon GUI code in a Cocoa application.
|
Events & Other Input |
Sample Code |
2003-03-26
|
FSSetCatalogInfo versus UID and GID
(HTML)
()
QA1251: Describes why FSSetCatalogInfo does not set the UID and GID of the file, and provides a work around.
|
File Management |
Technical Q&As |
2003-03-26
|
Internet Connect Speed
(HTML)
()
QA1165: Describes how to get the modem connection speed from the System Configuration framework dynamic store.
|
Core Foundation |
Technical Q&As |
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
|
How do I use PMSessionGetGraphicsContext to get a CGContextRef?
(HTML)
()
Deprecated - QA1216: Describes how to use PMSessionSetDocumentFormatGeneration and PMSessionGetGraphicsContext to get a CGContextRef for printing.
|
Graphics & Imaging, Printing |
Technical Q&As |
2003-02-25
|
Quartz 2D Thread Safety
(HTML)
()
QA1238: Explains the thread-safety issues for the Quartz 2D API.
|
Graphics & Imaging, Performance, Printing, Process Management |
Technical Q&As |
2003-02-25
|
Guide to Creating Kiosks on Mac OS X
(HTML)
()
TN2062: Discusses techniques used in creating applications which require kiosk-like functionality on Mac OS X.
|
Human Interface Toolbox, User Experience |
Technical Notes |
2003-02-24
|
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
|
Accessing HTTPS Proxy Settings
(HTML)
()
QA1234: Describes how to programatically access Secure Web Proxy information.
|
Networking |
Technical Q&As |
2003-02-19
|
Ensuring Backwards Binary Compatibility - Weak Linking and Availability Macros on Mac OS X
(HTML)
()
TN2064: Ensuring that Mach-O applications built using today's Mac OS X runs on previous versions of the OS.
|
Design Guidelines, Runtime Architecture |
Technical Notes |
2003-02-18
|
Mac OS X QuickDraw Performance
(HTML)
()
TN2051: Some of the trouble spots in the Mac OS X windowing system and how to avoid them.
|
Graphics & Imaging, Performance |
Technical Notes |
2003-02-13
|
Text Encodings in VFS
(HTML)
()
QA1173: How to handle text encodings correctly when writing a file system (VFS) plug-in for Mac OS X.
|
File Management |
Technical Q&As |
2003-02-10
|
Converting to Precomposed Unicode
(HTML)
()
QA1235: Describes how to convert a string to precomposed Unicode.
|
Internationalization, Text & Fonts |
Technical Q&As |
2003-02-07
|
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
|
Obtaining and Using Icons With Icon Services
(HTML)
(PDF)
Explains how to obtain and display icons for a Carbon application or extension.
|
Human Interface Toolbox, User Experience |
Guides |
2003-02-01
|
Speech Recognition Manager Reference
(HTML)
(PDF)
Describes the C interface for recognizing and accepting spoken input.
|
Accessibility, Events & Other Input, User Experience |
Reference |
2003-02-01
|
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
|
File Manager Text Encoding Hints
(HTML)
()
QA1223: How to use Text Encoding Hints.
|
File Management |
Technical Q&As |
2003-01-20
|
Debugging Programming Topics for Core Foundation
(HTML)
(PDF)
Tips and techniques for debugging Core Foundation code.
|
Core Foundation, Performance |
Guides |
2003-01-17
|
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
|