A drop-in replacement for UIImagePickerController with more options and the ability to select multiple images and/or videos
- Multi selection of photos/videos using the photos library
- Ability to reverse the display order of images/videos
- Option to show a camera button inside the picker
- Assigning a max limit for the number of photos and videos
- Choosing the first view the user sees
- Add Tatsi as a submodule to your repository.
- Drag
Tatsi.xcodeproj
into your Xcode project - Go to your Project Settings -> General and add Tatsi under Embedded Frameworks
- Add
NSPhotoLibraryUsageDescription
to your Info.plist with a proper description. - (Optional) if you want to use the camera option. You will also need to add
NSCameraUsageDescription
to your Info.plist
- Remove Tatsi.h and Info.plist from the Tatsi folder.
- Add the contents of the Tatsi folder to your projects
- Add
NSPhotoLibraryUsageDescription
to your Info.plist with a proper description. - (Optional) if you want to use the camera option. You will also need to add
NSCameraUsageDescription
to your Info.plist
- Add
Import Tatsi
andImport Photos
to your Swift file. You can skip this step if you used manual installation. - (Optional) Create an instance of
TatsiConfig
and configure the settings. - Create an instance of
TatsiPickerViewController
.TatsiPickerViewController(config:)
allows you to use the config from the previous step - Implement
TatsiPickerViewControllerDelegate
- Set the
pickerDelegate
onTatsiPickerViewController
- Present the
TatsiPickerViewController
Tatsi = Photos in Planco, the language spoken in the game Planet Coaster. Source
- The ability to color some elements
- Icons for the hidden and recently deleted albums
- Proper
init?(coder aDecoder: NSCoder)
support - UI Tests
- Running Unit Tests on Travis