0

I am still new to iOS programming (and programming at all) and trying to figure out some basics. My question is:

I want to click a button in secondViewController to show the text "The Button in secondViewController was pressed" in firstViewController - is this possible?

M. El-Set
  • 753
  • 4
  • 10
  • 16

1 Answers1

0

Yes it is possible.... There can be various ways to do it.... You can try these solutions: 1. Delegates 2. Local Notifications 3. KVO 4. Using shared instances(like AppDelegate)

There are various resources available on the internet for all of these... I need not mention them in detail.

iSaalis
  • 622
  • 1
  • 8
  • 14
  • Thank you very much. Could you please link to an example or link where I can find some details? – M. El-Set Oct 08 '12 at 05:43
  • Try to go through delegates... http://stackoverflow.com/questions/645449/how-to-use-custom-delegates-in-objective-c – iSaalis Oct 08 '12 at 05:57