It's kinda obvious: the API is so oldfashioned, it's really starting to become embarassing to use the various arcane namings.
Today I made the decision, that I will start adding some convenience methods to my classes, that hide the ugliness.
Here's the first one, that also conveniently does away with the BOOL parameter. Who ever said NO to setNeedsDisplay: anyway ?
Probably more to come as things develop...
@interface NSView (MulleModernAPI)
- (void) iCanHazDisplay
{
[self setNeedsDisplay:YES];
}
@end
Comments (1)
My fingertips are holding onto
The cracks in our Foundation
And I know that I should let go, but I can't
Posted by Anonymous | October 16, 2007 4:03 AM
Posted on October 16, 2007 04:03