Approach for "calculated fields" on NSManagedObject subclass
===


I'd like to place some custom methods directly into each NSManagedObject.  Think, "calculated fields": these methods provide read-only calculated values based upon persistent values on the Entity.

I'm using the Xcode New File... Wizard to create NSManagedObject subclasses for each of my Entities.  I'm trying to benefit from the system auto-creating the accessors for me.  For example:

Core Data Entity: "Site"

    @interface Site : NSManagedObject

As I continue to add new Attributes to my Entities, I'm replacing their corresponding NSManagedObjects by using the Wizard.  When each file is replaced, my custom methods are lost.

Should I create my custom methods elsewhere so that I can continue to leverage the Wizard? Or, should I keep the methods on the NSManagedObject and add Accessors for new Attributes manually?  Is there another approach?