Latest 0.0.5
Homepage https://github.com/brian474/KWParallaxCell
License MIT
Platforms ios 8.0, requires ARC
Authors

知乎的效果是网上找的视频里截取的 视频地址

Usage

KWParallaxCell直接继承UITableViewCell, 使用时只要设置image属性即可, 网络图片也是一样. cell的内部会自动调整image的大小和视差滚动的速度以达到合适的效果, 图片长一些效果会更好.

KWParallaxCell *cell = [tableView dequeueReusableCellWithIdentifier:@"KWParallaxCell"];
cell.image = [UIImage imageNamed:@"cosmos.jpeg"];

Requirements

  • iOS 8.0

Installation

KWParallaxCell is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'KWParallaxCell'

Contact

[email protected]

License

KWParallaxCell is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "KWParallaxCell",
    "version": "0.0.5",
    "summary": "A ParallaxCell.",
    "homepage": "https://github.com/brian474/KWParallaxCell",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "XuKaiWei": "[email protected]"
    },
    "source": {
        "git": "https://github.com/brian474/KWParallaxCell.git",
        "tag": "0.0.5"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "KWParallaxCell/Classes/**/*",
    "public_header_files": "KWParallaxCell/Classes/**/*.h"
}

Pin It on Pinterest

Share This