Sort by Title |
Sort by Topic |
Sorted by Resource Type |
Sort by Date |
QTCoreVideo103
(HTML)
(DMG)
(ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL texture range and the Core Video pixel buffer pipeline.
|
OpenGL, QuickTime, Video |
Sample Code |
2008-06-06
|
QTCoreVideo201
(HTML)
(DMG)
(ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL FBO and the Core Video texture pipeline.
|
OpenGL, QuickTime, Video |
Sample Code |
2008-06-06
|
MyMovieFilter
(HTML)
(DMG)
(ZIP)
How to play a movie into a layer-backed QTMovieView and apply a Core Image filter while the movie plays.
|
QuickTime |
Sample Code |
2008-06-02
|
WhackedTV
(HTML)
(DMG)
(ZIP)
A Cocoa version of the venerable HackTV sample code, demonstrating usage of the Sequence Grabber API's
|
QuickTime |
Sample Code |
2008-05-09
|
SampleScannerApp
(HTML)
(DMG)
(ZIP)
This project implements a simple client accessing an ICA scanning device.
|
Carbon |
Sample Code |
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
|
Carbon, Cocoa, Games, Quartz |
Sample Code |
2008-04-24
|
LiveVideoMixer
(HTML)
(DMG)
(ZIP)
LiveVideoMixer demonstrates customized video rendering with QuickTime 7 and CoreVideo and OpenGL.
|
OpenGL, QuickTime, Video |
Sample Code |
2008-04-24
|
QTCoreVideo101
(HTML)
(DMG)
(ZIP)
Demonstrates (with very little code) how to render a QuickTime Movie using CoreVideo and OpenGL.
|
OpenGL, QuickTime, Video |
Sample Code |
2008-04-24
|
GLUT
(HTML)
(DMG)
(ZIP)
The OpenGL Utility Toolkit (GLUT) for Mac OS X version 3.4.0 (supporting the GLUT 3.7 API)
|
OpenGL |
Sample Code |
2008-02-08
|
OpenGL Filter Basics Cocoa
(HTML)
(DMG)
(ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
|
Cocoa, Games, OpenGL, Performance |
Sample Code |
2008-02-06
|
ImageApp
(HTML)
(DMG)
(ZIP)
Demonstrates basic image handling using the ImageIO APIs in Mac OS X 10.4 Tiger
|
Cocoa, ColorSync, Quartz |
Sample Code |
2008-01-24
|
GeekGameBoard
(HTML)
(DMG)
(ZIP)
Shows how to use Core Animation for the user interface of a board or card game.
|
Cocoa, Games, Performance, Quartz |
Sample Code |
2007-12-19
|
StillMotion
(HTML)
(DMG)
(ZIP)
Demonstrates how to use the QTKit Capture APIs to build a simple application that creates stop motion animations.
|
QuickTime |
Sample Code |
2007-11-14
|
BoingX
(HTML)
(DMG)
(ZIP)
Shows off using Quartz Extreme to provide borderless OpenGL content on the desktop.
|
Cocoa, OpenGL |
Sample Code |
2007-11-06
|
GLSL Showpiece Lite
(HTML)
(DMG)
(ZIP)
Using GLSL from a Cocoa application
|
Games, OpenGL, Performance |
Sample Code |
2007-11-05
|
CocoaSlides
(HTML)
(DMG)
(ZIP)
An image browser written using AppKit's Core Animation-based compositing and animation functionality
|
Cocoa, Quartz |
Sample Code |
2007-11-02
|
Son of Grab
(HTML)
(DMG)
(ZIP)
Shows how to use the new CGWindow to get window images from the Window Server.
|
Carbon, Cocoa, Quartz |
Sample Code |
2007-11-01
|
Cocoa OpenGL
(HTML)
(DMG)
(ZIP)
Demonstrates using Cocoa with OpenGL, including window setup and event handling.
|
OpenGL |
Sample Code |
2007-10-22
|
CIVideoDemoGL
(HTML)
(DMG)
(ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
|
QuickTime, Video |
Sample Code |
2007-10-03
|
MassiveImage
(HTML)
(DMG)
(ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
|
Carbon, Cocoa, Games, Quartz |
Sample Code |
2007-09-27
|
Core Animation QuickTime Layer
(HTML)
(DMG)
(ZIP)
Shows the use of controls in a Layer over a Core Animation QTMovieLayer
|
Cocoa, QuickTime |
Sample Code |
2007-09-26
|
Quartz 2D Shadings
(HTML)
(DMG)
(ZIP)
Shows how to use CGShading and CGGradient objects to draw simple gradients.
|
Carbon, Cocoa, Quartz |
Sample Code |
2007-08-31
|
OpenGLCaptureToMovie
(HTML)
(DMG)
(ZIP)
How to capture the screen on Mac OS X using OpenGL and save to a QuickTime movie.
|
OpenGL |
Sample Code |
2007-08-30
|
Cocoa PDE with Carbon Printing
(HTML)
(DMG)
(ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
|
Printing |
Sample Code |
2007-07-27
|
Quartz 2D Transformer
(HTML)
(DMG)
(ZIP)
Shows how to use Quartz 2D to manipulate an image
|
Carbon, Cocoa, Quartz |
Sample Code |
2007-06-21
|
LayerBackedOpenGLView
(HTML)
(DMG)
(ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
|
Cocoa |
Sample Code |
2007-06-12
|
BasicCocoaAnimations
(HTML)
(DMG)
(ZIP)
"BasicCocoaAnimations" demonstrates the use of the animator proxy to easily animate Cocoa views and windows.
|
Cocoa |
Sample Code |
2007-06-11
|
PinBallHighScores
(HTML)
(DMG)
(ZIP)
Demonstrates use of Quartz Composer for displaying data within an application
|
Quartz |
Sample Code |
2007-06-11
|
QuartzComposerSamplePatches
(HTML)
(DMG)
(ZIP)
A short list of new patches in Quartz Composer Mac OS X 10.5
|
Cocoa, Quartz |
Sample Code |
2007-06-11
|
VideoHardwareInfo
(HTML)
(DMG)
(ZIP)
Query VRAM, Quartz Extreme support, OpenGL extensions and renderer, GLSL version and support.
|
Cocoa, Games, Hardware & Drivers, OpenGL, Quartz |
Sample Code |
2007-05-14
|
PictureTaker
(HTML)
(DMG)
(ZIP)
Demonstrates the PictureTaker in a basic Cocoa application
|
Cocoa |
Sample Code |
2007-04-02
|
ImageBrowser
(HTML)
(DMG)
(ZIP)
Demonstrates the ImageKit's IKImageBrowserView to browse images in a basic Cocoa application.
|
Cocoa |
Sample Code |
2007-03-13
|
Grady
(HTML)
(DMG)
(ZIP)
Demonstrates how to use the NSGradient class.
|
Cocoa |
Sample Code |
2007-02-28
|
MyCustomColorPicker
(HTML)
(DMG)
(ZIP)
Shows how to write a custom color picker using Cocoa.
|
Cocoa |
Sample Code |
2006-10-09
|
CarbonQuartzComposer_TV
(HTML)
(DMG)
(ZIP)
Demonstrates how to integrate Cocoa based QuartzComposer window into a Carbon based application
|
Cocoa, Video |
Sample Code |
2006-10-02
|
ImageBackground
(HTML)
(DMG)
(ZIP)
Shows how to draw an image in the background of an NSOutlineView and NSTableView.
|
Cocoa |
Sample Code |
2006-10-02
|
PBORenderToVertexArray
(HTML)
(DMG)
(ZIP)
This sample demonstrates render-to-vertex-array using FBO, PBO, and VBO.
|
OpenGL, Performance |
Sample Code |
2006-10-02
|
CITransitionSelectorSample2
(HTML)
(DMG)
(ZIP)
Showing all available Core Image transitions in a scrollable NSOpenGLView
|
Cocoa, OpenGL, Quartz |
Sample Code |
2006-09-18
|
FBOBunnies
(HTML)
(DMG)
(ZIP)
Demonstrates how to use framebuffer objects (FBO)
|
OpenGL, Performance |
Sample Code |
2006-09-18
|
Quartz2DBasics
(HTML)
(DMG)
(ZIP)
Carbon and Cocoa sample code demonstrating some basic usage of the Quartz 2D API
|
Carbon, Cocoa, Quartz |
Sample Code |
2006-09-11
|
QCFundamentals
(HTML)
(DMG)
(ZIP)
Demonstrates Coordinate, Interpolation, and Iterative systems in Quartz Composer with an amusing animation
|
Cocoa, OpenGL, Quartz, Tools |
Sample Code |
2006-08-07
|
QCGalaxy
(HTML)
(DMG)
(ZIP)
Demonstrates use of Particle Systems and Core Image Filters in Quartz Composer
|
Cocoa, OpenGL, Quartz, Tools |
Sample Code |
2006-08-07
|
IKSlideshowDemo
(HTML)
(DMG)
(ZIP)
This small sample project shows how to use the ImageKit Slideshow to display images or PDFs.
|
Cocoa, Quartz |
Sample Code |
2006-08-01
|
LiveVideoMixer3
(HTML)
(DMG)
(ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
|
Cocoa, QuickTime |
Sample Code |
2006-08-01
|
SetCustomIcon
(HTML)
(DMG)
(ZIP)
Demonstrates how to programmatically set a custom icon for a file, folder, or disk.
|
Carbon |
Sample Code |
2006-08-01
|
PDF Annotation Editor
(HTML)
(DMG)
(ZIP)
Demonstrates how to use PDF Kit to examine, edit, and create PDF annotations.
|
Cocoa |
Sample Code |
2006-07-31
|
PDF Calendar
(HTML)
(DMG)
(ZIP)
Demonstrates how to use PDF Kit to create PDF content.
|
Cocoa |
Sample Code |
2006-07-31
|
CarbonCocoaCoreImageTab
(HTML)
(DMG)
(ZIP)
Carbon-based application creates a Cocoa-based web window which used CoreImage filters to transition between tabbed WebViews
|
Carbon, Cocoa |
Sample Code |
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 |
Sample Code |
2006-07-18
|
GLSLShowpiece
(HTML)
(DMG)
(ZIP)
GLSLShowpiece demonstrates several Vertex and Fragment shaders
|
Cocoa, Games, OpenGL |
Sample Code |
2006-07-17
|
QTPixelBufferVCToCGImage
(HTML)
(DMG)
(ZIP)
Demonstrates using QTPixelBufferContextCreate with NewMovieFromProperties to output pixel buffers from a movie and draw them.
|
Quartz, Video |
Sample Code |
2006-07-07
|
LiveVideoMixer2
(HTML)
(DMG)
(ZIP)
An updated LiveVideoMixer with DV out over FireWire
|
OpenGL, QuickTime |
Sample Code |
2006-05-05
|
Fractal Performance
(HTML)
(DMG)
(ZIP)
Three fractal applications that show various bottlenecks and how they can be fixed.
|
Java, Performance |
Sample Code |
2006-04-17
|
QTCarbonCoreImage101
(HTML)
(DMG)
(ZIP)
Demonstrates how to render QuickTime Movies using Core Image filters and the new video pipeline.
|
QuickTime |
Sample Code |
2006-02-14
|
WebKitCIPlugIn
(HTML)
(DMG)
(ZIP)
This sample WebKit plugin for Safari demonstrate how to use CoreImage in a HTML page.
|
OpenGL |
Sample Code |
2005-11-28
|
CocoaDVDPlayer
(HTML)
(DMG)
(ZIP)
Demonstrates how to use DVD Playback Services to play DVD-Video media.
|
Video |
Sample Code |
2005-11-04
|
QTQuartzPlayer
(HTML)
(DMG)
(ZIP)
QTQuartzPlayer demonstrates how to render QuickTime Movies and live video with OpenGL and CoreVideo.
|
QuickTime |
Sample Code |
2005-10-04
|
PDFKitLinker2
(HTML)
(DMG)
(ZIP)
Demonstrates many aspects of PDFKit including navigation, display modes, searching, and PDFView subclassing.
|
Cocoa |
Sample Code |
2005-08-10
|
CIAnnotation
(HTML)
(DMG)
(ZIP)
Image annotation application using Core Image Filters. Demonstrates creation and usage of Image Units.
|
Cocoa, OpenGL, Quartz |
Sample Code |
2005-08-01
|
VideoViewer
(HTML)
(DMG)
(ZIP)
Simple example of video rendering using QuickTime visual contexts, OpenGL, Core Video and Core Image.
|
Performance, Video |
Sample Code |
2005-08-01
|
QTCoreImage101
(HTML)
(DMG)
(ZIP)
Demonstrates how to render a QuickTime Movie using Core Image filters and the new video pipeline.
|
Cocoa, Quartz, QuickTime, Video |
Sample Code |
2005-07-19
|
Quartz Composer QCTV
(HTML)
(DMG)
(ZIP)
Shows how to build a fake TV system using Quartz Composer as the foundation motion graphics.
|
Cocoa, OpenGL, Quartz, QuickTime |
Sample Code |
2005-07-06
|
Reducer
(HTML)
(DMG)
(ZIP)
Simple utility for rescaling bitmapped images. Demonstrates use of Core Image, NSAnimation, view drawing redirection.
|
Cocoa |
Sample Code |
2005-06-06
|
UnsharpMask
(HTML)
(DMG)
(ZIP)
Demonstrates how to build Automator actions using Cocoa frameworks.
|
Cocoa |
Sample Code |
2005-06-06
|
JustDraw
(HTML)
(DMG)
(ZIP)
Sample code being used in the WWDC 2005 Hands-On session 215 "Moving from QD to Quartz"
|
Carbon, Quartz |
Sample Code |
2005-06-01
|
Link Snoop
(HTML)
(DMG)
(ZIP)
Shows how to use PDFKit to scan for and highlight link annotations in PDFs.
|
Cocoa |
Sample Code |
2005-06-01
|
MouseTracking
(HTML)
(DMG)
(ZIP)
Sample code used in the WWDC 2005 Hands-On session 215 "Moving from QD to Quartz"
|
Carbon, Quartz |
Sample Code |
2005-06-01
|
MyPhoto
(HTML)
(DMG)
(ZIP)
Demonstrates preferred techniques for working with the Image Capture APIs
|
Carbon, Cocoa |
Sample Code |
2005-06-01
|
Quartz Composer Live DV
(HTML)
(DMG)
(ZIP)
Shows how to export a Quartz Composer composition as a real-time DV stream on the FireWire port.
|
Cocoa, OpenGL, Quartz, QuickTime |
Sample Code |
2005-06-01
|
Quartz Composer Matrix
(HTML)
(DMG)
(ZIP)
Shows how to use Quartz Composer to display a QuickTime movie as a series of frames in a 3D world.
|
Cocoa, OpenGL, Quartz, QuickTime |
Sample Code |
2005-06-01
|
Quartz Composer Offline Rendering
(HTML)
(DMG)
(ZIP)
Shows how to render a Quartz Composer composition as a series of images using an OpenGL pBuffer.
|
Cocoa, OpenGL, Quartz |
Sample Code |
2005-06-01
|
Quartz Composer Texture
(HTML)
(DMG)
(ZIP)
Shows how to use a Quartz Composer composition as an OpenGL texture.
|
Cocoa, Games, OpenGL, Quartz |
Sample Code |
2005-06-01
|
Quartz Composer WWDC 2005 Composition
(HTML)
(DMG)
(ZIP)
Shows how to build a parameterized motion graphics composition with Quartz Composer.
|
Cocoa, Quartz, Tools |
Sample Code |
2005-06-01
|
Quartz Composer WWDC 2005 TextEdit
(HTML)
(DMG)
(ZIP)
Demonstrate how to modify TextEdit's about dialog to display a Quartz Composer composition.
|
Cocoa, Quartz |
Sample Code |
2005-06-01
|
QuartzCache
(HTML)
(DMG)
(ZIP)
Demonstrates several caching techniques using CGBitmapContext, CGImageRef re-use, CGLayerRefs, CGImageSource.
|
Performance, Quartz |
Sample Code |
2005-06-01
|
QuartzLines
(HTML)
(DMG)
(ZIP)
Drawing Lines using Quartz's CGPath & CGContextStrokeLineSegments functions.
|
Quartz |
Sample Code |
2005-06-01
|
TexturePerformanceDemo
(HTML)
(DMG)
(ZIP)
OpenGL texture optimization demo for WWDC Session 214
|
Cocoa, Games, OpenGL |
Sample Code |
2005-06-01
|
VertexPerformanceDemo
(HTML)
(DMG)
(ZIP)
Vertex optimization demo for WWDC Session 214
|
Cocoa, Games, OpenGL |
Sample Code |
2005-06-01
|
Worm
(HTML)
(DMG)
(ZIP)
NSView performance demonstration. Uses a periodic timer to get best performance with Coalesced Update feature.
|
Cocoa, Performance |
Sample Code |
2005-06-01
|
CarbonSketch
(HTML)
(DMG)
(ZIP)
Core Graphics only example of a Sketch application implemented with HIToolbox. Shows 1x1-CGBitmapContext for hit-testing, printing.
|
Carbon, Quartz |
Sample Code |
2005-03-23
|
QuartzShapes
(HTML)
(DMG)
(ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
|
Carbon, Quartz |
Sample Code |
2005-03-08
|
NSGLImage
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
|
Cocoa, Games, OpenGL |
Sample Code |
2004-12-01
|
GLCarbon1ContextPbuffer
(HTML)
(DMG)
(ZIP)
Demostrates using OpenGL pixel buffers with a single shared context.
|
OpenGL |
Sample Code |
2004-03-26
|
GLCarbonSharedPbuffer
(HTML)
(DMG)
(ZIP)
Demostrates sharing a single OpenGL pixel buffer with multiple other contexts.
|
OpenGL |
Sample Code |
2004-03-26
|
GLUTBasics
(HTML)
(DMG)
(ZIP)
Simple GLUT example which can be used as starter code.
|
OpenGL |
Sample Code |
2004-03-26
|
GLUTSurfaceTexture
(HTML)
(DMG)
(ZIP)
Example of using the new glutSurfaceTexture.
|
OpenGL |
Sample Code |
2004-03-26
|
NSOpenGL Fullscreen
(HTML)
(DMG)
(ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
|
Cocoa, OpenGL |
Sample Code |
2004-02-11
|
ColorMatching
(HTML)
(DMG)
(ZIP)
Performs simple color matching of images using ColorSync or the QuickTime 6.4 Graphics Importers.
|
Cocoa, ColorSync |
Sample Code |
2003-12-18
|
OpenGL Screensaver
(HTML)
(DMG)
(ZIP)
Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.
|
Cocoa, OpenGL |
Sample Code |
2003-12-10
|
RGB ValueTransformers
(HTML)
(DMG)
(ZIP)
Supersedes the "RGB Image sample". Sample now uses bindings. Color separation now done in an NSValueTransformer subclass.
|
Cocoa, Quartz |
Sample Code |
2003-11-18
|
MoreIsBetter
(HTML)
(DMG)
(ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
|
Carbon |
Sample Code |
2003-10-27
|
qtshell
(HTML)
(DMG)
(ZIP)
Simple QuickTime and QuickTime VR viewer framework.
|
QuickTime |
Sample Code |
2003-10-27
|
TextNameTool
(HTML)
(DMG)
(ZIP)
A command line tool sample illustrating how to use various graphical facilities and services without a login.
|
Typography |
Sample Code |
2003-10-27
|
CollectPictColors
(HTML)
(DMG)
(ZIP)
Deprecated - Uses Picture Utilities package and KnowsPict application to demonstrate collecting colors used by Pict resources.
|
Carbon |
Sample Code |
2003-10-10
|
Palette and GWorld
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates the use of palette and color tables with GWorlds.
|
Carbon |
Sample Code |
2003-10-10
|
TE Over Background
(HTML)
(DMG)
(ZIP)
Deprecated - A textEdit that shows old text editing over a colored background
|
Carbon |
Sample Code |
2003-07-22
|
Cocoa CG aliasing demo
(HTML)
(DMG)
(ZIP)
Shows how to draw both aliased and anti-aliased text and graphics using Quartz and Cocoa.
|
Cocoa, Quartz |
Sample Code |
2003-07-17
|
Cocoa CG arc demo
(HTML)
(DMG)
(ZIP)
Shows how to draw both aliased and anti-aliased arcs using Quartz and Cocoa.
|
Cocoa, Quartz |
Sample Code |
2003-07-17
|
Draw Pixels
(HTML)
(DMG)
(ZIP)
An example of the correct use of DrawPixels.
|
OpenGL |
Sample Code |
2003-07-16
|
TextureRange
(HTML)
(DMG)
(ZIP)
Shows the fundamental techniques required to fast texture upload performance.
|
OpenGL |
Sample Code |
2003-07-16
|