is there an equivalent to a "Focus Listener" in Objective-C or iPhone SDK? (Coming from Java)

Posted by MarcZero on Stack Overflow See other posts from Stack Overflow or by MarcZero
Published on 2010-03-24T03:13:14Z Indexed on 2010/03/24 3:23 UTC
Read the original article Hit count: 124

Filed under:
|
|
|
|

Hello. I am a student programmer who has taken up Objective-C on my free time as my college doesn't teach it. We have only used Java and basic C so far. I am in the middle of making a program for the iPod and was wondering if there was any type of way to call a method in a class similar to the way a Focus Listener does in Java? I have a view that I would like to call a refresh method (to update the newly inputted titles of buttons from another view) when the view is put at the top and visible again. Is this too easy or is there a more methodical way of doing that? I have tried to just call the method from the other view class but it does not seem to work (says the other class is either undefined or may not accept the method call and crashes on execution).

Any insight would be appreciated. Thank you for your time.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about java