• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBitmapImageRep subclass problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSBitmapImageRep subclass problem
      • From: Alan Hart <email@hidden>
  • Prev by Date: Re: Cocoa bindings performance
  • Next by Date: Re: NSBitmapImageRep subclass problem
  • Previous by thread: Re: NSBitmapImageRep subclass problem
  • Next by thread: Re: NSBitmapImageRep subclass problem
  • Index(es):
    • Date
    • Thread