Code Monkey home page Code Monkey logo

suphotopicker's Introduction

####简介
用法简单的iOS图片选择库
项目主页:https://github.com/DaMingShen/SuPhotoPicker
1、只需两行代码搞定
2、仿QQ图片选择界面

####如何导入
cocoapods导入:暂无
手动导入:将 SuPhotoPicker 文件夹拽入项目中

####如何使用
1、导入主头文件:

#import "SuPhotoPicker.h"

2、创建一个图片选择库实例并选择其显示界面

SuPhotoPicker * picker = [[SuPhotoPicker alloc]init];  
//最大选择图片的数量以及最大快速预览图片的数量,默认为20  
picker.selectedCount = 12;  
picker.preViewCount = 15;  
//现在在界面上  
[picker showInSender:self handle:^(NSArray<UIImage *> *photos) {  
        //完成选择后的操作  
    }];  

####效果图
1、快速预览界面及图片选择(GIF 3.4M)

SuPhotoPicker.gif

2、相册界面及图片选择(GIF 1.2M)

SuPhotoPicker - album.gif

3、图片预览界面及图片选择(GIF 6.7M)

SuPhotoPicker - album - preview.gif

4、相机使用功能无法录制GIF,请在真机上实际使用体验

####提醒
本工具纯ARC,由于使用Photos库来实现,要求iOS8.0以上系统

####期待 1、大牛们能提供建议(包括优化和完善功能)
2、使用中遇到BUG,请联系我,谢谢
3、小伙伴能输出代码,Pull Requests我
4、本库能帮助到大家 ^_^

suphotopicker's People

Contributors

damingshen avatar

Watchers

James Cloos avatar qicuili avatar

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.