For any given NSManagedObject, is there any method to return a set or array of keys (attribute names) for that particular NSManagedObject? I've tried looking around in NSObject & NSManagedObject docs but found nothing. Something that functions like NSDictionary 'allKeys' would be what I need, ie.
myArrayOfKeys = [myDict allKeys]
I presume there must be an easier way of handling large numbers of attributes eg. iterating over an array of keys.