Reading files

mfhaque

Registered
I'm teaching myself cocoa, i actually developed a gui program that calculated some numbers (yay for me). right now i'm thinking og devleloping something like the console.app. i already came up with the interface..window and the NSTextView. i was wondering if there was any tutorial or sample code that will show me how to read files...like how console.app reads the logs.. and it always updates. any suggestions?
 
If you're really adventurous you could find out how to run a Unix task like "tail" and have a live feed to your NSTextView.

-Rob
 
There's plenty of sample code that gets installed with the Developer tools, under /Developer/Examples/. The Cocoa stuff is in the AppKit folder.
 
Back
Top