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

2010-11-26 Thread Wolf Stephan Kappesser
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. >

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

2010-11-25 Thread 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 bu