3

I'm working on a Cocoa programming exercise, and I need to be able to determine which of two NSTextView objects is currently being edited. I think it's something to do with finding the first responder and checking to see if it's equal to one text field or another, but I can't quite get it to work. Any help would be appreciated.

4

1 に答える 1

2

Cocoa Event-Handling Guide、特にResponder-Related Tasksというセクションを読むことをお勧めします。必要な情報がすべて見つかります。

于 2010-01-21T08:09:55.547 に答える