Delegate UITableView makes the app crash

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

  1. macrumors 6502

    fernandovalente

    Joined:
    Aug 29, 2008
    Location:
    Third world **** hole, I mean, Brazil
    #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

    Joined:
    Jun 15, 2000
    #2
    You are not providing enough information. Look at the debugger when it's crashing, and post what it shows.
     
  3. thread starter macrumors 6502

    fernandovalente

    Joined:
    Aug 29, 2008
    Location:
    Third world **** hole, I mean, Brazil
    #3
    Problem solved :)
     
  4. macrumors newbie

    Joined:
    Dec 1, 2013
    #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