Archive for April, 2007

Remerciement et commentaires

Sunday, April 29th, 2007

J’aimerais remercier tous ceux qui ont assisté à cette première édition de mon atelier Cocoa-Xcode.
Si vous avez des commentaires ou des suggestions, je suis très intéresser à savoir ce qui doit être améliorer.

code

NSNotificationCenter isn’t a singleton

Thursday, April 26th, 2007

Quoting from a reaction to Brent Simmons’s recent entry on large Cocoa projects:
As noted by Michael Tsai, NSNotificationCenter is a singleton, and thus essentially is one big honkin’ global. Globals are bad ™.
This was posted by Andy Finnell echoing Michael Tsai.
But in fact, NSNotificationCenter isn’t a singleton. You can create as many as you want. [...]

Lectures préparatoires

Thursday, April 26th, 2007

Je vous propose les lectures suivantes comme préparation à l’atelier.
Mac OS X Technology Overview
The Objective-C Programming Language
Cocoa Fundamentals Guide

Télécharger et installer Subversion

Wednesday, April 25th, 2007

Il est fortement recommandé d’installer Subversion pour l’atelier. Subversion est une logiciel de gestion de code source libre.
Vous pouvez soit télécharger un paquet binaire, soit compiler Subversion à partir du code source ou en utilisant un système de paquetage comme MacPorts ou Fink.
Subversion 1.4.3 pour Mac OS X
MacPorts
Fink

Télécharger et installer la suite Xcode

Wednesday, April 25th, 2007

Il est fortement recommandé d’installer la suite Xcode pour l’atelier. Elle est gratuite est disponible sur le site d’Apple. Vous devrez vous faire un compte ADC avant de pouvoir télécharger le logiciel.
http://developer.apple.com/tools/xcode/

projects

MPQFS 0.2

Tuesday, April 3rd, 2007

Update: mpqfs 0.3 is available.
MPQFS 0.2 is now available. This release can load external listfiles, which is useful when an archive’s internal listfile is incomplete, resulting in missing files or “unknown xyz” files at the root of the archive (MPQKit generates those filenames for files it can open but whose filename is unknown).
You can specify [...]

projects

Introducing MPQFS

Monday, April 2nd, 2007

Update: mpqfs 0.3 is available.
MPQFS (or MoPaQ Filesystem) is a FUSE filesystem that allows one to mount a MoPaQ archive and use regular system tools such as the Finder or standard UNIX programs to access the content of the archive.
Before you can use MPQFS, you will need to install (or compile) MacFUSE, the Mac OS [...]

projects

MPQKit 1.0b1

Monday, April 2nd, 2007

MPQKit 1.0b1 is the culmination of many months of development. It fully supports version 0 (the original format limited to less than 4 GB) and version 1 (or the extended format not limited to 4 GB) MoPaQ archives, all known compression methods, all known file metadata attributes, weak and strong signature verification, extensive error handling [...]

projects

Teaser for things to come… later today

Monday, April 2nd, 2007

code

Macros for more sane NSError programming

Sunday, April 1st, 2007

Jeff Johnson recently posted an entry about using NSError in Cocoa to dramatically improve error handling. I wholeheartedly agree with the idea, and in fact adding NSError “variants” during MPQKit’s refactor was one of my top priorities.
That being said, there are a few annoyances with using NSError, one of which is constantly having to check [...]