code_junkie

Why is the Obj-C GC clearing my reference

Nov 13th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. NSObject *object = [dictionary objectForKey:key];
  2.  
  3. NSLog(@"Object is %@", object);
  4. [dictionary removeObjectForKey:key];
Add Comment
Please, Sign In to add comment