Latest 0.3.0
Homepage https://github.com/riversea2015/HHLoopView
License MIT
Platforms ios 8.0
Dependencies SDWebImage
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Example

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

ScreenShot

Mou icon

Requirements

Installation

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

pod 'HHLoopView'

Use

Include HHLoopView wherever you need it with the following line:

#import <HHLoopView/HHLoopView.h>

You just need use it like these codes bellow, and the images can be assigned with a set of LocalImageNames/URLStrings/URLs/UIImages or CustomViews.

HHLoopView *loopView = [[HHLoopView alloc] initWithFrame:CGRectMake(0, 64, [UIScreen mainScreen].bounds.size.width, 240)
                                                  images:@[imageA, imageB, imageC]
                                               direction:HHLoopVertical
                                             clickAction:^(int intIndex)
{
    // Your click action ...
}];

[self.view addSubview:loopView];

Author

riversea2015, [email protected]

License

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

Note

The pictures used in the example is collected from the Internet, please do not use them for commercial purposes.

Latest podspec

{
    "name": "HHLoopView",
    "version": "0.3.0",
    "summary": "A kind of loopView.",
    "description": "u8fd9u662fu4e00u4e2au53efu4ee5u81eau52a8u6216u624bu52a8u65e0u9650u8f6eu64adu7684u63a7u4ef6.",
    "homepage": "https://github.com/riversea2015/HHLoopView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "riversea2015": "[email protected]"
    },
    "source": {
        "git": "https://github.com/riversea2015/HHLoopView.git",
        "tag": "0.3.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HHLoopView/Classes/**/*.{h,m}",
    "public_header_files": "HHLoopView/Classes/**/*.h",
    "prefix_header_contents": [
        "#ifdef __OBJC__",
        "#import "HHLoopView_Macro.h"",
        "#import "UIImageView+WebCache.h"",
        "#import "UIView+WebCache.h"",
        "#endif"
    ],
    "frameworks": "UIKit",
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This