Hi,



pathForResource:ofType: is returning a path string with 4 garbage characters 
added to the end of the string.

To make sure it wasn't my program causing the problem I created a new iOS 
project to try it out and it does it too.


Empty Application
Devices - Universal
No - Use Core Data
No - Use ARC
No - Include Unit Tests


I added this to the end of application:didFinishLaunchingWithOptions:


NSString *path = [[NSBundle mainBundle] pathForResource:@"Default" 
ofType:@"png"];


Anyone else have this problem?


thanks
Jeff


OS X 10.7.5
Xcode 4.6.3






 
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to