init(_:)
public init<C: RealmCollection>(_ base: C) where C.ElementType == Element
Creates an AnyRealmCollection
wrapping base
.
-
Declaration
Swift
public init<C: RealmCollection>(_ base: C) where C.ElementType == Element