Re: Missing methods in the first responder object
Re: Missing methods in the first responder object
- Subject: Re: Missing methods in the first responder object
- From: Fritz Anderson <email@hidden>
- Date: Mon, 10 Dec 2012 08:07:08 -0600
On 9 Dec 2012, at 12:44 PM, Thomas Clement <email@hidden> wrote:
> In Interface Builder, I wanted to connect some menu items to the "performFindPanelAction:" method of the first responder object but couldn't since the method is missing form the list of available actions (see attached screenshot). Actually other methods are missing too.
>
> My project is targeting the 10.8 SDK, the "Deployment" and "Development" settings of the xib document are set to the latest version. I created a new xib and have the same issue in it. If I create a fresh new project, all the appropriate methods are there. I can't find what is wrong with this particular project :/
I see from a search for performFindPanelAction: that that method is deprecated in 10.7 in favor of performTextFinderAction:. IB tries not to offer deprecated methods. I tried changing the deployment target of a 10.8 XIB to 10.6 (without reopening it, maybe closing and reopening would do it) and the method did _not_ reappear.
As a workaround, you can add the selector to First Responder by selecting it and editing the table in the Attributes inspector.
— F
--
Fritz Anderson -- Xcode 4 Unleashed: 4.5 supplement in the works -- <http://x4u.manoverboard.org/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden