Latest 0.0.1
Homepage https://github.com/wyanassert/WYTinderSwipeView
License MIT
Platforms ios 9.0
Dependencies Masonry, SDWebImage
Authors

An Univerasl Swipe View Imitate Tinder

  1. 导入WYTinderSwipeView

    1.1 Cocospods

    pod 'WYTinderSwipeView'

    1.2 Manual Import

    Drag WYTinderSwipeView directory and Resource directory into your project.

  2. 添加引用

    #import "WYTinderSwipeView.h"

    WYTinderSwipeView *tinderSwipeView = [[WYTinderSwipeView alloc] init];

    tinderSwipeView.delegate = self;

    then layout With Masonry.

    Or you can init WYTinderSwipeView using initWithFrame.

  3. load Data — ccomplete WYTinderSwipeViewDelegate

    - (BOOL)loadMoreDataInsideSwipeViewWithCompletion:(WTSDraggableViewLoadMoreBlock)block

    fetch your data and then call block when loading data finished.

    return YES when dataSource exist more data. OtherWhile return No.

  4. Run project in WYTinderSwipeViewDemo directory for using.

Demo

Latest podspec

{
    "name": "WYTinderSwipeView",
    "version": "0.0.1",
    "summary": "An Univerasl Swipe View Imitate Tinder.",
    "homepage": "https://github.com/wyanassert/WYTinderSwipeView",
    "license": "MIT",
    "authors": {
        "wyanassert": "[email protected]"
    },
    "social_media_url": "https://github.com/wyanassert",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/wyanassert/WYTinderSwipeView.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "WYTinderSwipeView",
        "WYTinderSwipeView/**/*.{h,m}"
    ],
    "public_header_files": "WYTinderSwipeView/**/*.h",
    "resources": "Resource/*.png",
    "dependencies": {
        "Masonry": [],
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This