Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a custom collection of TLPHAssets #68

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

CocoaBob
Copy link

@CocoaBob CocoaBob commented Jan 20, 2018

It may be not what you want, and I broke the APIs of TLPhotosPickerViewControllerDelegate.
Here's a brief list of changes in the commit of eef1c6c:

  • Support a custom collection of TLPHAssets which doesn't belong to the photo library.
  • Choose the custom collection by default if it's available.
  • Changed TLPHAsset from struct to class to become reference type.
  • Added localIdentifier to TLPHAsset for direct comparing.
  • Updated TLPhotosPickerViewControllerDelegate for complex callbacks.
  • Set picker's navigationBar.isTranslucent to false by default.

- Support a custom collection of TLPHAssets which doesn't belong to the photo library.
- Choose the custom collection by default if it's available.
- Changed TLPHAsset from struct to class to become reference type.
- Added localIdentifier to TLPHAsset for direct comparing.
- Updated TLPhotosPickerViewControllerDelegate for complex callbacks.
- Set picker's navigationBar.isTranslucent to false by default.
@CocoaBob
Copy link
Author

CocoaBob commented Jan 21, 2018

Just sent another commit de814ef👇. Now we can swipe horizontally to select/deselect images, like iOS 11 built-in albums.

- Support swipe horizontally to select/deselect images.
- Added a configure setting to turn off selection animation.
- Let collection view always bounce vertically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants