• 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: 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
  • Follow-Ups:
    • Re: NSBitmapImageRep subclass problem
      • From: "John C. Randolph" <email@hidden>
References: 
 >NSBitmapImageRep subclass problem (From: Alan Hart <email@hidden>)

  • Prev by Date: Re: Cocoa bindings performance
  • Next by Date: [SOLVED] Re: Setting the default font of an NSTextView...
  • Previous by thread: NSBitmapImageRep subclass problem
  • Next by thread: Re: NSBitmapImageRep subclass problem
  • Index(es):
    • Date
    • Thread