All Projects → MakeZL → Zlphotolib

MakeZL / Zlphotolib

Licence: other
This is a photo album multiple-choice / photo browser example

Projects that are alternatives of or similar to Zlphotolib

Imageglass Preview
🏔 A modern, versatile image viewer (preview)
Stars: ✭ 72 (-91.9%)
Mutual labels:  photo-browser
Mvpapp
Android MVP Architecture
Stars: ✭ 2,354 (+164.79%)
Mutual labels:  photo-browser
Odyssey
Next generation gallery. Exceptional images deserve an exceptional presentation.
Stars: ✭ 29 (-96.74%)
Mutual labels:  photo-browser
Syphotobrowser
A cute and lightweight photo browser like Tweetbot3.
Stars: ✭ 81 (-90.89%)
Mutual labels:  photo-browser
Lantern
基于Swift的高可用视图框架
Stars: ✭ 181 (-79.64%)
Mutual labels:  photo-browser
Fusuma
Instagram-like photo browser and a camera feature with a few line of code in Swift.
Stars: ✭ 2,434 (+173.79%)
Mutual labels:  photo-browser
Txcustomview
图片浏览
Stars: ✭ 13 (-98.54%)
Mutual labels:  photo-browser
LLPhotoBrowser
精简版图片浏览器,使用UIScrollView进行图片的缩放、平移,可根据需求自定义界面或扩展功能
Stars: ✭ 18 (-97.98%)
Mutual labels:  photo-browser
Skphotobrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift
Stars: ✭ 2,285 (+157.03%)
Mutual labels:  photo-browser
PhotoMiner
Photo finder application for macOS
Stars: ✭ 102 (-88.53%)
Mutual labels:  photo-browser
Photostructure For Servers
PhotoStructure for Servers
Stars: ✭ 98 (-88.98%)
Mutual labels:  photo-browser
Lovedoudou
爱逗逗——集新闻资讯,影视评论,漂亮妹子,视频播放于一身的app,用于练习MVP+Retrofit+RxJava+Glide框架,如今将其开源,仅供学习探讨,禁止商用。
Stars: ✭ 165 (-81.44%)
Mutual labels:  photo-browser
Imageglass
🏞 A lightweight, versatile image viewer
Stars: ✭ 3,284 (+269.4%)
Mutual labels:  photo-browser
Photoviewslider
📷 A simple photo browser for Android applications.
Stars: ✭ 78 (-91.23%)
Mutual labels:  photo-browser
AFTPhotoScroller
A simple photo browser using like iOS photo app.
Stars: ✭ 20 (-97.75%)
Mutual labels:  photo-browser
Photobrowser
Elegant photo browser in Swift. 图片与视频浏览器。
Stars: ✭ 975 (+9.67%)
Mutual labels:  photo-browser
Unsplash Photopicker Ios
📱An iOS photo picker to search and download photos from Unsplash.
Stars: ✭ 213 (-76.04%)
Mutual labels:  photo-browser
Photobrowser
A simple iOS Instagram photo browser written in Swift using Alamofire networking library, SwiftyJSON JSON parsing library and FastImageCache storing and retrieving images library.
Stars: ✭ 533 (-40.04%)
Mutual labels:  photo-browser
JKPhotoBrowser
高仿微信、iOS10 相册的图片浏览器,具备拖拽缩放、渐变效果
Stars: ✭ 16 (-98.2%)
Mutual labels:  photo-browser
Geeqie
claiming to be the best image viewer / photo collection browser
Stars: ✭ 239 (-73.12%)
Mutual labels:  photo-browser

This is a photo album multiple-choice / photo browser example

新库 MLPhotoLib:

欢迎大家使用新的相册库(MLPhotoLib),兼容iOS7+,效率更高 效果更好~ MLPhotoLib


继承图片多选/图片浏览器一体

新特性:浏览器支持屏幕旋转、优化了数据源。

Browser Continued in ...

Demo Show

image image image

Recoder SelectedAssets/Limit SelectedAssets (记录/限制功能)

image

Not Power没权限

相册多选

// 创建图片多选控制器
ZLPhotoPickerViewController *pickerVc = [[ZLPhotoPickerViewController alloc] init];
// 默认显示相册里面的内容SavePhotos
pickerVc.status = PickerViewShowStatusSavePhotos;
// 选择图片的最小数,默认是9张图片最大也是9张
pickerVc.minCount = 4; 
[pickerVc show];

// block回调或者代理
// 用block来代替代理
pickerVc.delegate = self;    
/**
 *
 传值可以用代理,或者用block来接收,以下是block的传值
 __weak typeof(self) weakSelf = self;
 pickerVc.callBack = ^(NSArray *assets){
    weakSelf.assets = assets;
    [weakSelf.tableView reloadData];
 };
 */    

// 代理回调方法
- (void)pickerViewControllerDoneAsstes:(NSArray *)assets{
  self.assets = assets;
  [self.tableView reloadData];
}

ZLPhotoPickerBrowserViewController 图片游览器

ZLPhotoPickerBrowserViewController *pickerBrowser = [[ZLPhotoPickerBrowserViewController alloc] init];
// 传入点击图片View的话,会有微信朋友圈照片的风格
pickerBrowser.toView = cell.imageView;
// 数据源/delegate
pickerBrowser.delegate = self;
pickerBrowser.dataSource = self;
// 是否可以删除照片
pickerBrowser.editing = YES;
// 当前显示的分页数
pickerBrowser.currentIndexPath = indexPath;
// 展示控制器
[pickerBrowser show];

Contact

@weibo : 我的微博

License

ZLPhotoLib is published under MIT License

Copyright (c) 2015 MakeZL (@MakeZL)

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].