Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 829 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 829 Bytes

OTCover

An view like Medium Personal page for iOS

Output gif

OTCover for ScrollView

Output gif

OTCover for TableView

Installation

If you want to install manually, copy the OTCover .h and .m file to the project director.

Usage

for tableview

OTCover *test = [[OTCover alloc] initWithTableViewWithHeaderImage:[UIImage imageNamed:@"image.png"] withOTCoverHeight:200 withTableViewStyle:UITableViewStylePlain];

for scrollview

OTCover *testForScrollView = [[OTCover alloc] initWithScrollViewWithHeaderImage:[UIImage imageNamed:@"image.png"] withOTCoverHeight:200 withScrollContentViewHeight:3000];

LICENSE

see LICENSE file.