Category Archives: Cocoa

The Mysteries of iCal, Revealed!

Note: As of Snow Leopard, this functionality has been superseded by an official Dock tile plug-in mechanism. One of the minor yet shiny new features of Mac OS X 10.5 is that iCal’s dock icon now shows the correct date … Continue reading

Posted in Cocoa, Code | Tagged , , , , | 23 Comments

A Corny Plug-in

As soon as I saw Gus Mueller’s offer of a free license for anyone writing a decent plug-in for Acorn, I felt moved to exploit his generosity contribute to the nascent plug-in community. So I quickly slapped together a possibly-useful … Continue reading

Posted in Cocoa, Code | 2 Comments

Priority Queue

The Foundation framework: it has some collections. It doesn’t have others. In particular, it doesn’t have a priority queue, which I need. CoreFoundation does, but this is for Oolite so it needs to work with GNUstep. Yes, I could bring … Continue reading

Posted in Cocoa, Code, Oolite | 5 Comments

Performance Comparisons of Common Operations, PPC Edition

Mike Ash has written some microbenchmarks to test the speed of operations like Objective-C message dispatch and object creation, in response to people’s premature optimizations based on unfound assumptions. This is one of those issues that comes up rather often. … Continue reading

Posted in Cocoa, Code | 2 Comments

GLSL uniform bindings for Cocoa

Executive summary: This article demonstrates the use of Objective-C’s dynamic object model and the Foundation framework to extract attributes from objects using information not available at compile time. This is done on the context of implementing OpenGL Shader Language support … Continue reading

Posted in Cocoa, Oolite, OpenGL | Leave a comment