appunite / CLCascade

Twitter-like cascade UI library
http://appunite.com/
Other
504 stars 67 forks source link

Remove the need of inheritance of CLViewController #18

Closed ipodishima closed 12 years ago

ipodishima commented 12 years ago

Now, you can push any subclass of UIViewController ! By default, the CLSegmentedView is not the .view of the controllers. So, if you want to use the segmented view in a controller, you just had to override the loadView method and set the view yourself. The controllers with no segmented view won't be rounded. There is some code with mask layer commented in container view because performances are bad with this damn CALayers.

I kept the CLTableViewController and the CLWebViewController for two reasons : first, maximize the compatibility with the old version ; second : this can be used or be an help to create new controllers.

Sorry about the branch name ... I started the modification at the same time than the IB correction

ipodishima commented 12 years ago

Since there are a lot of changes, I'm not sure this is a good idea for you to merge ...

I will continue to work on it on my repo, because I start the integration in my app right now !

If you want to merge it, please ask me