Re: not able to create NSIMage using init methods
Re: not able to create NSIMage using init methods
- Subject: Re: not able to create NSIMage using init methods
- From: Andy Mroczkowski <email@hidden>
- Date: Mon, 7 Jul 2008 10:17:20 -0400
As Stéphane mentioned, this is more appropriate for the cocoa-dev
mailing list.
As for your problem, read the Cocoa Fundamentals guide
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/chapter_1_section_1.html
particularly the section on Object Creation
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/chapter_3_section_6.html#/
/apple_ref/doc/uid/TP40002974-CH4-SW17
- Andy
On Jul 7, 2008, at 10:05 AM, MAnish Billore wrote:
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
_______________________________________________
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