Re: [Pyobjc-dev] how to specify action in interface builder in Xcode 4?
Brought to you by:
ronaldoussoren
From: Diez B. R. <de...@we...> - 2012-09-28 15:44:06
|
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 |