Objective C call main method
In my main I create an object recorder and I call one of its method... in this method I would like to call a method of my main... is it possible? How can I do that?
When calling the recorder object, you could pass 'self' of main to it as a parameter and use it to call back to main. You see that done with interface builder objects to your controller coded.
You could also set main up as a delegate of the recorder object. You'll have to look into the details of that, but that is common.
Another concern is if what you are doing should be be in main at all, or separated out.
|All times are GMT -4. The time now is 05:55 PM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.