Re: NSBitmapImageRep subclass problem
Re: NSBitmapImageRep subclass problem
- Subject: Re: NSBitmapImageRep subclass problem
- From: Heinrich Giesen <email@hidden>
- Date: Fri, 7 Apr 2006 20:36:40 +0200
On 07.04.2006, at 20:13, Alan Hart wrote:
I guess maybe I have to override other NSBitmapImageRep methods, but
I can't see which, ...
You have to overwrite + canInitWithData:
The docs say:
+ (BOOL)canInitWithData:(NSData *)data
Should be overridden in subclasses to return YES if the receiver
can initialize itself from data, and NO if it cannot.
--
Heinrich Giesen
email@hidden
_______________________________________________
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