Delegate UITableView makes the app crash

Discussion in 'iPhone/iPad Programming' started by fernandovalente, Dec 12, 2009.

  1. macrumors 6502

    fernandovalente

    #1
    Hi, I'm trying to delegate an UITableView. When I do it, the app crashs. I'm using the following code:


    IBOutlet id myTable;



    Then I delegate it on Interface Builder. Why my app is crashing?
     
  2. Moderator emeritus

    kainjow

    #2
    You are not providing enough information. Look at the debugger when it's crashing, and post what it shows.
     
  3. macrumors 6502

    fernandovalente

    #3
    Problem solved :)
     
  4. macrumors newbie

    #4
    Delegate release

    the most possible reason will be your table view delegate will be getting released somewhere.If you are calling the table view class from another class the there you retain the class containing the table view
     

Share This Page