I have a view controller that can fetch many different types of entities from my MOC. How can I tell what the entity is for an object of the type NSManagedObject?
[managedObject entity]
will give you an NSEntityDescription
. From there you can send it -name
to get the entity's name that's a bit more user-friendly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With