UrbanApps / UAModalPanel

An animated modal panel alternative for iOS

Home Page:http://code.coneybeare.net/uamodalpanel-an-open-source-modal-panel-alter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UAModalPanel with UIViewController instead of UIView subclass

gsach opened this issue · comments

I tried UIModalPanel library and I really like it. My problem is that this library uses subclasses of UIView in all examples and then uses addSubview: . I would like to subclass a UIViewController which controls my view and then use: addChildViewcontroller and addSubview. The reason is that I need to manage application logic in that class and UIView would not be appropriate. Is that possible?

You make a dummy view controller that wraps around the logic in the Example View Controller file.