On Wed, Apr 5, 2017, at 03:42 PM, Doug Hill wrote: > I have a view controller that I instantiate in my Storyboard. This view > controller has an embedding view inside it's view, and this embedding > view has another view controller in it. > > I need to configure this embedded view controller but I don't know a way > to make it available to my container VC in Interface Builder. For > example, it would be great to create an outlet in my container view > controller to the embedded view controller. But I don't see any way to do > this. > > Can this be done? Are there other ways to get a reference to the embedded > view controller at runtime?
Give an identifier to the embed segue and implement -prepareForSegue: in your root VC to check for this segue and grab its destination VC. --Kyle Sluder > > Thanks. > > Doug Hill > https://github.com/djfitz/SFFontFeatures _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com