Jump To:
Technical Q&As are short question and answer formatted pages that provide answers to questions frequently received at Apple Developer Technical Support.

Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Topic
Sort by
Date
Enabling the application menu's "Preferences" menu item on Mac OS X (HTML)
QA1552: Describes the two things you need to implement to enable the "Preferences" menu item on Mac OS X.
Cocoa, User Experience 2008-01-21
Enabling the application menu's "Preferences..." menu item on Mac OS X (HTML)
QA1079: Explains how to enable the application menu's "Preferences..." menu item on Mac OS X.
Carbon 2001-10-30
Enabling the Navigation Services default behavior in its dialogs (HTML)
QA1384: Explains how to enable the default behavior of the Navigation Services dialogs.
Carbon 2004-10-15
Enabling X11 Forwarding (HTML)
QA1383: Describes how to enable ssh clients to receive X11 communication from a Mac OS X system.
Internet & Web, Mac OS X Server, Open Source, Security 2004-10-25
Endian Concerns When Playing 'snd ' Resources (HTML)
QTW97: Use the Resource Manager to avoid byte-swapping 'snd ' resources before playing under Windows
QuickTime 1999-11-08
Energy Star PCI Device (HTML) (日本語 HTML)
QA1108: Provides useful information for developers of Energy Star-compliant PCI devices.
Darwin, Hardware & Drivers 2002-01-15
Ensuring hardware accelerated rendering for your OpenGL application (HTML)
QA1502: Using the NoRecovery pixel format attribute and how to check whether vertex and fragment processing is executed on the GPU or CPU
Games, Graphics & Imaging 2007-07-18
Enumerating fonts with ATS (HTML)
QA1471: Describes the different ATS font enumeration methods
Carbon, Text & Fonts, User Experience 2006-04-14
Environment Variables (HTML)
QA1255: Describes how a process gets its environment variables.
Carbon, Cocoa 2003-10-29
Error -151 and NewGWorld (HTML)
Deprecated - QD18: Explains what the error code -151 means when in NewGWorld.
Carbon, Graphics & Imaging, Performance, User Experience 1995-09-15
Error -3168 (kOTStateChangeErr) and Handoff Endpoints (HTML) (日本語 HTML)
Deprecated - NW22: Explains why a kOTStateChangeErr -3168 occurs when there is a handoff endpoint involved.
Carbon, Networking 1996-04-08
Exception in JFileChooser.setAcceptAllFileFilterUsed (HTML)
Deprecated - QA1280: Workaround for a known issue in Java 1.4.1 Update 1 on Jaguar.
Java 2003-10-07
Expanding Tilde-based paths (HTML)
QA1549: Demonstrates how to resolve tilde-based relevant paths.
Carbon, Cocoa, Core Foundation 2008-09-08
Explanation of SDRAM configuration Nomenclature (HTML)
HW75: Explains the three-part "Device configuration" numbers for SDRAM in the Power Mac G4 Computer Developer Note.
Hardware & Drivers 1999-10-18
Exporting TIFF files in little-endian format (HTML)
QA1044: Explains how to export a TIFF file in little-endian format.
QuickTime 2001-06-26
ExpressCard Prevents System Sleep (HTML)
QA1517: Describes how some ExpressCard cards can prevent system sleep and how to fix the problem.
Darwin, Hardware & Drivers 2007-02-28
Extracting DV Fields using QTNewGWorldFromPtr (HTML)
QA1017: Describes using QTNewGWorldFromPtr to access individual fields contained within a frame of DV source.
Carbon, Graphics & Imaging, QuickTime 2001-03-20
Faster DDR DRAM in the 867MHz Power Mac G4 (Mirrored Drive Doors) (HTML) (日本語 HTML)
QA1191: Confirms the use of faster DDR DRAM in the 867MHz Power Mac G4 (Mirrored Drive Doors).
Hardware & Drivers 2002-08-19
fBroadCastAddr Always Zero (HTML) (日本語 HTML)
Deprecated - NW58: Explains why the fBroadcastAddr field may be zero after a call to OTInetGetInterfaceInfo and includes the workaround.
Carbon, Networking 1999-03-08
File Manager Text Encoding Hints (HTML) (日本語 HTML)
QA1223: How to use Text Encoding Hints.
Carbon, Darwin 2003-01-20
Filtering QuickTime media types in Navigation Services (HTML) (日本語 HTML)
QA1274: Describes how to filter QuickTime media types in a Navigation Services filter procedure.
Carbon, QuickTime 2003-07-23
Filtering the Effects List returned by QTGetEffectsList (HTML) (日本語 HTML)
QA1190: Shows how to edit the list of effects returned by the QTGetEffectsList function.
QuickTime 2002-09-04
Final Cut Pro - Preferred Video Media Time Scales and Sample Durations (HTML)
QA1447: Lists the preferred time scales/sample durations for media created for use with FCP.
Apple Applications, QuickTime 2005-10-24
Finding an NSView's current magnification. (HTML)
QA1346: How to discover the current magnification (zoom level) of any NSView.
Cocoa, Graphics & Imaging, User Experience 2005-03-08
Finding EXC_BAD_ACCESS bugs in a Cocoa project (HTML)
QA1367: Discusses how to find memory protection violations or EXC_BAD_ACCESS bugs in Cocoa projects.
Cocoa 2006-10-10
Finding your application's directory (HTML)
FL14: Demonstrates finding your application's directory and setting it as the default directory.
Carbon 2000-06-19
Fixing the Layout Binding of the Tab control User Panes (HTML)
QA1161: Describes the Tab control hierarchy and layouts of its panes and provides a fix to a common problem.
Carbon 2004-10-14
FrontBase and JDBC (HTML)
QA1041: Describes an alternative to using the JDBC adaptor with FrontBase for WebObjects 5.0.
Tools 2001-07-09
FSDeleteObject fails with fBsyErr, sometimes (HTML)
QA1497: Why Spotlight indexing can cause file deletion to fail, and what to do about it.
Carbon 2008-09-24
FSSetCatalogInfo versus UID and GID (HTML) (日本語 HTML)
QA1251: Describes why FSSetCatalogInfo does not set the UID and GID of the file, and provides a work around.
Carbon, Cocoa 2003-03-26
Functions that Modify Movie Properties, QuickTime Track, and Movie Sound Volume (HTML)
QTMTB39: Explains movie volume values, and how to exceed the maximum level using Sound Manager 3.0.
QuickTime 1995-05-01
The Gamma function in the Mac OS X 10.2 Math Library (HTML) (日本語 HTML)
QA1143: How various gamma functions are implemented in Mac OS X
Porting 2002-08-27
Gathering all PostScript Printer Descriptions (PPDs) (HTML)
QA1529: Describes a work around for an issue in PMCopyAvailablePPDs on Mac OS X 10.4 and below
Carbon, Cocoa, Graphics & Imaging, Printing 2008-08-08
GDGetScale (HTML)
Deprecated - QTICM04: Describes the function call GDGetScale, its parameters, and errors it may encounter.
QuickTime 1995-05-01
GDHasScale (HTML)
Deprecated - QTICM03: Describes the function GDHasScale; lists what it returns, its main purpose, parameters, and possible errors.
QuickTime 1995-05-01
GDSetScale (HTML)
Deprecated - QTICM05: Describes the function GDSetScale, its parameters, and the errors it may encounter.
QuickTime 1995-05-01
Generating a Non-Maskable Interrupt (NMI) (HTML) (日本語 HTML)
QA1264: Explains how to generate a non-maskable interrupt (NMI) on modern Macintosh systems.
Audio, Darwin, Hardware & Drivers, Mac OS X Server, Networking, Printing, Tools 2008-10-13
GetDIBFromPict fails with QuickTime "Minimum" installation (HTML)
QA1294: Demonstrates how to check for any available QuickTime components required by individual QuickTime functions.
QuickTime 2004-09-28
GetPortBitMapForCopyBits (HTML) (日本語 HTML)
Deprecated - QD61: Describes the proper usage of GetPortBitMapForCopyBits.
Carbon, Graphics & Imaging 2000-11-08
GetProcAdress and OpenGL Entry Points (HTML) (日本語 HTML)
QA1188: Technique for finding function pointers for OpenGL entry points in Cocoa and Carbon
Carbon, Games, Graphics & Imaging 2002-11-25
Getting a List of Drivers & LUNs (logical unit numbers) (HTML)
Deprecated - DV04: Describes a legacy Mac OS technique for obtaining a list of SCSI Parallel drivers, devices, and LUNs.
Hardware & Drivers 1995-07-01
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
Carbon, Cocoa, Core Foundation, Darwin, Games, Hardware & Drivers, Internet & Web, Java, Mac OS X Server, Networking, Printing, QuickTime, Security 2008-06-03
Getting List of All Processes on Mac OS X (HTML) (日本語 HTML)
QA1123: Describes how, using Carbon and BSD respectively, to list all applications and processes.
Darwin 2002-03-05
Getting NSWindow's toolbar actions to show up in Interface Builder (HTML)
QA1030: How to add the missing -toggleToolbarShown: and -runToolbarCustomizationPalette actions to Interface Builder.
Cocoa 2001-05-03
Getting owner and group name references for PackageMaker package contents (HTML) (日本語 HTML)
QA1285: Describes how to get owner and group name references for PackageMaker package contents.
Tools 2003-08-25
Getting the name of a profile (HTML) (日本語 HTML)
QA1205: Shows how to programmatically get the name of a ColorSync profile.
Graphics & Imaging 2002-10-25
Getting the pixel data from a CGImage object (HTML)
QA1509: Describes how to access the pixel data of a CGImage object
Carbon, Cocoa, Games, Graphics & Imaging 2008-08-27
Getting the User and Computer Name (HTML)
QA1078: Describes how to get the user and computer name on Mac OS X.
Carbon, Core Foundation, Networking 2001-10-30
glFlush() vs. glFinish() (HTML)
QA1158: Explanation of the differences between glFlush() and glFinish()
Graphics & Imaging 2004-10-11
Graphics Exporters - Creating 16-bit-per-channel image files (HTML)
QA1354: Discusses how to use QuickTime Graphics Exporters to create 16-bit-per-channel image files.
Cocoa, Graphics & Imaging, QuickTime 2004-06-03
Graphics Importer -8970 errors & TIFF Support (HTML)
QTMCC18: Discusses the -8970 error when using graphics importers with certain TIFF files.
QuickTime 2000-11-29
Graphics Importers and image files containing multiple layers (HTML) (日本語 HTML)
QA1148: Describes how to get the natural bounds of layers contained in a multi-layered image file.
QuickTime 2002-06-18
GraphicsImportSetBoundsRect resets your Matrix (HTML) (日本語 HTML)
QA1144: Discusses how calling GraphicsImportSetBoundsRect will reset a graphics importers matrix.
QuickTime 2002-05-29
grayishTextOr and Mac OS 8.5 (HTML) (日本語 HTML)
Deprecated - QD59: Explains why text drawn using TextMode(grayishTextOr) is never drawn; provides a workaround.
Carbon, Text & Fonts, User Experience 1998-12-07
The "green" PCI bus (HTML)
HW93: Explains why the PCI bus is considered "green".
Hardware & Drivers 2000-09-05
Handing Off TCP Connections to a Different Port (HTML) (日本語 HTML)
NW25: Explains that a passive TCP connection cannot hand off the connection to a different port address.
Networking 1996-05-14
Handling of Update Events While a Movie Plays (HTML)
Deprecated - QTMTB45: Describes timing issues that can be caused by applications calling WaitNextEvent while playing a QuickTime movie.
QuickTime 1995-09-15
Hang launching signed Applets from JavaScript (HTML)
QA1395: Making a LiveConnect call to a signed Applet before that Applet has finished loading can cause a hang.
Internet & Web, Java 2004-12-02
The header file 'alut.h' is missing from the OpenAL framework. (HTML)
QA1504: ALUT headers were removed from OpenAL.framework with the Xcode 2.4. This Q&A describes how to regain access to those system-supplied symbols
Audio, Carbon 2007-02-06
Help Book Caching During Software Development (HTML)
QA1409: Development situations that can potentially confuse Help Viewer
Carbon, Cocoa, Tools, User Experience 2005-03-30
HID Manager Event Data Underruns (HTML)
QA1038: Explains how to correctly handle HID Manager event queue data underruns.
Audio, Carbon, Core Foundation, Games, Hardware & Drivers 2001-06-13
HIObjectRegisterSubclass returns paramErr (HTML) (日本語 HTML)
QA1213: Explains in which case HIObjectRegisterSubclass would return paramErr and gives a work around.
Carbon 2002-11-12
How can I determine the order of the languages set by the user in the Language tab of the International preference pane? (HTML)
QA1391: Retrieving the order of the languages set by the International preference pane in Cocoa, Carbon, and Terminal.
Carbon, Cocoa, Internationalization 2006-12-19
How can I find out what non-RGB pixel formats a codec supports? (HTML) (日本語 HTML)
QA1249: Applications can find out if a codec supports non-RGB pixel formats.
QuickTime 2008-04-24
How can I get both Subversion (SVN) and CVS on Mac OS X 10.5 (Leopard)? (HTML)
QA1492: Explains where to find Subversion and CVS for installation.
Open Source, Tools 2007-11-15
How can I handle smooth mouse wheel scrolling? (HTML)
QA1453: Details an undocumented Carbon Event which will be added to the public headers in a later DevTools release.
Carbon 2005-11-29
How can I identify the runtime environment, Carbon or Cocoa, of the current application? (HTML)
QA1372: Identifies the runtime environment of the application. Useful only for plugins, frameworks, input methods, etc.
Core Foundation 2006-11-07
How can I optimize a Quartz Composer composition depending on the hardware it runs on? (HTML)
QA1433: Explains how to design compositions that adapt to the hardware limitations.
Apple Applications, Cocoa, Graphics & Imaging, Performance 2005-06-01
How can I programmatically determine the DPI of the current video mode? (HTML) (日本語 HTML)
QA1217: Describes how to compute the DPI for a given display in a given mode using Core Graphics.
Carbon, Cocoa, Games, Graphics & Imaging 2002-12-02
How can I set the default location with the modern Navigation APIs NavCreatexxx? (HTML) (日本語 HTML)
QA1151: Explains how to set the default location with a NavCustomControl call using the kNavCtlSetLocation message in the Event Proc.
Carbon 2002-07-01
How can I tell if a PCI device has on board I/O space? (HTML)
QA1287: Demonstrates "how to" tell if a PCI device has on board I/O space.
Hardware & Drivers 2003-09-24
How can I verify that a Movie can actually draw into a non-RGB GWorld? (HTML) (日本語 HTML)
QA1243: Techniques to verify that a Movie can actually draw into a non-RGB GWorld.
QuickTime 2003-03-05
How can I work with MPEG-2 media using QuickTime? (HTML)
QA1540: How to work with MPEG-2 media using QuickTime.
QuickTime 2007-08-29
How do I access files contained in my AppleScript Studio application's main bundle? (HTML)
QA1493: Explains how to access files stored within an AppleScript Studio application.
Scripting & Automation, Tools 2007-02-05
How do I change the numeric base for the Open Firmware user interface? (HTML)
HW66: Explains how to change the numeric base for the Open Firmware user interface.
Hardware & Drivers 1999-10-11
How do I count the frames in an MPEG movie? (HTML) (日本語 HTML)
QTMTB54: Talks about using the QuickTime Movie Toolbox function GetMovieNextInterestingTime with MPEG media tracks.
QuickTime 2003-05-02
How do I create a QuickTime movie from PCM audio samples in memory? (HTML)
QA1539: How to create a QuickTime movie from PCM audio samples in memory
Audio, QuickTime 2007-08-29
How do I decompress individual frames into an offscreen? (HTML)
QTMTB57: Describes methods for decompressing individual frames of a video track into an offscreen memory buffer.
QuickTime 2000-04-24
How do I determine how much VRAM is available on my video card? (HTML)
QA1168: Using Core Graphics and IOKit to find the physical size of VRAM on installed hardware.
Cocoa, Games, Graphics & Imaging 2004-10-11
How do I determine the top of the Open Firmware dictionary? (HTML)
HW69: Explains how to determine the top of the Open Firmware dictionary.
Hardware & Drivers 1999-10-11
How do I get the hexadecimal value of an NSColor object? (HTML)
QA1576: Describes how to convert an NSColor object to its Hexadecimal value.
Cocoa, Graphics & Imaging, Internet & Web, Text & Fonts 2007-12-19
How do I tell if a particular display is being hardware accelerated by Quartz Extreme? (HTML) (日本語 HTML)
QA1218: Describes how to use CGDisplayUsesOpenGLAcceleration to see if a display is accelerated or not.
Carbon, Cocoa, Games, Graphics & Imaging, Performance 2002-12-04
How do I use asserts while debugging? (HTML)
QA1431: How do I enable asserts so they log their messages and/or break when I'm debugging?
Tools 2006-06-30
How do I use kMPCreateTaskSuspendedMask with MPCreateTask? (HTML)
QA1055: Describes how to start a task that has been suspended with the ability to resume it later.
Carbon 2001-07-02
How do I use PMSessionGetGraphicsContext to get a CGContextRef? (HTML) (日本語 HTML)
Deprecated - QA1216: Describes how to use PMSessionSetDocumentFormatGeneration and PMSessionGetGraphicsContext to get a CGContextRef for printing.
Carbon, Graphics & Imaging, Printing 2003-02-25
How do I use QuickDraw with CGDirectDisplay? (HTML)
QA1011: Explains how to draw to a CGDirectDisplay-captured display using QuickDraw.
Carbon, Games, Graphics & Imaging 2001-04-11
How does Open Firmware generate the name property? (HTML) (日本語 HTML)
HW39: Describes the Open Firmware name property generation process.
Hardware & Drivers 1999-02-15
How many PCI header types exist today? (HTML)
HW92: Briefly describes the three PCI header types defined in the PCI 2.2 specification.
Hardware & Drivers 2000-09-05
How PBDTGetAPPL Chooses Which Copy of an App to Launch (HTML) (日本語 HTML)
Deprecated - TB19: Explains how PBDTGetAppl() chooses which application copy to launch, and how to deal with the trash.
Carbon 1996-05-14
How to add a folder to the contents of a package (HTML)
QA1484: Describes how to add a folder of files to the package contents of executable code
Tools 2006-10-31
How to add other pasteboard types to an HFS Promise drag in Cocoa (HTML)
QA1300: Explains how to add other pasteboard types to an HFS Promise drag in Cocoa.
Cocoa 2003-09-15
How to Compute Data Rate for QuickTime Movies (HTML)
QTMTB46: Describes two methods of measuring the rate of samples for Quicktime movies.
QuickTime 1995-09-15
How to create a Cocoa Disclosure Button Control (HTML)
QA1485: Explains how to create a disclosure button control in Cocoa, not immediately available in Interface Builder.
Cocoa 2006-08-01
How to get a native QuickTime movie object from the QuickTime ActiveX/COM control (HTML)
QA1594: Describes how to get a native QuickTime movie object from the QuickTime ActiveX/COM control
QuickTime 2008-03-27
How to get custom views to show up in NSToolbarItems (HTML)
QA1029: Why custom views may not show up in an NSToolBarItem and how to make it visible.
Cocoa, User Experience 2001-05-03
How to Get the First Video Frame (HTML)
QTMCC01: Describes how to get the first frame of a movie using GetMovieNextInterestingTime.
QuickTime 1995-05-01
How to handle audio data with magic cookie information (HTML)
QA1318: How to handle sound files with magic cookies when using an AudioConverter.
Audio 2003-10-22
How to handle kAudioUnitProperty_MaximumFramesPerSlice (HTML)
QA1533: Illustrates how to use the kAudioUnitProperty_MaximumFramesPerSlice property
Audio 2007-07-16
How to make NSTextField accept tab, return and enter keys. (HTML)
QA1454: Describes how to make the NSTextField control accept tab, return and enter keys by using the control's dispatch delegate method.
Cocoa, Text & Fonts, User Experience 2006-10-09
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Carbon, Cocoa, Graphics & Imaging, Printing 2007-08-02