Core Data driven objects are created for Xcode, do I need to add the dealloc method to release the variables?

Core Data driven objects are created for Xcode, do I need to add the dealloc method to free the variables?

So, when I have a basic data model for my iPhone application, and I allow Xcode to generate managed object classes, I note that there is no dealloc method. Do I need to "free" the dealloc method manually for variables / properties?

I see that the managed object classes generated by the code have:

  • property marked as “save” in header file
  • in the implementation file it is configured using "@dynamic" (ie not @sythesize)

thank

+3
source share
3

( ) . @dynamic , .

+4

. , , dealloc. Core Data . ivars , , , imageData, UIImage, NSManagedObject, dealloc , .

mogenerator. , , , .

+3

, , Core Data. dealloc Core Data. willTurnIntoFault.

0

All Articles