Re: self release
Re: self release
- Subject: Re: self release
- From: David Blanton <email@hidden>
- Date: Mon, 12 May 2003 14:11:24 -0600
On 5/12/03 1:42 PM, "sinclair44" <email@hidden> wrote:
>
On 5/12/03 2:46 PM, "Wolfgang Ante" <email@hidden> wrote:
>
>
> [[MyWorkingBee workingBeeWithWorkDesc:info] runInBackground];
>
>
>
> ...which is of course autoreleased and then in 'runInBackground' I
>
> [self retain] and when finished I just [self release].
>
>
Or, if you're like me, you might want it to be:
>
>
[[[MyWorkingBee alloc] initWithWorkDesc:info]
>
runInBackgroundAndReleaseWhenDone];
>
>
Or whatever- each coder to their own! :p
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[self coverLegalButt];
[[GeorgeBush principalClass] assassinate:[world currentLeaders]];
Are you suggesting that George Bush is out to assassinate world leaders? If
so, please take your diatribe to some other list. This list is for serious
developers, not lunatics from either fringe.
--
David Blanton
"Cocoa FNG"
_______________________________________________
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.