Hi all,

Two quick questions

1. If I have an NSString and I simply assign it = @"" does that
initialize it or do I have do go NSString *someString = [[NSString
alloc] init];

2. If I have an NSObject class and I define an init messge, do I have
to do self = [super init] or is that not important when extending from
NSObject.

Thanks for your response, within the responses of those two questions
may lie the answer of my app's memory allocation issues.


-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to