Guest User

Untitled

a guest
Jun 21st, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. // Runs given block. Returns YES if some object of class ‘c’
  2. // was deallocated in the block. Not thread-safe.
  3. BOOL classGetsDeallocated(Class c, void (^block)(void));
  4.  
  5. // Convenience interface that calls the function above.
  6. // Releases object, returns YES if object was deallocated.
  7. BOOL getsDeallocatedByReleasing(id object);
Add Comment
Please, Sign In to add comment