-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Hi, I use your nice PrediKit to filter realm Results, works pretty good, but needs particular implementation of the properties() method
My variant:
extension Object: Reflectable {
public static func properties() -> [Selector] {
guard let schema = self.sharedSchema() else { return [] }
let properties = schema.properties.map {
Selector($0.name)
}
let computedProperties = schema.computedProperties.map {
Selector($0.name)
}
return properties+computedProperties
}
}
Problem is the following: Object inherited from NSObject, so I can't override your implementation in the NSObject extension
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels