Latest 0.0.2
Homepage https://github.com/wei18/ZWExt
License MIT
Platforms ios 9.0
Dependencies RxSwift, RxCocoa
Frameworks UIKit, MapKit, CoreLocation
Authors

CI Status
Version
License
Platform

Example

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

Usage

// swift-tools-version:4.0

import ZWExt

//with autolayout
tableView.setTableHeaderView(CustomView())
tableView.setTableFooterView(CustomView())

//config customViewSelf
customView.forSelf{ aView in
  //code
}

//SwipeDismissAnimation
let swipe = SwipeDismissAnimation(_ viewController: UIViewController, contentView aView: UIView?)
//you can use reactive way by
Observable.of(true).bind(to: swipe.rx.dismiss).disposed(by: disposeBag)
//or native 
swipe.dismis()

//TableHeaderViewZoomAnimation
let header = TableHeaderViewZoomAnimation(zoomView: UIView, tableView: UITableView)
//you can use reactive way by
header.rx.properties
//or using native and put in delegate
header.zoom()

Installation

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

pod 'ZWExt'

Author

wei18, [email protected]

License

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

Latest podspec

{
    "name": "ZWExt",
    "version": "0.0.2",
    "summary": "A short description of ZWExt.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/wei18/ZWExt",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wei18": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wei18/ZWExt.git",
        "tag": "0.0.2"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.2",
    "source_files": "ZWExt/Classes/**/*",
    "frameworks": [
        "UIKit",
        "MapKit",
        "CoreLocation"
    ],
    "dependencies": {
        "RxSwift": [
            "~> 4.2"
        ],
        "RxCocoa": [
            "~> 4.0"
        ]
    }
}

Pin It on Pinterest

Share This