Re: reading in text files
Re: reading in text files
- Subject: Re: reading in text files
- From: Jake MacMullin <email@hidden>
- Date: Wed, 6 Feb 2002 09:57:51 +1030
Anyone thought of using Java with Cocoa? In that case you could use a
BufferedReader which has a readLine() method. This is part of the
standard Java libraries, and copes with heaps of EOL characters,
Mac/PC/UNIX
Regards,
Jake MacMullin
On Wednesday, February 6, 2002, at 06:09 AM, Ondra Cada wrote:
Ben,
Ben Mackin (BM) wrote at Tue, 05 Feb 2002 10:48:41 -0800:
BM> >Nope. NSMatrix is a _VISIBLE_ 2D structure, ie. thing which is
here to
BM> >arrange other things (represented by cells) in views and windows in
BM> >table-like patterns.
BM>
BM> Ultimatly I want to display the data in my array (or
multidimensional
BM> array) in a table on the screen. The way I was going to do it was to
BM> create the array from the text file, and then march through the
array and
BM> display it on screen.
BM>
BM> Would it be easier to just use a NSMatrix?
Can't say ;)
If the data are pretty big and/or dynamic, NSTableView would be better.
If
they are small and relatively static though -- like a shelf in a window
or so
-- NSMatrix looks like the best solution. Also, the layout desired is
important...
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
_______________________________________________
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.