Select FailedBankInfo, select File CoreData file to generate FailedBankInfo.h, .m again. Select replace. This changed property details type from NSManagedObject to FailedBankDetails as desired.