• 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
Storyboard UISplitViewController difficulty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Storyboard UISplitViewController difficulty


  • Subject: Storyboard UISplitViewController difficulty
  • From: Rick Mann <email@hidden>
  • Date: Thu, 15 Nov 2012 22:22:13 -0800

It seems that when using storyboards, UISplitViewController gets loaded and calls its delegate before the related view controllers even get loaded. I'm trying to set my right-side view controller as the delegate in its -viewDidLoad, but at this point it's too late, and the willHide delegate method is not called, and consequently the popover button is not installed.

Really, the related view controllers' -viewDidLoad methods should be called before the split view controller's -willAppear (which is what triggers the call to the delegate method). Barring that, the split controller should call the willHide delegate method should only be called after the related view controllers have loaded.

--
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

  • Prev by Date: Re: Invoking protocol method on the main thread
  • Next by Date: Storyboard UISplitViewController difficulty
  • Previous by thread: Re: Safe to install NSTrackingArea on a subview?
  • Next by thread: Storyboard UISplitViewController difficulty
  • Index(es):
    • Date
    • Thread