Help linking a single button to a page

Discussion in 'iOS Programming' started by hoosierfan24, Aug 3, 2009.

  1. hoosierfan24 macrumors member

    Jul 31, 2009
    Hey I am almost done with my ipod app and for some reason i cant do one of the simplest things and link the button on the home page to the categories page can someone please write a sample code that would work for it.

    I have already created the IBA action for it button pressed and the nib file i am trying to connect it to is MainWindow.xib the .h and .m files that support that .xib are MainViewController.m and .h and the file that has the button i am trying to link is Home.xib and the supporting files are HomeViewContoller.m and .h

    thanks in advance
  2. ritsard macrumors regular


    Jun 18, 2009
    SF Bay Area, CA
    Can you give a basic description of what it does? Like fromt he Main view there is button and clicking a button should do this?

    Make sure you have an object for the Home xib controller instantiated from the main controller. Also, make sure that the xib is loaded at the correct time.

Share This Page