Re: Interface Builder Controller. Beginner question
Re: Interface Builder Controller. Beginner question
- Subject: Re: Interface Builder Controller. Beginner question
- From: Ryan Poling <email@hidden>
- Date: Sun, 9 Mar 2008 17:33:28 -0700
Make sure you have Xcode set to the "Debug" mode instead of "Release."
Sometimes, due to code optimizations, breakpoints can be skipped over
if you're in "Release" mode. This probably won't solve your problem,
but I thought it was worth noting.
Try adding a brand new button in Interface Builder to your window.
Control-click and drag from the button to your controller and hook it
up to the method you want to call.
Make sure the method is declared as an IBAction, e.g.:
- (IBAction) myMethodName:(id) sender;
-Ryan
<http://www.chimoosoft.com/>
On Mar 9, 2008, at 12:23 PM, email@hidden wrote:
Hello guys,
I have started last week to develop with xCode and I was following
the tutorial with the application Currency Converter. I think I have
done everything correctly, but the communication between Interface
Builder and xCode does not work.
The button convert should call the method Convert written in the
code, but it does nothing. I have even added a breakpoint to the
method and run the debugger, but when I click on the button, it does
not even enter in the code. It is like I am running the simulator
inside of Interface Builder. No code is run.
I have all the links between the fields and the button to the
controller. Is there anything else I am forgetting? I have read the
tutorial 10 times already and everything seems to be correct.
Thanks in advance for your help,
---
Guillermo Acilu
Senior Engineer, Koiaka GmbH
_______________________________________________
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