November 2008
1 post
MacRuby →
MacRuby is the only project introduced in the last year or so that’s come close to exciting me as much as Clang.
August 2008
5 posts
Yesterday’s future, tomorrow! Or maybe next week.
You want this method.
On NSArrayController.
- (id)clickedObject
{
NSInteger index = [tableView clickedRow];
return [[self arrangedObjects] objectAtIndex:index];
}
Edit after insert in NSArrayController
Hacky; improved version coming soon.
- (void)editObject:(id)object
{
[self setSelectedObjects:[NSArray arrayWithObject:object]];
[tableView editColumn:0
row:[self selectionIndex]
withEvent:nil
select:YES];
}
- (void)add:(id)sender
{
[super add:sender];
assert([self selectsInsertedObjects]); // cheating
[self...
The NDA sucks.
Get over it.
July 2008
1 post
Protocol Buffers == Thrift == XDR →
Finally, someone remembers XDR, which is as old as Sun RPC.
June 2008
2 posts
Mailing list: HEADS UP: OpenSSL problems after GCC... →
Hey, GCC: you suck. That’s just mean.
May 2008
5 posts
NSDataCategory →
CocoaDev’s great collection of NSData category methods. zlib, MD5, CRC and more.
Xcode Tips of the Day, by Chris Espinosa →
It’s his business to know.
Name mangling →
C++ FTL.
macosx-dev →
Let’s call it the unofficial cocoa-dev. Lower traffic, but more like a family dinner than a yelling match at the football pitch.
Tip.
Junior Mints make your programming go faster.
NetNewsWire makes it go slower. Unless you follow this blog. Then: faster.
April 2008
8 posts
Type punning isn't funny: Using pointers to recast... →
Matt Gallagher started a Cocoa blog in February, and it’s off to a great start. Here’s a nice post on the dangers of type punning and the crutch GCC hands you to lean on.
Cocoa with Love →
A Cocoa blog with lots of interesting posts. There are nice graphical overviews of loading processes in Cocoa, performance analyses of Core Data apps, and more.
What the hell?
If you’re looking for Mac development help, you couldn’t find a worse forum than #macdev. Well, at least 50% of the day, anyway. Bunch of jerks, those guys.
Cocoa Tutorial: Using NSError to Great Effect →
Mr. Zarra is on a roll. The error responder chain is your new bicycle. It will come to see your play. It will pour you a cup of coffee. It will remember your birthday.
Git and .mac: A Match Made In Purgatory →
Marcus Zarra finds a good use for .Mac. Wow!
Adjust Color from F-Spot →
I’m glad the GNOME world does lots of independent UI development work.
Oh well, it’s better than KDE.
benstiglitz: this conversation is nuts, we need a token
benstiglitz passes the token
SRabbelier: benstiglitz: the one from the "Tolkien Ring Network" that made Mordor fall?
Generally non-preemptive kernel mode code
– A guide on developing an OS kernel, explaining how different parts of the system run
March 2008
8 posts
Unless you hate Spotlight, please write your files in one go. And think twice about packages; they’re great for BIG (or indeterminately sized) documents, but not lots of tiny ones.
Git →
Do I really have to say anything else? Just use it.
GCDrawKit →
An incredible drawing canvas library.
Feature request for IM/IRC apps: typing “s/foo/bar/” should _actually_ replace...
– Matt Gemmell on Twitter
Undocumented OS X goodness. →
There’s lots of great stuff here.
The best new class you didn’t know about
NSViewController. It’s the shit.
November 2007
6 posts
Making properties your friend
id x;
NSString *s;
x = s.stuff.other; // bad
id s;
x = s.stuff.other; //good
Deusty Designs: Open Source HTTP Embedded Server →
Put a web server in your app. Ewww, but hey, why not.
Terminal 2 Release Notes →
What’s really new in Terminal.
1 tag
NSCopying in RubyCocoa
objc_method :copyWithZone, '@@:^v'