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

Get images ordered by date #18

Closed
LucidityDesign opened this issue Sep 24, 2015 · 6 comments
Closed

Get images ordered by date #18

LucidityDesign opened this issue Sep 24, 2015 · 6 comments

Comments

@LucidityDesign
Copy link

Is it possible to get the images ordered by date instead of ordered by selection order?

@zhangao0086
Copy link
Owner

Hi @LucidityDesign
Do you want to get the create date of the image?

@LucidityDesign
Copy link
Author

I would like to have the image selection count (white number on blue frame) ordered by date and the SelectedAssets ordered by date, too, so I don't have to order the array.

@zhangao0086
Copy link
Owner

Hi @LucidityDesign

The current order is ordered by selection order, not date. If you want to get the create date of the selected images, I think I'll add it.

@syky27
Copy link

syky27 commented Nov 7, 2015

Hi @zhangao0086 thanks for creating this awesome pod, when do you plan to add this?

@zhangao0086
Copy link
Owner

Hi @LucidityDesign @syky27

I have added a convenient way to get the create date of selected asset in 2.3.7 :)

You can use the createDate property like this:

let asset = assets.first
print(asset?.createDate)

@syky27
Copy link

syky27 commented Nov 8, 2015

Thanks!

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

No branches or pull requests

3 participants