Guest User

Untitled

a guest
Aug 20th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. Please explain me about this leak
  2. 2011-10-13 10:41:44.504 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4e0ef40 of class CABasicAnimation autoreleased with no pool in place - just leaking
  3. 2011-10-13 10:41:44.505 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4b03700 of class NSConcreteValue autoreleased with no pool in place - just leaking
  4. 2011-10-13 10:41:44.506 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4b04840 of class __NSCFDictionary autoreleased with no pool in place - just leaking
  5.  
  6. CGRect newFrame = [viewTop frame];
  7. newFrame.origin.x = 0;
  8. newFrame.origin.y = 0;
  9. [UIView beginAnimations:@"nil1" context:nil];
  10. [UIView setAnimationDuration:0.3f];
  11. [viewTop setFrame:newFrame];
  12. [UIView commitAnimations];
  13.  
  14. @"string text"
  15. [NSMutableArray arrayWithCapacity: 42]
  16. [someObject autorelease]
  17.  
  18. NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
  19. NSObject *myObject = [[NSObject alloc] init]; // some object
  20. [myObject autorelease]; // send autorelease message
  21. [pool release]; // myArray is released here!
  22.  
  23. NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
  24. CGRect newFrame = [viewTop frame];
  25. newFrame.origin.x = 0;
  26. newFrame.origin.y = 0;
  27. [UIView beginAnimations:@"nil1" context:nil];
  28. [UIView setAnimationDuration:0.3f];
  29. [viewTop setFrame:newFrame];
  30. [UIView commitAnimations];
  31. [pool release];
Add Comment
Please, Sign In to add comment