Skip to content

A demo application to show how to multiple Storyboard files with a RAMAnimatedTabBarController.

Notifications You must be signed in to change notification settings

jrmsklar/ram-storyboards-demo

Repository files navigation

RAM-Storyboards-Demo

A demo application to show how to use multiple Storyboard files with a RAMAnimatedTabBarController. I saw the problem outlined here, and used container view controllers and Storyboard references to get this working.

Follow the steps outlined below.

(1) Create the desired view controller in its own Storyboard:

screen shot 2016-08-23 at 2 28 26 am

(2) Create an empty view controller in the Storyboard that contains the main tab bar:

screen shot 2016-08-23 at 2 37 56 am

(3) Add that view controller to the viewControllers property of the tab bar controller:

step-3

(4) Add a Container View to that empty view controller, delete view controller that it automatically embeds, and constrain it to the edges of its superview:

step-4

(5) Follow steps 3-5 outlined here for all tab bar items on the tab bar.

(6) Embed the view controller from the other Storyboard via a Storyboard Reference in that container view:

step-6

(7) Build and run:

run

Thanks to @jeffaburt for helping look into this!

About

A demo application to show how to multiple Storyboard files with a RAMAnimatedTabBarController.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published