Kyle and Stephen ... great comments

        - so there are  three ways to get the image file

what criteria should I use in deciding which to use ?


On Feb 8, 2009, at 4:21 PM, Kyle Sluder wrote:

On Sun, Feb 8, 2009 at 4:48 PM, Stephen J. Butler
<[email protected]> wrote:
Just a comment... you should probably be using pathToResource:ofType: here.

Or use +[NSImage imageNamed:] and use -[NSBitmapImageRep CGImage] on
its first representation...

_level1.contents = (id)[[[[NSImage imageNamed:@"Level 1 top"]
representations] objectAtIndex:0] CGImage];

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/airedale%40tularosa.net

This email sent to [email protected]




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to