Nibs

Date Arrow  July 14, 2008

I’m sure the pun between the acronym for “NeXT Interface Builder” and this definition of “cocoa beans” is intentional, but it surprised me anyway:

Tagged   Apple · HumourComments  Add Your Comment 

A Watch – from an OOP perspective

Date Arrow  July 13, 2008

A watch might be one of the most common types of objects, but it remains also one of the earliest pieces of human craftmanship to show an extreme level of complexity, all contained in a small amount of space. Since the late 1700s, artisan watchmakers in Switzerland and elsewhere have shown their pride and skills [...]

Tagged   Papers · SoftwareComments  Add Your Comment 

The beauty of Cocoa

Date Arrow  July 8, 2008

(Highly geeky post ahead. You’ve been warned!) I have found the very message that summarizes the beauty of Cocoa in a single word; see by yourselves, hereunder in line 47: #import // The interface of a person @interface Person : NSObject { NSString* firstName; NSString* lastName; int age; } @end // The implementation of the [...]

Tagged   Apple · Cocoa · Code · Humour · Opinion · SoftwareComments  Add Your Comment (4)

Screen Savers for the Mac using Flash

Date Arrow  March 18, 2008

This is an evening project that turned out to be really cool. Let’s say that you’re a Macromedia Flash designer, and your clients ask you to bundle your nice Flash movie as a screen saver. What to do? For Windows there are free utilities to convert a SWF into a screen saver, but not for [...]

Tagged   Apple · Cocoa · How to?Comments  Add Your Comment (1)

iPhone SDK: Une Nouvelle Ere Démarre

Date Arrow  March 7, 2008

Il y a de moments clés dans l’histoire de la technologie. Hier soir, vers 18h (heure suisse), il s’est produit l’un de ces moments. Apple a dévoilé un SDK (Software Development Kit) pour l’iPhone, et le monde du développement logiciel mobile ne sera plus jamais le même. Voici pourquoi.

Tagged   Apple · Cocoa · SoftwareComments  Add Your Comment (5)

Null References

Date Arrow  March 7, 2008

There’s an interesting discussion going on these days on Ruby blogs about, basically, how to avoid one of the most common, annoying, easy-to-create bugs in any programming language: calling a method on a null reference (or pointer, depending on your language). This single issue happens all the time, in garbage-collected and non-managed languages, static and [...]

Tagged   Cocoa · Code · Ruby on RailsComments  Add Your Comment (4)

How to Grab (or Capture) your Screen with Cocoa?

Date Arrow  January 27, 2007

Lately I got curious to know how could I grab the entire desktop of my computer, and save it into a file, or display it into an NSImageView component. I started to look around on the web and discovered that: There’s no direct support for that in Cocoa There’s a lot of different ways to [...]

Tagged   Cocoa · How to? · SoftwareComments  Add Your Comment (3)