• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: scannerWithString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: scannerWithString
      • From: Ondra Cada <email@hidden>
    • Re: scannerWithString
      • From: Andreas Monitzer <email@hidden>
References: 
 >Re: scannerWithString (From: zauhar <email@hidden>)

  • Prev by Date: Re: scannerWithString
  • Next by Date: Re: scannerWithString
  • Previous by thread: Re: scannerWithString
  • Next by thread: Re: scannerWithString
  • Index(es):
    • Date
    • Thread