Latest 0.0.3
Homepage https://github.com/ac1217/KCAnimateHeaderView
License MIT
Platforms ios 8.0, requires ARC
Authors

一个可以快速集成tableview下拉缩放header效果的轻量级框架,仅150行代码实现

用法

KCAnimateHeaderView *headerView = [[KCAnimateHeaderView alloc] initWithScrollView:self.tableVie contentView:[KCContentView new]];
headerView.enableBlurEffect = YES;
headerView.animateImage = [UIImage imageNamed:@"FriendsBackground"];
headerView.frame = CGRectMake(0, 0, 320, 250);
self.tableVie.tableHeaderView = headerView;

就这么简单,内部已用kvo监听contentOffset,无需外界在代理方法做任何事情。

Latest podspec

{
    "name": "KCAnimateHeaderView",
    "version": "0.0.3",
    "summary": "u8fd9u662fu4e00u4e2au53efu4ee5u5febu901fu96c6u6210u4e0bu62c9tableViewu6216u8005scrollViewu7f29u653eu5934u90e8u89c6u56feu7684u8f7bu91cfu7ea7u6846u67b6",
    "description": "u8fd9u662fu4e00u4e2au53efu4ee5u5febu901fu96c6u6210u4e0bu62c9tableViewu6216u8005scrollViewu7f29u653eu5934u90e8u89c6u56feu7684u8f7bu91cfu7ea7u6846u67b6u3002nu96c6u6210u975eu5e38u7b80u5355uff0cu5e76u4e14u6613u7528",
    "homepage": "https://github.com/ac1217/KCAnimateHeaderView",
    "license": "MIT",
    "authors": {
        "Erica": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ac1217/KCAnimateHeaderView.git",
        "tag": "0.0.3"
    },
    "source_files": "KCAnimateHeaderView/**/*.{h,m}",
    "public_header_files": "KCAnimateHeaderView/**/*.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This