Re: Overriding methods
Re: Overriding methods
- Subject: Re: Overriding methods
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 24 Mar 2002 22:48:43 +0100
On Sonntag, Mdrz 24, 2002, at 08:35 , Ondra Cada wrote:
On Sunday, March 24, 2002, at 08:17 , Gerriet M. Denkmann wrote:
So, NSMutableArray is a subclass of NSObject and inherits -init.
Right.
But when I use [ [ NSMutableArray alloc ] init ] I get no error
message like:
"Please use initWithCapacity:", and it almost works - but only almost.
It works completely and without any problem at all.
Well it did not work for me, and it worked with initWithCapacity: 0.
But maybe I made some other changes as well when replacing the init-call
and the bug was within these other things.
I just tried again with init, and - as you said - it worked without any
problems.
Probably I should check things better before complaining.
Gerriet.
_______________________________________________
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.