Home / NSCopying, NSMutableCopying or NSCoding edit
Try Documentalist, my app that offers fast, offline access to 190+ programmer API docs.

If you get weird crashes that look as if some other Cocoa class is releasing your object prematurely and an access to instance variables crashes because object has already been freed, check what protocols your class’s superclass conforms to.
Chances are, it conforms to NSCopying, NSMutableCopying or NSCoding and you forgot to override copyWithZone: or mutableCopyWithZone:.
Sometimes this mistake also looks as if there were somehow two copies of your object, one valid, and one for which constructor was never called and which has invalid instance variables and behaves zombie-like, but neither NSZombie nor any of your other memory debug tricks trigger for it.

Feedback about page:

Optional: your email if you want me to get back to you:

Need fast, offline access to 190+ programmer API docs? Try my app Documentalist for Windows