Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcmatan/JVTImageFilePicker
Easy and beautiful way for a user to pick content, files or images. Written in Objective C
https://github.com/mcmatan/JVTImageFilePicker
Last synced: 16 days ago
JSON representation
Easy and beautiful way for a user to pick content, files or images. Written in Objective C
- Host: GitHub
- URL: https://github.com/mcmatan/JVTImageFilePicker
- Owner: mcmatan
- License: mit
- Created: 2016-04-06T11:57:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T15:13:07.000Z (over 6 years ago)
- Last Synced: 2024-09-18T21:40:35.268Z (about 2 months ago)
- Language: Objective-C
- Homepage:
- Size: 3.47 MB
- Stars: 61
- Watchers: 5
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
##JVTImageFilePicker
[![Pod version](https://img.shields.io/cocoapods/v/ImageFilesPicker.svg?style=flat)](http://cocoadocs.org/docsets/ImageFilesPicker)
## Description
**ImageFilesPicker** Is a butifuly designed UICompenent for uploading content
**Preview from recent camera roll**
**Live Camera instant share!**
**Files upload via drop box, drive etc..**
**Checks for camera accessibility, and adops UI presentation on live permission change.**
## Demo
## Usage
**ImageFilesPicker** works as a normal controller, just instantiate it and present it.
```objectivec
self.filePicker = [[JVTImageFilePicker alloc] init];
self.filePicker.delegate = self;
[self.filePicker presentFilesPickerOnController:self];
```**ImageFilesPicker** has two delegate methods that will inform you what the users are up to:
```objectivec
- (void)didPickFile:(NSData *)file
fileName: (NSString *) fileName {
NSLog(@"Did pick file");
}- (void)didPickImage:(UIImage *)image
withImageName:(NSString *) imageName {
NSLog(@"Did pick image");
}
```## Installation
**ImagePicker** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'ImageFilesPicker'
```Dont forget to enable icloud at Capabilities, for file sharing.
## Author
[Matan](https://github.com/mcmatan) made this with ❤️.
##License
```
Copyright 2013-2016 Jive Software, Inc.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```