appunite / CLCascade

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

How to change the width of the middle table view ? #32

Open ForrestMobile opened 12 years ago

ForrestMobile commented 12 years ago

I want to check if easy to customize the width of the subclass of CLTableViewController ( which is the middle view of the demo ).

We have two types of width

// enums typedef enum { CLViewSizeNormal = 0, CLViewSizeWider = 1 } CLViewSize;

For CLViewSizeNormal, does the logic is to calculate the width ? and for the CLViewSizeWider, it will use all the left width.

So my question is how to simply customize the width ? Thanks,

emilwojtaszek commented 12 years ago

Everything what you want is in the example project. You can make your own subclass of CLViewController and change init method:

But there is a catch, only last view controller can be in wider mode (the same as in Twitter App)