Re: Problem with NSFileHandle?
Re: Problem with NSFileHandle?
- Subject: Re: Problem with NSFileHandle?
- From: "Louis C. Sacha" <email@hidden>
- Date: Thu, 24 Jun 2004 22:37:19 -0700
Hello...
Well, perhaps that key/value pair is only included if some sort of
error has actually occured?
Maybe you could test it by creating a NSFileHandle to a file that you
don't have adequate permissions to read and seeing what happens?
Louis
On Jun 24, 2004, at 5:59 PM, Louis C. Sacha wrote:
Hello...
The documentation for NSFileHandleReadCompletionNotification
notification seems to indicate that the keys are the strings
@"NSFileHandleNotificationDataItem" and @"NSFileHandleError" and
not constants by those names.
I had a look at the appropriate headers and
NSFileHandleNotificationDataItem is defined as a constant. And the
method seems to work with either the @".." or without. Furthermore,
it still doesn't recognize NSFileHandleError and if I NSLog
-allKeys, NSFileHandleError doesn't show up in the log. Hmmm.
GZ
_______________________________________________
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.