Latest 1.0.3
Homepage https://github.com/tion126/XTAssetsPicker
License MIT
Platforms ios 8.0, requires ARC
Authors

License MIT 
CocoaPods 
CocoaPods 

Usage

Simple Usage


    func show() {

        let config = XTAssetsConfiguration()
        config.maxminumCount = 5
        config.numberOfColum = 3
        self.presentAssetsPicker(configuration: config, delegate: self)
    }

    func didFinishPickingAssets(assets: [PHAsset]) {

        self.datas.append(contentsOf: assets)
        self.tableView.reloadData()
    }

Installation

CocoaPods

  1. Add pod 'XTAssetsPicker' to your Podfile.
  2. Run pod install or pod update.
  3. import XTAssetsPicker.

gif

Latest podspec

{
    "name": "XTAssetsPicker",
    "version": "1.0.3",
    "summary": "XTAssetsPicker",
    "homepage": "https://github.com/tion126/XTAssetsPicker",
    "license": "MIT",
    "authors": {
        "tion126": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/tion126/XTAssetsPicker.git",
        "tag": "1.0.3"
    },
    "requires_arc": true,
    "source_files": "XTAssetsPicker/XTAssetsPicker/*.{swift}",
    "resources": "XTAssetsPicker/XTAssetsPicker/*.{storyboard,xcassets}",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This