Re: how to specify action in interface builder in Xcode 4?

"Diez B. Roggisch" <[email protected]> Fri, 28 Sep 2012 17:43:59 +0200
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
On Sep 28, 2012, at 5:18 PM, Diez B. Roggisch wrote:

> Hi,
> 
> ooookeeey. This is embarrassing. But the new Xcode 4 Interface Builder is… something to get used to. And the one thing totally not working for me: making new IBActions. There used to be a time when you could simple do that, IB wouldn't care, but the runtime would connect things as advertised.
> 
> Now, I can't do anything anymore.
> 
> All I do is open a XIB-File in XCode, there is no "project" involved. Is that maybe the reason? 


To answer my own question partially: It worked to put the action into the XIB-File manually, like this:

					<object class="NSMutableDictionary" key="actions">
						<string key="NS.key.0">chooseConfig:</string>
						<string key="NS.object.0">id</string>
					</object>


Not the most convenient way of doing it, but at least it works..

Diez
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html