Latest 0.1.3
Homepage https://github.com/jamesTheKid/JKImagePicker
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

JKImagePicker
JKImagePicker

Example

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

Requirements

Swift 3.2

iOS 9

Installation

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

pod 'JKImagePicker'

Features

  • Load all photos from Photo library
  • Select which library photos to load
  • Zoom-in and zoom-out with Gestures
  • Zoom-in and zoom-out button like instagram
  • Grid view while editing/touch begins
  • Crop Image while maintaining aspect ratio of image
  • Crop Image With original image resolution
  • Take square-sized image with camera

JKImagePicker Usage

Import JKImagePicker import JKImagePicker then use the following :

let imagePicker = JKImagePickerViewController()
imagePicker = self
self.present(self.imagePicker!, animated: true, completion: nil)

Delegate methods

// Return the image which is selected from library or taken with the camera.
func didFinishPickingPhoto(image: UIImage) {

print("image picked")

}

// Called after click on cancel button.
func didCancelPickingPhoto() {

print("Cancel button clicked")
}

TO-DO

  • Swift 4 support
  • Add filters
  • Add Edits (Brightness, Contrast, Saturation…)
  • Make all the components configurable

Author

Jimmy Kumako , https://twitter.com/jamesthakid

License

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

Special Credits

This project is based on Fahid Attique project FAImageCropperhttps://github.com/fahidattique55/FAImageCropper

Latest podspec

{
    "name": "JKImagePicker",
    "version": "0.1.3",
    "summary": "An image cropper and camera feature like Instagram.",
    "description": "JKImagePicker is an image cropper and camera feature like Instagram. You can take square-sized photo from camera and also it comes with filters and some edits mode (Brightness, Constrast, Saturation....).",
    "homepage": "https://github.com/jamesTheKid/JKImagePicker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "jamesTheKid": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jamesTheKid/JKImagePicker.git",
        "tag": "0.1.3"
    },
    "social_media_url": "https://twitter.com/jamesthakid",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": [
        "JKImagePicker/Classes/**/*.swift"
    ],
    "resources": [
        "JKImagePicker/Assets/Assets.xcassets",
        "JKImagePicker/Assets/**/*.xib"
    ],
    "pushed_with_swift_version": "3.2"
}

Pin It on Pinterest

Share This