0.0.14 adds support for the new Entity
(and in future, other objects) listing paradigm, based on a Disposition
property, introduced in API 0.0.19. Lists of Entities may now be retrieved using Entity.retrieveList()
Changelog
- Removed deprecated
EntityList
- Added
EntityList.retrieveList()
, available in both error-first and and Result callback forms - Added
Disposition
struct - Added
Entity.disposition
property - Removed
EntityListScope
enum - Added
State
enum
Example list retrieval
Entity.retrieveList(
authenticatedBy: session, // Session instance created elsewhere
withName: "great", // Optionally search by fragments of names
then: { (error, list) in // Result enum version also available
// Hooray! Do things with Entity list
}
)