Delegate UITableView makes the app crash

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

  1. macrumors 6502


    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


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


    Problem solved :)
  4. macrumors newbie

    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