I know this has already been posted elsewhere but I am still having major problems in getting this working. I was wondering if someone could explain exactly what I have to do:
- I am trying to link a class function into the click event of a button. I have created a Class Object Controller within Interface Builder and typed in the same name as the class in Xcode. I then pressed Ctrl and dragged the line from the button to the class selecting which function i wanted it to process. As far as I can see it's working fine. When I go to run the program nothing happens. It looks to me like the code is not being executed.
1. Is there a bit of code I can use in order to test this? Like a message box or setting a value within a text box?
2. How do I actually link my code into Interface Builder. It seemed a lot simpler in previous versions of Interface Builder.
Thanks in advance for your help
- I am trying to link a class function into the click event of a button. I have created a Class Object Controller within Interface Builder and typed in the same name as the class in Xcode. I then pressed Ctrl and dragged the line from the button to the class selecting which function i wanted it to process. As far as I can see it's working fine. When I go to run the program nothing happens. It looks to me like the code is not being executed.
1. Is there a bit of code I can use in order to test this? Like a message box or setting a value within a text box?
2. How do I actually link my code into Interface Builder. It seemed a lot simpler in previous versions of Interface Builder.
Thanks in advance for your help