RE: +[UINib nibWithNibName:bundle:] and ~iPhone
RE: +[UINib nibWithNibName:bundle:] and ~iPhone
- Subject: RE: +[UINib nibWithNibName:bundle:] and ~iPhone
- From: Jim Adams <email@hidden>
- Date: Wed, 17 Aug 2011 12:56:45 +0000
- Thread-topic: +[UINib nibWithNibName:bundle:] and ~iPhone
Did you check that cases of the names involved?
-----Original Message-----
From: cocoa-dev-bounces+jim.adams=email@hidden [mailto:cocoa-dev-bounces+jim.adams=email@hidden] On Behalf Of Rick Mann
Sent: Wednesday, August 17, 2011 12:35 AM
To: Cocoa Developer
Subject: +[UINib nibWithNibName:bundle:] and ~iPhone
I'm seeing some weird difference between Device and Simulator for iPhone.
Xcode 3.2.6
Simulator 4.3(8F190)
iOS 4.3.38J2)
I call
UINib* nib = [UINib nibWithNibName: @"UserLeagueCell" bundle: nil];
on the simulator, this actually seems to return the nib named "UserLeagueCell~iPhone.xib". On the device, it returns the nib named "UserLeagueCell.xib".
Is this a known difference in the two?
Thanks,
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden