Realm: Results<T> als List<T>
Is it possible to convert Results<T> to List<T> or shouldn't I do this? In my case I have method that has List as a parameter. I want to call this method with fetched objects ( Results<T> ) and with computed objects ( List<T> ) Results and List implement CollectionType and RealmCollectionType . The latter is a specialization of the former protocol, which allows you to efficiently use aggregation functions and filter & sort entries. Almost no method in Realm Swift make strong assumptions about the type of the collection. They just expect a SequenceType which is a generalization of the former