Skip to content

This is IOS Swift 3.3 + Library for Image picking from gallery or camera with some simple customization

License

Notifications You must be signed in to change notification settings

mawshd/YSimpleImagePicker

Repository files navigation

YSimpleImagePicker

This is IOS Swift Universal Static Library for Image picking from gallery or camera with some simple customization

Installation

CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like YSimpleImagePicker in your projects.

First, add the following line to your Podfile:

pod 'YSimpleImagePicker'

Second, install YSimpleImagePicker into your project:

pod install

Usage

Import Library into View Controller

import YSimpleImagePicker

Then get shared instance as

let shared = YSimpleImagePicker.shared
shared.selectImage(refController: self, onSelection: { (img) in
        self.imageview.image = img
}) { (error) in
        print(error)
}

License

YSimpleImagePicker is distributed under the terms and conditions of the [MIT license]

About

This is IOS Swift 3.3 + Library for Image picking from gallery or camera with some simple customization

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published