french english

RSS 1.0 
 
 Login 
 Password 
 Sign in 
 
12-04-08 / 20:04 : Cocoa tutorials and books (cjed)
In 2005 we could read a stunning tutorial about CoreData (with a great layout), on the site Cocoa Dev Central, written by Scott Stevenson. Since, two new tutorials from the same author (more simple but as nice) have been added, and updated to Leopard :
Learn Cocoa and Learn Cocoa II.

On its very friendly blog, the author provides a Core Animation tutorial (and derived versions as screensaver). We also find a link to a beta version of an upcoming book about Core Animation, Core Animation for OS X : Creating Dynamic Compelling User Interfaces. The downloadable version (PDF) is available for 22$ (220 pages, the printed version is priced 44$ and expected this June, 2008), and code of the included examples are provided for free.

Finally the third edition of Aaron Hillegass's Cocoa Programming is coming. It will deal with the following themes of Tiger and Leopard (the second edition from 2004 only covered MacOSX 10.3) : Garbage Collection (Objective-C 2, Leopard), Core Animation (Leopard), Window and View Controllers, and two chapters on Core Data (appeared in Tiger). It is also expected in June 2008 (WWDC). Meanwhile we can download the solutions of the second edition's examples here.

As a starting point, there is also the great Cocoa Programming from Scott Anguish, Erik Buck and Donald Yacktman, that was out in september, 2002 (and covered then up to MacOSX 10.1) and is the most exhaustive (1272 pages). It is the book I buyed in 2003 at Eyrolles (US import, 68 euros), and that I recently started again reading (9 first chapters for now - that is 280 pages -, that confirm that Java, even after having evolved these last 10 years, is still far behind Objective-C/Cocoa, and is only intended to create a giant market, buzz and unnecessary needs, encouraged by many companies and consortiums, that wouldn't like to see a proprietary technology spreading).

We can look at a recent tutorial about Cocoa threads (NSOperation and NSOperationQueue) on the great site Cocoa is my girlfriend.

An older site, Cocoa 3D, provided in 2003 a framework that wrapped Cocoa OpenGL APIs, that are lower level than NeXTstep's 3DKit. In fact we can download on the ADC a great PDF, OpenGL Programming Guide for Mac OS X (166 pages, revised late 2007) that presents the 3 OpenGL programming levels on MacOSX : CoreOpenGLAPI (CGL), that are procedural OpenGL Core APIs, NSOpenGL classes based on these procedural APIs, and AppleGraphicsLibrary(AGL) that are Carbon APIs (also based on CoreOpenGLAPI). That is the usual scheme : CoreFoundation procedural APIs serve as a basis for objects frameworks like FoundationKit and AppKit. An example of screensaver using OpenGL is available at Cocoa Dev Central.

Youtube demos :
Xcode 3 Beep Tutorial
Simple Objective-C/Cocoa Xcode Tutorial
Xcode 3 and Cocoa programming tutorial
Comments
Write a comment 
  
    
  image de securisation du formulaire


  
      (will be added after validation)