• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
+[UINib nibWithNibName:bundle:] and ~iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

+[UINib nibWithNibName:bundle:] and ~iPhone


  • Subject: +[UINib nibWithNibName:bundle:] and ~iPhone
  • From: Rick Mann <email@hidden>
  • Date: Tue, 16 Aug 2011 21:34:33 -0700

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

  • Follow-Ups:
    • RE: +[UINib nibWithNibName:bundle:] and ~iPhone
      • From: Jim Adams <email@hidden>
  • Prev by Date: Re: Problems with UIAlertView
  • Next by Date: Re: STAssertEquals and type-checking
  • Previous by thread: Re: Options to defaults or commandline
  • Next by thread: RE: +[UINib nibWithNibName:bundle:] and ~iPhone
  • Index(es):
    • Date
    • Thread