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 [...]

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

(Article publié sur Profession-Web)

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 dynamic, [...]

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

Core Graphics free e-book

Date Arrow  March 6, 2007

Just found this nice e-book about Core Graphics transitions:

Tagged   Books · CocoaComments  Add Your Comment (1)

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 do it, [...]

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

A new programming language every year…

Date Arrow  March 29, 2006

Somewhere I read that it was a good thing to learn at least one new programming language every year; I think I have kept up that trend since 1992:

1992: QBasic
1993: Turbo Pascal
1994: C
1995: Delphi
1996: Java
1997: JavaScript
1998: VBScript
1999: Transact-SQL
2000: C# and Prolog
2001: C++
2002: PHP
2003: Objective-C
2004: Visual Basic.NET
2005: Ruby

And this year’s winner is: LINQ. The main purpose [...]

Tagged   .NET · Cocoa · Opinion · Ruby on Rails · SoftwareComments  Add Your Comment 

Back from holidays, a quick tip on CocoaMySQL and MySQL 4.1 / 5

Date Arrow  January 22, 2006

I haven’t blogged for a while, having been in Argentina and Bolivia seeing family and friends; now back to Switzerland!
Just a small blog entry for those that have installed MySQL 4.1 or 5 in Mac OS X, and have trouble using CocoaMySQL to use it properly: I found this website where somebody has modified the [...]

Tagged   Cocoa · How to? · Open Source · Ruby on RailsComments  Add Your Comment 

Xcode 2.2, GCC and Ruby on Rails under Mac OS X Tiger

Date Arrow  November 19, 2005

I wanted to update recently Ruby on Rails to version 0.14.3 (the final 1.0 release seems to be closer than ever) on my Mac, under Mac OS X Tiger 10.4.3 with Xcode 2.2 (the latest version) installed. Well, it turns out to be quite difficult.
First of all, I tried the classic method “sudo gem update” [...]

Tagged   Cocoa · How to? · Open Source · Ruby on Rails · SoftwareComments  Add Your Comment 

State of the Art

Date Arrow  July 6, 2005

This article is a copy of a research work I did today, to draw a map of today’s development technologies. It is not finished (it will never be, actually) but I think it is rather interesting. Hope you find it interesting too :)

Tagged   .NET · Architecture · Cocoa · Open Source · Opinion · Ruby on Rails · SoftwareComments  Add Your Comment