Skip to content

0.6.0

Compare
Choose a tag to compare
@lukepistrol lukepistrol released this 16 May 00:29
· 112 commits to main since this release

New Features:

  • added closure versions of get methods:
// fetch images metadata using completion handlers
pexels.getCuratedPhotos() { result in
    switch result {
    case .failure(let error):
        print(error.description)
    case .success(let photos):
        // access photos
    }
}

Internal Changes:

  • moved methods for Photos, Videos, Collections to their own separate files
  • disabled logging in tests
  • updated docs