• 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: iOS: multiple view controllers, one nib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS: multiple view controllers, one nib?


  • Subject: Re: iOS: multiple view controllers, one nib?
  • From: Nathan Sims <email@hidden>
  • Date: Wed, 18 May 2011 12:44:25 -0700

Okay, that looks like a "go". I certainly have my work cut out for me :)
Thanks Luke, Eric, Mikkel.
-Nate

On May 18, 2011, at 12:40 PM, Mikkel Islay wrote:

> On 18 May 2011, at 20:32, Nathan Sims wrote:
>
>> Hmm, but then how would each custom class communicate with the view elements? NSNotifications?
>
> From the View Controller Programming Guide:
> Note: If you want to divide a view hierarchy into multiple subareas and manage each one separately, use generic controller objects (custom objects descending from NSObject) instead of view controller objects to manage each subarea. Then use a single view controller object to manage the generic controller objects.
> http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/AboutViewControllers/AboutViewControllers.html#//apple_ref/doc/uid/TP40007457-CH112-SW10
>
> NSNotification would be a way for your UIViewController to observe drawing-related changes to your views.
>
>
>> On May 18, 2011, at 12:27 PM, Eric E. Dolecki wrote:
>>
>>> I don't think so but you could always associate a custom Class with each of the UIViews to tuck most of the UIView specific code away from the view controller's code.
>>>
>
> Mikkel

_______________________________________________

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

References: 
 >iOS: multiple view controllers, one nib? (From: Nathan Sims <email@hidden>)
 >Re: iOS: multiple view controllers, one nib? (From: Luke the Hiesterman <email@hidden>)
 >Re: iOS: multiple view controllers, one nib? (From: Nathan Sims <email@hidden>)
 >Re: iOS: multiple view controllers, one nib? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: iOS: multiple view controllers, one nib? (From: Nathan Sims <email@hidden>)

  • Prev by Date: Re: iOS: multiple view controllers, one nib?
  • Next by Date: Re: iOS: multiple view controllers, one nib?
  • Previous by thread: Re: iOS: multiple view controllers, one nib?
  • Next by thread: Re: iOS: multiple view controllers, one nib?
  • Index(es):
    • Date
    • Thread