• 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
not able to create NSIMage using init methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

not able to create NSIMage using init methods


  • Subject: not able to create NSIMage using init methods
  • From: "MAnish Billore" <email@hidden>
  • Date: Mon, 7 Jul 2008 19:35:40 +0530

Hi
I am creating an nsimage using  initWithData function.


NSData *filedata= [NSData dataWithContentsOfFile:datapath];
 NSImage *myImage = [NSImage initWithData: filedata]; 

 
but I am getting following warning message 

NSImage' may not respond to '+initWithData:'


please help me even I am not able to use any init method for creatin NSImage.

Thanks
Manis bill

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: not able to create NSIMage using init methods
      • From: Andy Mroczkowski <email@hidden>
    • Re: not able to create NSIMage using init methods
      • From: Stéphane <email@hidden>
    • Re: not able to create NSIMage using init methods
      • From: Matthew Gibbons <email@hidden>
  • Prev by Date: Re: Unable to debug with gdb on Mac-Intel
  • Next by Date: Re: Unable to debug with gdb on Mac-Intel
  • Previous by thread: Re: Xcode 3.0 help issues
  • Next by thread: Re: not able to create NSIMage using init methods
  • Index(es):
    • Date
    • Thread