Sub-ranking NSObject, can this cause problems?

advertisements

I have a very basic data class that is subclassed from NSObject. I declare a few strings, make sure they have properties (nonatomic, copy), and synthesize them. The only method I implemented was dealloc() which releases my strings. Can any memory problems arise from just this? Are there any other methods I need to implement?


Subclassing NSObject is something that we do all the time. Just follow the memory management rules, and you're good to go.