Accessing private properties using NSPredicate [swift][iOS][Realm]

Let’s suppose you have private property like I mentioned above. Now you might think, `name` property is not accessible right? But you are wrong. It can be accessed using NSPredicate. Here is an example how you can access that private property. Run this code and 💥boom💥. You can still access private access using `NSPredicate` approach. […]

Realm: LinkingObjects(fromType: Class.self, property: “property”) returns nil

Realm is really simple and powerful tool for developers to deal with local database. I highly recommend to use realm. Let’s go directly to the problem guys. Realm provides inverse relationship which is great to use. But you might get the issue while getting parent object using LinkingObjects class. Let me show you first how […]