52inc / Pulley

A library to imitate the iOS 10 Maps UI.
https://cocoapods.org/pods/Pulley
MIT License
2.02k stars 265 forks source link

[QUESTION] Help with error: "When instantiating from Interface Builder you must provide container views with an embedded view controller. #403

Closed sophiagatliff closed 3 years ago

sophiagatliff commented 3 years ago

Describe the question A clear and concise question about the functionality of pulley or a delegate method.

Code snippets and helpful information Any code snippets, screenshots, recordings, or any other helpful information for addressing your question.

Pulley Information (optional):

Xcode Information (optional):

ulmentflam commented 3 years ago

If you right click on the scene where you have the PulleyViewController you will see an outlet for the primaryContentContainerView and the drawerContentContainerView. Connect those to your embedded view controller and you should be good to go. See my screen shot below for more information on the location of the outlet in Xcode.

Screen Shot 2020-11-20 at 9 46 07 AM (2)