On Sun, Feb 8, 2009 at 2:54 PM, David Blanton <aired...@tularosa.net> wrote:
>        NSString*  imageFileName = [[[NSBundle mainBundle] resourcePath]
> stringByAppendingPathComponent:@"Level 1 top.png"];

Just a comment... you should probably be using pathToResource:ofType: here.

NSString*  imageFileName = [[NSBundle mainBundle]
pathToResource:@"Level 1 top" ofType:@"png"];
_______________________________________________

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