• 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
Re: Main nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main nib


  • Subject: Re: Main nib
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 12 Apr 2012 09:21:06 -0500

On 12 Apr 2012, at 5:44 AM, Ariel Feinerman wrote:

I was surprised when all templates which uses Main Window nib no longer exist in Xcode . Can anyone say why? The feature was very useful to configure Navigation controller in IB 


I'm not Apple, and can only guess.

* In the simplest cases, it's not much harder to populate navigation and tab controllers in code.

* In more complex cases, code is much easier. You don't have cross-NIB references between MainWindow and the leaf controllers. You need to import the subcontrollers, and even if you could represent an object in an external NIB, the controllers aren't in any NIBs. They're just those NIBs' File's Owners.

* The layers of visible elements (tabs, views), controllers, and intermediary items (navigation items, tab items) are confusing, and nearly impossible to clearly represent in a graphical UI. How do you represent adding a tab item? Drag a tab bar item into the tab bar controller? Drag the view into the tab bar? Drag some sort of representation of the (view? controller?) imported from another XIB? Into what? The tab bar, and let the bar controller and bar item appear magically? An empty bar item that you somehow insert yourself? Where do you edit the item label and icon? I'm sure practice would have let me sort it out (I despair of finding it explicitly documented), but in three or four apps, I never figured it out.

* Code documents the tree of relationships without hidden intermediaries, and all in one place.

* And come on — configuring the root view controller for a nav controller is four lines of code. How hard can that be?

— F
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Main nib (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Main nib
  • Next by Date: Source editor jumps when inserting space
  • Previous by thread: Main nib
  • Next by thread: Re: Main nib
  • Index(es):
    • Date
    • Thread