Please remove the unused `entityName` method from NSManagedObject

Originator:tonyarnold
Number:rdar://16599691 Date Originated:12-Apr-2014 01:13 PM
Status:Open Resolved:
Product:iOS SDK / OS X SDK Product Version:7.1 / 10.9
Classification:Other Bug Reproducible:Always
 
Description: 
There is a private method — `entityName` — on NSManagedObject that a lot of users are receiving App Store validation warnings for calling. The default method always seems to return nil, so I don't think you guys are using it.

Steps to reproduce:
1. Create a method on your NSManagedObject subclass that overrides `entityName`
2. Call this method anywhere in your app
3. Submit your app for validation for entry into either app store

Expected Results: 
There is no validation warning, because the Core Data team properly prefixed their private methods with something suitable like an underscore. The method returns your overridden value and everyone high fives.

Actual Results:
The app store validation process tells you that you're using a private method on NSManagedObject. Everyone is somber and there are no smiles anywhere.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!