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 Custom Fetch Result #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felix-dumit
Copy link

I had a scenario where I wanted to use the picker to select the assets among an already established PHFetchResult, without the need to show all the albums.

Now you can set the pickFromFetch property of the picker which will enable this option.

example:

CTAssetsPickerController *picker = [[CTAssetsPickerController alloc] init];
 // set delegate
picker.delegate = self;
// set custom fetch
picker.pickFromFetch = [PHAsset fetchAssetsWithOptions:nil];

@1and2papa
Copy link
Owner

@felix-dumit Sounds cool. Unfortunately I am very busy on my personal matter recently and this PR might not be merged within short period of time. Hope you don't mind.

@felix-dumit felix-dumit force-pushed the custom-fetch branch 3 times, most recently from c893cfb to 670f7b9 Compare April 11, 2016 18:50
@1and2papa
Copy link
Owner

Sorry, development of this project is suspended. This PR would be merged.

@felix-dumit felix-dumit deleted the custom-fetch branch November 27, 2017 05:22
@felix-dumit felix-dumit restored the custom-fetch branch November 27, 2017 05:25
@felix-dumit felix-dumit reopened this Nov 27, 2017
@felix-dumit felix-dumit force-pushed the custom-fetch branch 3 times, most recently from eaffd22 to 70cde51 Compare November 27, 2017 05:27
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