• 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
[SOLVED] Re: NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem]


  • Subject: [SOLVED] Re: NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem]
  • From: Wolf Stephan Kappesser <email@hidden>
  • Date: Fri, 26 Nov 2010 15:01:43 +0100

I have solved the problem while using NSFileHandleNotificationDataItem and the Notification constant NSFileHandleReadCompletionNotification.


Am 24.11.2010 um 15:45 schrieb Wolf Stephan Kappesser:

> Hello,
>
> I am trying to connect a chess engine (via UCI) to my obj-c program.
> For this, I use the async NSFileHandleDataAvailableNotification to read the datas into a string and parse them.
> The problem is that the NSTask which starts the chess engine uses some old datas which seems to be in a buffer, I can't clear. The effect is that the engine answer to input which is depreciated. I can't determine this behavior.
>
> There are someone how knows, were I can get help, or have a solution directly. If need I can send you code snips and log files.
>
> Best regards
> Wolf S. K._______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem] (From: Wolf Stephan Kappesser <email@hidden>)

  • Prev by Date: CoreText - CTFrameDraw doesn't draw paragraph's last line
  • Next by Date: Re: CoreText - CTFrameDraw doesn't draw paragraph's last line
  • Previous by thread: NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem]
  • Next by thread: Problem with plugin architecture development and subclass into bundles
  • Index(es):
    • Date
    • Thread