Open kolbasek opened 5 years ago
Thanks for this! I'll look into it
Also feel free to make a PR if you want! For some context, I made the protocol force NSObject conformance because there was no reflection into Swift properties on a class at the time as well as the fact that you aren't allowed to extend AnyObject or Any for Swift objects. Given that we now have keyPaths and Mirror, this may no longer be the case. For now though, I may just make reflectable a base protocol and create a separate objective c protocol that extends it so that way the default implementation for objective c objects don't break.
Would that still work for your project? If so, it's a fairly easy fix and should make for an easy pr. I can do it too when I'm near a computer so whichever works best for you!
Sounds cool, I think this will work
Hi, I use your nice PrediKit to filter realm Results, works pretty good, but needs particular implementation of the properties() method My variant:
Problem is the following: Object inherited from NSObject, so I can't override your implementation in the NSObject extension