Git Product home page Git Product logo

pickerview's Introduction

PickerView

ImagePickerView allows you to combine UIImageView and UIImagePicker in one line of code. Also adds Document Picker with single line of code to any UIView. Ready to use in Storyboard or Programmatic coding.

Installation

Swift Package Manager

In Xcode go to File -> Add Packages and insert uArl:

https://github.com/uzayaltiner/ImagePickerView

Quick Start

ImagePickerView

import ImagePickerView

Usage

let imageView = ImagePickerView()
view.addSubview(imageView)

Thats all!

Properties (more to come)

imageView.placeholder = UIImage(named: "your_asset")
imageView.color = .yourColor
imageView.cornerRadius = 10
imageView.onImagePicker = { selectedImage in
  // After selecting the image, you can perform the operations you want to do here.
}

DocumentPicker

Usage

let exampleView = UIView()
exampleView.setupDocumentPicker { url in
        // After selecting the document's url path, you can perform the operations you want to do here.
    }
view.addSubview(exampleView)

Contribute

I made this to improve myself and we can add more features for expand the library. If you want to help, feel free to create PR.

Contact

For your requests and suggestions, you can contact with me from [email protected]

License

MIT

pickerview's People

Contributors

uzayaltiner avatar mrtctns avatar

Stargazers

Mehmet Arıkan avatar Burak avatar Eymen Varilci avatar Oğuzhan Akın avatar  avatar Y. Yılmaz Erdoğmuş avatar Bilal Salih Nurtas avatar Deha Efecan Süer avatar Tuğberk Can Özen avatar Berat Tezer avatar  avatar

Watchers

 avatar

Forkers

mrtctns

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.