• 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: What's the recommended way to have multiple views on one tab?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the recommended way to have multiple views on one tab?


  • Subject: Re: What's the recommended way to have multiple views on one tab?
  • From: G S <email@hidden>
  • Date: Thu, 9 Dec 2010 13:04:16 -0800

On Thu, Dec 9, 2010 at 2:49 AM, John Joyce
<email@hidden> wrote:
> Here you go Gavin:
> Creating and Managing a View Hierarchy
> This is in the View Programming Guide For iOS

Thanks, John.  Although that link didn't work, I did look at what
seems to be the current equivalent area of the docs.

One extra requirement in my case is that I be able to load a bunch of
controls with the view, and spending ages to draw the layout
programmatically through trial and error is just not going to happen.
So that means I need to load these views from XIBs.  Fortunately, if
you set up XIBs containing views and connect their outlets and actions
to the controller that'll do the loading, those connections do get
made when you load the XIBs dynamically from multiple files.  Don't
know what happens if you have XIBs with competing connections; I guess
the last-loaded one takes precedence.

At runtime I can lazily load those XIBs and have the controller say

self.view = oneOfTheLoadedOnes
_______________________________________________

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: What's the recommended way to have multiple views on one tab?
      • From: John Joyce <email@hidden>
References: 
 >What's the recommended way to have multiple views on one tab? (From: G S <email@hidden>)
 >Re: What's the recommended way to have multiple views on one tab? (From: John Joyce <email@hidden>)

  • Prev by Date: CALayers, GCD, CATransaction flush and CGContextFlush
  • Next by Date: [MEET] CocoaHeads-NYC, tonight
  • Previous by thread: Re: What's the recommended way to have multiple views on one tab?
  • Next by thread: Re: What's the recommended way to have multiple views on one tab?
  • Index(es):
    • Date
    • Thread