Quick dirty, show you how to reuse one container view in two view controller. (We are lazy right? ^^) Note: Container view create using storyboard
First screen is VC1(green) have one button on it, when tap button will present VC2(white) Both VC have same CV(orange) have delegate attach on it, for purpose get back data to VC when user interaction on CV
This repo was developed by @lamha. Follow or connect with me on my LinkedIn.