Latest 1.0.1
Homepage https://github.com/NSObjects/OMGImagePicker
License MIT
Platforms ios 8.0, requires ARC
Frameworks Photos
Authors

ImagePickerView

CI Status
Version
License
Platform

Example

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

Usage

import OMGImagePicker

present(omg_present: self, delegate: self)

OMGImagePickerViewController has three delegate methods that will inform you what the users are up to:

func imagePickerViewController(vc:OMGImagePickerViewController,didFinishPickingWith assets:PHFetchResult<PHAsset>)
func imagePickerViewControllerDidCancel(vc:OMGImagePickerViewController)
func userDeniedAuthPhotosView(imagePickerViewController:OMGImagePickerViewController)->UIView?

Configuration

var setting = OMGImagePickerSetting()
setting.rightBarTitle = "Continue"
setting.maxNumberOfSelection = 5
present(omg_present: self, delegate: self,setting:setting)
 setting.navigationBarColor = UIColor.brown
 setting.navigationBarTranslucent = false

disable

setting.navigationBarTranslucent = true

enable

Requirements

  • Swift3
  • iOS8.0

Installation

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

pod "OMGImagePicker"

Author

NSObjects, [email protected]

License

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

Latest podspec

{
    "name": "OMGImagePicker",
    "version": "1.0.1",
    "summary": "A image picker library.",
    "description": "A simple image picker view controller for swift 3",
    "homepage": "https://github.com/NSObjects/OMGImagePicker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "NSObjects": "[email protected]"
    },
    "source": {
        "git": "https://github.com/NSObjects/OMGImagePicker.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "OMGImagePicker/Classes/**/*.swift",
    "resource_bundles": {
        "OMGImagePicker": [
            "OMGImagePicker/Assets/*.png"
        ]
    },
    "frameworks": "Photos",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This