Lomotif / swipe-navigation

Snapchat like 4-way swipe navigation in Swift for iOS
MIT License
43 stars 11 forks source link

Question: Adding a class #1

Closed devJoshLopez closed 8 years ago

devJoshLopez commented 8 years ago

I noticed that each viewcontroller has a class of EmbeddedViewController. How would I add iboutlets or actions from a viewcontroller like the top one? Im fairly new to swift.

devJoshLopez commented 8 years ago

figured this out. Just have to use a subclass of EmbeddedViewController. Like: class TopViewController: EmbeddedViewController { then put that as the class of the viewcontroller in storyboard.