Removing Objects from Superview

Discussion in 'iOS Programming' started by xcodeNewbie, Jul 18, 2011.

  1. macrumors member

    Jul 1, 2011
    If I remove an object from its super view, and no other class owns that object, does it get immediately deleted or does it still float around in memory?
  2. macrumors 68040

    Apr 22, 2005
    You should assume that if you remove a view from its superview and no other object is retaining it, it will be dealloc'ed.

Share This Page