Passing Data back through a TableView drill down

Discussion in 'iOS Programming' started by SuperFreq, Oct 15, 2008.

  1. SuperFreq macrumors newbie

    Joined:
    Oct 15, 2008
    #1
    I have an application that has a drill down tableview, where at the end of the drill down I want to pass back a piece of data to the main view. I am not sure how to accomplish this. The main view has a function for adding the data and the lowest level of the tableview has a function that assembles the data on didSelectRowAtIndexPath, I just am not sure how to get them to talk to eachother.

    is the best way to go about this? Needless to say, I am new to objective C but I am a professional C++ programmer. Any help would be greatly appreciated.
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    Look at NSNotificationCenter to pass data around like this.
     
  3. SuperFreq thread starter macrumors newbie

    Joined:
    Oct 15, 2008
    #3
    This is exactly what I was looking for. Thanks a lot!
     

Share This Page