Shark is the greatest!
Sunday, June 3rd, 2007I am just now discovering Shark, and it is without a doubt one of the greatest programming tools ever!
I am just now discovering Shark, and it is without a doubt one of the greatest programming tools ever!
This article speculates that Leopard could mean the end of the while “windows” user-interface paradigm. We’ll find out for sure when Steve Jobs gives his WWDC keynote on June 11th. If Leopard really does turn out to mean the end of windows, I’m going to have to really put some serious time into thinking about whether it’s worth keeping Tiger support for this program that I’m working on now.
This comes in handy… I’d been stuck for several days because apparently Scott Stevenson’s [item valueForKey:@”observedObject”] trick will only work in NSManagedObject, not a subclass of it. So I just guessed my way to this, which is now a method in each of my NSManagedObject subclasses:
-(NSManagedObject *)observedObject {
NSManagedObjectID *objID = [self objectID];
NSManagedObjectContext *moc = [self managedObjectContext];
id tmpObject = [moc objectWithID:objID];
return tmpObject;
}
I know this is a little off-topic, but I just found this absolutely great summary of Distributed Objects in Cocoa (which appear to be kind of like RMI in Java).