Skip to content

Image Picker is a custom picker create by combining Sharaku library to retrieve an image either by Photo Library or Camera and apply beautiful filters

License

Notifications You must be signed in to change notification settings

tryWabbit/Image-Picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image-Picker

Image Picker is a custom picker create by combining Sharaku library to retrieve an image either by Photo Library or Camera and apply beautiful filters.


Swift Xcode

Screen Shot 2019-04-20 at 5 27 04 PM

How to use?

Step-1 - Add these keys into your Info.plist

<key>NSCameraUsageDescription</key>
<string>This app requires access to the camera.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to the photo library.</string>

Step-2 - Copy the resources of Picker Controller folder in your project

Step-3 - Initialise PickerController and enjoy

let picker = PickerController()
picker.applyFilter = true // to apply filter after selecting the picture by default false
picker.selectImage(self){ image in
    DispatchQueue.main.async {
        self.imageview.image = image
    }
}

Sharaku Author

makomori, makomori26@gmail.com, Twitter: @makomori26

MIT License

Copyright (c) 2019 Wabbit

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The Software Is Provided "As Is", Without Warranty Of Any Kind, Express Or Implied, Including But Not Limited To The Warranties Of Merchantability, Fitness For A Particular Purpose And Noninfringement. In No Event Shall The Authors Or Copyright Holders Be Liable For Any Claim, Damages Or Other Liability, Whether In An Action Of Contract, Tort Or Otherwise, Arising From, Out Of Or In Connection With The Software Or The Use Or Other Dealings In The Software.

About

Image Picker is a custom picker create by combining Sharaku library to retrieve an image either by Photo Library or Camera and apply beautiful filters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages