On Sun, Feb 8, 2009 at 4:48 PM, Stephen J. Butler
<stephen.but...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to