Posted By

gerhardsletten on 10/18/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

davidsi


Dealloc with delegate


 / Published in: Objective C
 

  1. - (void)dealloc {
  2. if (otherObject.delegate == self) {
  3. otherObject.delegate = nil;
  4. }
  5. [otherObject release];
  6. [super dealloc];
  7. }

Report this snippet  

You need to login to post a comment.