Re: scannerWithString
Re: scannerWithString
- Subject: Re: scannerWithString
- From: Frank Blome <email@hidden>
- Date: Fri, 24 May 2002 14:47:08 +0200
Hi Randy,
On Freitag, Mai 24, 2002, at 02:27 PM, zauhar wrote:
Frank, in my case I did this - It puts each line of the input file into
a separate NSString object in the array. You can then make an NSScanner
instance for each line of the file and go from there.
Yes, some other fellows suggest the same way. It looks much more elegant
then mine. But if I use this, I have to convert the NSArray into a
NSMutableArray because I like to add (via addObject) and insert (via
insertObject:AtIndex) new lines (BTW: Every line will displayed in a
NSTableView with one single row).
But unfortunately I did not find the method to convert a NSArray to a
NSMutableArray at my first view. But I think there must be a way.
Thank's for the support,
Frank
_______________________________________________
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.