Latest 1.0.1
Homepage https://github.com/xiushaomin/MKCarouselView
License MIT
Platforms ios 8.0, requires ARC
Authors

MKCarouselView

CI Status
Version
License
Platform

MKCarouselView是一个类似一些网站上的循环轮播广告控件

MKCarouselView

  • 文件两个类:MKCarouselView和MKCarouselViewCell,类似于Tableview和Tableviewcell

  • 数据源代理:MKCarouselViewDataSource

- (NSInteger)numberOfCellInCarouselView:(MKCarouselView *)carouselView;

- (MKCarouselViewCell *)carouselView:(MKCarouselView *)carouselView cellForIndex:(NSInteger)index;

  • 点击事件代理:MKCarouselViewDelegate

- (void)carouselView:(MKCarouselView *)carouselView didClickTheCellAtIndex:(NSInteger)index;

  • 缓存使用方法:

- (MKCarouselViewCell *)dequeueReusableCellWithIdentifier:(NSString *)indentifier;

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'MKCarouselView'
end

Author

[email protected]

License

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

Latest podspec

{
    "name": "MKCarouselView",
    "version": "1.0.1",
    "summary": "a carouselView like UITableView",
    "homepage": "https://github.com/xiushaomin/MKCarouselView",
    "license": "MIT",
    "authors": {
        "xiushaomin": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/xiushaomin/MKCarouselView.git",
        "tag": "1.0.1"
    },
    "source_files": "MKCarouselView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This