RE: +[UINib nibWithNibName:bundle:] and ~iPhone

2011-08-17 Thread Jim Adams
Did you check that cases of the names involved? -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Rick Mann Sent: Wednesday, August 17, 2011 12:35 AM To: Cocoa Developer Subject: +[UINib

Re: +[UINib nibWithNibName:bundle:] and ~iPhone

2011-08-17 Thread glenn andreas
More specifically, from the documentation: To associate a resource file with a particular device, you add a custom modifier string to its filename. The inclusion of this modifier string yields filenames with the following format: basenamedevice.filename_extension The basename string

Re: +[UINib nibWithNibName:bundle:] and ~iPhone

2011-08-17 Thread Rick Mann
Augh, now, see, here's an example of what I hate about Apple's docs: you have to read it all (and remember). The reference documentation for the method does not talk about how it will find the ~ variants of files, so I assumed that was only in certain places, like the bundle Info.plist.