Graphics
Core Animation
This sampe demonstrates searching image files using Core Animation like the demo in WWDC 2007 Keynote. Please select a folder that contains images at first. Search will be performed for file names.
OpenGL
- Cocoa + OpenGL Basis: [ZIP] (2008/03/10)
This sampe shows very basic OpenGL usage in Cocoa, with "OpenGL View" put into a window at Interface Builder.
- Own Initialization of Cocoa + OpenGL: [ZIP] (2008/03/10)
This sample shows how to initialize a NSOpenGLView subclass, which was put into a window as a "Custom View" at Interface Builder.
- Cocoa + OpenGL without NSOpenGLView: [ZIP] (2008/03/10)
This sample shows how to use OpenGL in Cocoa without any NSOpenGLView.
- OpenGL Texture Creation by Cocoa + ImageIO: [ZIP] (2008/03/10)
This sample shows how to create OpenGL textures with ImageIO API.
- Thread Animation by Cocoa + CGL: [ZIP] (2008/03/10)
This sample create a new thread for animation, which uses CGL to constantly update the view.
- OpenGL Drawing & Printing: [ZIP] (2008/03/15)
This sample shows how to draw views via OpenGL onto both of screens and printers.
OpenGL (with GCC)
- OpenGL Texture Generation with ImageIO: [ZIP] (2008/07/08)
This sample shows how to create OpenGL textures with ImageIO API. There are two samples inside, one of which uses textures of GL_TEXTURE_2D, and the other one uses textures of GL_TEXTURE_RECTANGLE_EXT.
Text Processing
HTML
- SAX Parsing of HTML using libxml2: [ZIP] (2009/03/01)
Sounds
Core Audio
- Music Playback with Core Audio: [ZIP] (2009/01/24)
This sample shows how to play music files simply with Core Audio.