Re: Method not seeing array as array[solved]
Re: Method not seeing array as array[solved]
- Subject: Re: Method not seeing array as array[solved]
- From: Michael Swan <email@hidden>
- Date: Thu, 3 Feb 2005 10:13:36 -0500
Many thanks to all who responded to my question. As I am fairly new to
this all the different ides were good to help me see different
programming thoughts. In the end the biggest factor that was affecting
me was:
channelArray = [[NSMutableArray alloc] init];
while this is normally the right way way to do it below worked much
better:
channelArray = [[NSMutableArray alloc] initWithCapicity:0];
I also wrote a separate method that adds a single MSChannel instance to
the array and call it as many times as I need from -(id)init. It works
great and will be more useful down the road.
thanks again,
Mike
"The Ego is the little self that pretends to be the only self and
speaks so loudly that the still, small voice of the Greater Self, whose
whisperings come from within the Soul, are rarely heard - unless we
learn to listen."
_______________________________________________
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