Re: NSBitmapImageRep subclass problem
Re: NSBitmapImageRep subclass problem
- Subject: Re: NSBitmapImageRep subclass problem
- From: Nicko van Someren <email@hidden>
- Date: Fri, 7 Apr 2006 20:06:57 +0100
On 7 Apr 2006, at 19:03, Alan Hart wrote:
However, I'd really prefer to do it using a PCXImageRep class,
defined and registered as a subclass of NSBitMapImageRep, since it
seems that's the way the Cocoa image architecture ought to work.
Then it would be available to read a .pcx file anywhere in my app,
and it would be more reusable elsewhere.
So I have:
...
- (BOOL) canInitWithData {
return YES;
}
Shouldn't that be a class method not an instance method?
Nicko
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden