-
Notifications
You must be signed in to change notification settings - Fork 257
FlexLib Classes
It's replacement for UIScrollView. The main goal is to calculate the content size automatically.
It's replacement for UIButton. You can still use UIButton, but FlexTouchView is more powerful.
It's replacement for UITextView. This control will adjust it's frame when input new text.
By default, FlexModalView instance will hide after initial. You can call showModalInView to display it and hideModal to hide it.
In most case you should use FlexBaseVC or FlexBaseTableCell. But you should use FlexRootView if you want to add custom layout to other view.
If you want to add xml layout view to traditional view, FlexFrameView is good for you. This class doesn't use flexbox layout. Instead it maintain a flexbox child view and give you an easy interface.
Flexbox Introduction & performance (in Chinese)
Tutorial 1: Create View Controller with xml layout
Tutorial 2: Create Table Cell with xml layout
Tutorial 3: Embed xml layout into traditional view hierarchy
Tutorial 4: Use custom view in xml layout
Tutorial 5: Create reusable view using xml layout file