/OTCover

An view like Medium Personal page for iOS

Primary LanguageObjective-CMIT LicenseMIT

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.