• 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 - container view - embed different views based on condition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Storyboard - container view - embed different views based on condition


  • Subject: Storyboard - container view - embed different views based on condition
  • From: Devarshi Kulshreshtha <email@hidden>
  • Date: Sat, 17 Aug 2013 09:39:17 +0530

In my storyboard app I have view hierarchy like this:


1. ParentViewController has a container view (dragged and dropped the
container view from library on to the view of parent view controller).


2. Container view can embed one of the three view controllers, based on
some condition.


While implementing second point I am facing problem.


If I try to do it in storyboard by control dragging from container view to
a view controller, I can select viewDidLoad - embed segue. This will
automatically embed the destination view controller, but then I will have
no option to embed other view controllers based on some condition, say on
tap of a different button.


Can anyone suggest me how can I implement the 2nd point?

--
Thanks,

Devarshi
_______________________________________________

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: Storyboard - container view - embed different views based on condition
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: NSSpellChecker -ignoreWord:… for NSTextCheckingTypeGrammar?
  • Next by Date: Re: Storyboard - container view - embed different views based on condition
  • Previous by thread: Re: Reliably getting the screen scale
  • Next by thread: Re: Storyboard - container view - embed different views based on condition
  • Index(es):
    • Date
    • Thread