Re: Another TableView question...
Re: Another TableView question...
- Subject: Re: Another TableView question...
- From: Dan Stein <email@hidden>
- Date: Tue, 25 Jan 2005 12:08:02 -0800
On Jan 25, 2005, at 11:21 AM, Martha I. Espinosa wrote:
the file doesn't get created until half way through my application.
Do you mean the SWInstallers.txt file?
If so, you should create the array at the time the file is created.
Also, in which class are you implementing the init method you published?
Another suggestion, in which you could make your array creation more
object-oriented is to
create an NSEnumerator for your array of lines
NSEnumerator *en = [ lines objectEnumerator ];
Then you could replace the for loop with a
while ( words = [ en nextObject ]
{
...
and forget about your i and count variables
_______________________________________________
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