NSOutputStream pb
NSOutputStream pb
- Subject: NSOutputStream pb
- From: Godefroy <email@hidden>
- Date: Fri, 31 Oct 2003 11:33:33 +0100
i do not understand how use NSOutputStream.
this is my code :
NSOutputStream *outPut = [NSOutputStream alloc];
[outPut initToFileAtPath:aPath append:YES];
[outPut open];
[outPut write:aString maxLength:400];
[outPut close];
and i have 2 warnings at [outPut initToFileAtPath:aString append:YES]; and
[outPut write:logString maxLength:4000]; gdb says `NSOutputStream' may not
respond to `-outputStreamToFileAtPath:' but i don't understand why.
and during execution i have a "selector not recognized" error.
if somebody have an idea or another good manner to write at the end of
files.
_______________________________________________
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.