newbie memory question
newbie memory question
- Subject: newbie memory question
- From: pmcurry <email@hidden>
- Date: Sun, 30 Nov 2003 12:57:20 -0800
NSData* data = [[notice userInfo] objectForKey:
NSFileHandleNotificationDataItem];
NSString* string = [[NSString alloc] initWithData: data encoding:
[NSString defaultCStringEncoding]];
NSArray* components = [string componentsSeparatedByString:@"\n"];
Can I assume these three lines are using 'convenience type' calls and
I'm not responsible for releasing any of the objects created in the
process? I'm still memory gun-shy.
Thanks.
-Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.