Skip to content

FlexLib Classes

zhenglibao edited this page Dec 27, 2017 · 9 revisions

FlexScrollView

It's replacement for UIScrollView. The main goal is to calculate the content size automatically.

FlexTouchView & FlexTouchMaskView

It's replacement for UIButton. You can still use UIButton, but FlexTouchView is more powerful.

FlexTextView

It's replacement for UITextView. This control will adjust it's frame when input new text.

FlexModalView

By default, FlexModalView instance will hide after initial. You can call showModalInView to display it and hideModal to hide it.

FlexRootView

In most case you should use FlexBaseVC or FlexBaseTableCell. But you should use FlexRootView if you want to add custom layout to other view.

FlexFrameView

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.

Clone this wiki locally