let v = PopBottomView(frame: self.view.bounds) v.dataSource = self v.delegate = self v.showInView(self.view)
1) Delegate Methods
In order to use the delegate methods first set the delegate of pop view to the parent view controller when setting it up
// Optional delegate popBottomView.delegate = self
After that you will be able to set up the following delegate methods inside of your parent view controller
optional func viewWillAppear() optional func viewWillDisappear()
There are many ways you are able to customize pop view for your needs and there will be more customizations coming in the future to make sure pop view conforms to your app design. These will all be properties in PopView that can be changed from your base view controller. (Property names given with each item below)
Background color behind the pop view to blend in view controller backgrounds
optional func isEffectView() -> Bool
：Code submit frequency
：React/respond to issue & PR etc.
：Well-balanced team members and collaboration
：Recent popularity of project
：Star counts, download counts etc.