copy and release
copy and release
- Subject: copy and release
- From: Michael Horn <email@hidden>
- Date: Thu, 02 Aug 2001 18:40:39 -0700
When you copy an object. Eg,
stringB = [stringA copy];
Does this automatically autorelease stringB or is this just like doing
stringB = [[NSString alloc] initWithString: stringA];
?
Thanks.