• So this is what I'm using to get the start date and end date of any album, works great and takes advantage of the fact that the assets list is ordered in ascending order by date:

    def get_album_dates(album:photos.AssetCollection) -> (datetime.datetime, datetime.datetime): assets = album.assets if len(assets) == 0: return (None, None) else: return (assets[0].creation_date, assets[-1].creation_date)
  • @omz In Swift I also didn't find a way to get the correct localization of album names, not in Xcode but also not on a device. The latter has always surprised me, because you would expect to get the correct locale there. Sometimes an API has a will of its own, it appears. I'm really looking forward to Pythonista 3, by the way.

Internal error.

Oops! Looks like something went wrong!