프로젝트
GitHub에서 보기
donobono/DoImagePickerController
소개
단일 선택과 다중 선택을 지원하는 이미지 선택 컨트롤러입니다. 팬 제스처로 많은 사진을 선택할 수 있습니다.
디자인 및 미디어What you can do
- adjustable column count : 2 ~ 4
- adjustable count to select photos
- multiple selection with pan gesture
- go top or botom directly by tapping right side buttons
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDoImagePickerController
An image picker controller with single selection and multiple selection. Support to select lots photos with panning gesture.
Preview
various column count : 2, 3 and 4

select multiple photos with pan gesture

select album

landscape mode

Requirements
- iOS 7.0 and greater
- ARC
Features
- adjustable column count : 2 ~ 4
- adjustable count to select photos
- multiple selection with pan gesture
- landscape mode
- go top or botom directly by tapping right side buttons
- long tap on thumbnail to show preview
- tap or drag preview to close preview
Examples
- AssetHelper : helper class for asset
Code:
// YES : old photo -> new photo
// NO : new photo -> old photo
@property (readwrite) BOOL bReverse;
// methods to get asset data
- (void)getGroupList:(void (^)(NSArray *))result;
- (void)getPhotoListOfGroup:(ALAssetsGroup *)alGroup result:(void (^)(NSArray *))result;
- (void)getPhotoListOfGroupByIndex:(NSInteger)nGroupIndex result:(void (^)(NSArray *))result;
- (void)getSavedPhotoList:(void (^)(NSArray *))result error:(void (^)(NSError *))error;
- DoImagePickerController
Code:
DoImagePickerController *cont = [[DoImagePickerController alloc] initWithNibName:@"DoImagePickerController" bundle:nil];
cont.delegate = self;
cont.nMaxCount = 4; // larger than 1
cont.nColumnCount = 3; // 2, 3, or 4
cont.nResultType = DO_PICKER_RESULT_UIIMAGE; // get UIImage object array : common case
// if you want to get lots photos, you had better use DO_PICKER_RESULT_ASSET.
[self presentViewController:cont animated:YES completion:nil];
Credits
DoImagePickerController was created by Dono Cho.
License
DoImagePickerController is available under the MIT license. See the LICENSE file for more info.
Icon images from
thank you so much for sharing awesome icons!!!
관련 프로젝트 살펴보기
불러오는 중…