Subclassing NSObject, can it cause problems?
Posted
by Sheehan Alam
on Stack Overflow
See other posts from Stack Overflow
or by Sheehan Alam
Published on 2010-03-24T22:06:59Z
Indexed on
2010/03/24
22:13 UTC
Read the original article
Hit count: 328
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?
© Stack Overflow or respective owner