I've created a custom view with 2 instances in the nib. We'll call
them view1 and view2. I have a controller class that has the outlets
for both views. I'd like to have a certain function in my controller
class test to see if view1 is the first responder, and if not, to make
it the first responder.
if (![[view1 window] firstResponder]
{
// Do something
}
How do I set a custom view to be the firstResponder?
- Walker Argendeli
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com