On Thu, Dec 9, 2010 at 2:49 AM, John Joyce <[email protected]> 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
