Hi all,
I have an entity object Country with country name and country code. It is a subclass of NSManagedObject and I am using it with core data model to store its value to a persistent store.
I have a place where the same Country object will used as a normal object i.e. I will use it to store some temporary country name.
For that I have initialized the Country as following
[NSManagedObject alloc] init]
Initialization successfully done, but I am not able to set any property to that object. Hence I did an exploration. In that I found that, init for the NSManagedObject is not supported as per the documentation.
I dont know how to use the NSManagedObject Country with CoreData as well as a normal Object.
If there is a possibility, please let me know the solution as I am in desperate need of this asap..
Thanks in advance.