CLCascade
CLCascade copied to clipboard
How to change the width of the middle table view ?
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,
Everything what you want is in the example project. You can make your own subclass of CLViewController and change init method:
- (id) init { self = [super init]; if (self) { _viewSize = CLViewSizeWider; } return self; }
But there is a catch, only last view controller can be in wider mode (the same as in Twitter App)