On Jul 6, 2011, at 5:27 AM, Alexander Reichstadt wrote:

> NSArray *sometest = [[NSBundle mainBundle] pathsForResourcesOfType:@"nib" 
> inDirectory:@"."];

It isn't necessary to use @"." here; you should be able to pass nil for that 
argument if the resources in question are not in a subdirectory.  From the 
header comments:  "subpath is a relative path to a subdirectory inside the 
relevant global or localized resource directory, and should be nil if the 
resource file in question is not in a subdirectory."

Douglas Davidson

_______________________________________________

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