Code Monkey home page Code Monkey logo

aliimagepicker's Introduction

照片选择器

1、目录介绍

  • ALiConfig 主要是常用的一些常量的配置
  • ALiAsset 相册中每个图片对应的模型 内含系统的PHAsset 同时增加了获取缩略图、预览图、完整 图片 以及自定义大小的图片的方法
  • ALiImagePickerController 图片选择的控制器 负责展示获取的图片
  • ALiImagePickerService 获取图片的一个service,内部封装了一些方法, 方便的获取图片以及分类

2、简单介绍

PHAsset是Photos framework中的重要对象,代表iOS中的一个资源(图片、视频)。Photos framework是苹果在iOS8时推出一个Framework,用来取代Assets Library。

而在 iOS8 出现之后,苹果提供了一个名为 PhotoKit 的框架,一个可以让应用更好地与设备照片库对接的框架。

目前根据根据只支持三个版本的规律,相信绝大多数公司都已经最低支持8.0了(如果你在大公司,忽略这里),所以更换图片选择的库也是必然。

3、效果展示

ALiImagePicke

4、参考文献

iOS 开发之照片框架详解

照片框架

aliimagepicker's People

Contributors

leewongsnail avatar

Watchers

 avatar  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.