Is it possible to set a selector for “setDoubleAction” through “Interface Builder” or it can only be done by “XCode”?
If it can be done only by “XCode” I would like to know why.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In IB, you set the target and single-click action at the same time. There is no way to separately set the double-click action.
You can set it using a Binding, providing you can get to the intended target that way, but this is a bit like swatting a fly with a hydraulic hammer.
The easiest way is just to set it in code.
(What editor you use has nothing to do with it.)