Help Please!! Sending text to a new view

Discussion in 'iPhone/iPad Programming' started by JoshAK, Nov 22, 2008.

  1. macrumors newbie

    Joined:
    Aug 12, 2008
    #1
    I have a simple table that drills down to a detailed view. I want to have an info button display more info relating to the detail view. I have everything working except the more detailed text. Here is how my project is setup

    RootViewController

    Drill down to ViewController

    then the ViewController displays the more detailed view.

    I'm using

    - (void)viewWillAppear:(BOOL)animated {

    code to display the new view.

    }
    on the ViewController

    Do I need to setup a NSString to pass the data or something else. Please Help!!!

    I hope someone can understand this. Thanks
     
  2. macrumors 6502a

    Joined:
    Jul 17, 2004
    Location:
    Bucks
    #2

    well the way I do this is.. once I've created the new view object.. I can update any of the UIObjects...

    [myNewView setcomment:mad:"a new comment"];

    when I'm done updating it, just call the function to display it.

    --Zed
     

Share This Page