Re: NSBitmapImageRep lost methods?
Re: NSBitmapImageRep lost methods?
- Subject: Re: NSBitmapImageRep lost methods?
- From: Fritz Anderson <email@hidden>
- Date: Mon, 23 May 2005 10:56:08 -0500
On 23 May 2005, at 7:37 AM, Chris Herborth wrote:
Developing under Tiger and porting some X11 code to Cocoa,
...
Later, the code munges some pixels in the image, so I'm using the
getPixel and setPixel methods of NSBitmapImageRep. Except, I get
the following sinister compiler warnings:
warning: `NSBitmapImageRep' may not respond to `-getPixel:atX:y:'
warning: cannot find method `-getPixel:atX:y:'; return type `id'
assumed
warning: `NSBitmapImageRep' may not respond to `-setPixel:atX:y:'
warning: cannot find method `-setPixel:atX:y:'; return type `id'
assumed
Are these deprecated methods or something? The documentation
doesn't say anything to suggest that these shouldn't be used...
A glance at the headers shows these methods are guarded with #if
MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4. You say you're
developing under Tiger, but do you have an earlier SDK selected?
-- F
--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
_______________________________________________
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