Re: Is it a bad idea to invoke "init..." over and over on the same object?
Re: Is it a bad idea to invoke "init..." over and over on the same object?
- Subject: Re: Is it a bad idea to invoke "init..." over and over on the same object?
- From: Andreas Mayer <email@hidden>
- Date: Wed, 2 Nov 2005 16:19:01 +0100
Am 02.11.2005 um 15:57 Uhr schrieb Andrei Tchijov:
1) Is it legal to do initWithBytesNoCopy:length: more then once on
the same object?
No.
You will have to
a) allocate a new object each time around or
b) use a mutable object (NSMutableData) and modify that
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden