I'm reading the Steinberg book. In the part where he's describing how turning GC on affects property declarations, specifically where an immutable class like NSString is extended my a mutable one and that creates a problem, he says:
> An NSString is immutable, so you can use copy but not retain...
I don't get it. So it's immutable, so what? Why shouldn't I be able to retain it?
?? Thanks.
> An NSString is immutable, so you can use copy but not retain...
I don't get it. So it's immutable, so what? Why shouldn't I be able to retain it?
?? Thanks.