• 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 lost methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSBitmapImageRep lost methods?
      • From: Chris Herborth <email@hidden>
References: 
 >NSBitmapImageRep lost methods? (From: Chris Herborth <email@hidden>)

  • Prev by Date: Adding objects using Bindings/CoreData
  • Next by Date: Re: Printing my document
  • Previous by thread: NSBitmapImageRep lost methods?
  • Next by thread: Re: NSBitmapImageRep lost methods?
  • Index(es):
    • Date
    • Thread