[Add] MARSDK_EPSDK 5.4.1
[CocoaPods.git] / Specs / c / e / 8 / HGImagePicker / 1.0.0 / HGImagePicker.podspec.json
blob778689dbbab8c46b8e3ff6b8fb5ce90f0487465e
2   "name": "HGImagePicker",
3   "version": "1.0.0",
4   "summary": "An image picker similar to Apples picker in the messages app.",
5   "description": "                       Ever wonted an image picker that allows you to easily add images from the Camera roll, Camera and Photo library\n                       then you need not look any further.\n\n                       HGImagepicker combines a list of recent pictures with CTAssetsPickerController and Apples UIImagePickerController\n                       to mimic the same behaviour of the Messages app.\n\n                       ![Initial Screen](https://github.com/sadiq81/HGImagePicker/Example/Screen1.png)\n                       ![Image source picker](https://github.com/sadiq81/HGImagePicker/Example/Screen2.png)\n                       ![Photo gallery using CTAssetsPickerController](https://github.com/sadiq81/HGImagePicker/Example/Screen3.png)\n\n                       Example:\n\n                       <h1>Display HGImagePickerController<h1>\n                       ```Objective-C\n                       HGImagePickerController *imagePickerController = [HGImagePickerController controllerWithDelegate:self];\n                       imagePickerController.modalPresentationStyle = UIModalPresentationFullScreen;\n                       imagePickerController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;\n                       [self presentViewController:imagePickerController animated:true completion:nil];\n                       ```\n\n                       <h1>Delegate callback when the user confirms the choice of images<h1>\n                       ```Objective-C\n                       - (void)HGImagePickerControllerDidConfirm:(HGImagePickerController *)controller pictures:(NSArray *)pictures {\n                           @weakify(self)\n                           [controller dismissViewControllerAnimated:true completion:^{\n                               @strongify(self)\n                               [self.slideShow setImages:[[NSMutableArray alloc] initWithArray:pictures]];\n                               [self.slideShow start];\n                           }];\n                       }\n                       ```\n                       <h1>Delegate callback when the user cancels<h1>\n                       ```Objective-C\n                       - (void)HGImagePickerControllerDidCancel:(HGImagePickerController *)controller {\n                           @weakify(self)\n                           [controller dismissViewControllerAnimated:true completion:^{\n                               @strongify(self)\n                               UIAlertController *errorController = [UIAlertController alertControllerWithTitle:@\"Cancelled\" message:@\"User cancelled image picking\" preferredStyle:UIAlertControllerStyleAlert];\n                               [errorController addAction:[UIAlertAction actionWithTitle:@\"OK\" style:UIAlertActionStyleCancel handler:nil]];\n                               [self presentViewController:errorController animated:true completion:nil];\n\n                           }];\n                       }\n                       ```\n\n                       Thanks to the creators of AsyncImageView, CTAssetsPickerController, MSSPopMasonry, ALActionBlocks, LinqToObjectiveC, ReactiveCocoa\n\n",
6   "homepage": "https://github.com/sadiq81/HGImagePicker",
7   "license": "MIT",
8   "authors": {
9     "Tommy Sadiq Hinrichsen": "tommy.lynge@gmail.com"
10   },
11   "source": {
12     "git": "https://github.com/sadiq81/HGImagePicker.git",
13     "tag": "1.0.0"
14   },
15   "social_media_url": "https://twitter.com/sadiq81",
16   "platforms": {
17     "ios": "8.0"
18   },
19   "requires_arc": true,
20   "source_files": "Pod/Classes/**/*",
21   "resource_bundles": {
22     "HGImagePicker": [
23       "Pod/Assets/*.png"
24     ]
25   },
26   "frameworks": [
27     "UIKit",
28     "AssetsLibrary"
29   ],
30   "dependencies": {
31     "AsyncImageView": [
32       "~> 1.5.1"
33     ],
34     "CTAssetsPickerController": [
35       "~> 2.9.3"
36     ],
37     "pop": [
38       "~> 1.0"
39     ],
40     "MSSPopMasonry": [
41       "~> 0.0.1"
42     ],
43     "ALActionBlocks": [
44       "~> 1.0.3"
45     ],
46     "LinqToObjectiveC": [
47       "~> 2.0.0"
48     ],
49     "ReactiveCocoa": [
50       "~> 2.4.7"
51     ]
52   }