ColinEberhardt / VCTransitionsLibrary

A collection of iOS7 animation controllers and interaction controllers, providing flip, fold and all kinds of other transitions.
Other
4.55k stars 617 forks source link

VCTransitionsLibrary should not generate Analyzer warnings in XCode 5.1.1 #23

Open iosdev-republicofapps opened 10 years ago

iosdev-republicofapps commented 10 years ago

Hi,

Nice library, thanks so much for making this available!

When I do an Analyze in XCode 5.1.1, Shift - Cmd -B, I get a bunch of warnings and memory leak warnings from the analyzer. These should be fixed so projects that depend on VCTransitionsLibrary can build warning-free.

Thanks!

/Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/InteractionControllers/CEHorizontalSwipeInteractionController.m /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/InteractionControllers/CEHorizontalSwipeInteractionController.m:20:1: Method possibly missing a [super dealloc] call /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/InteractionControllers/CEPinchInteractionController.m /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/InteractionControllers/CEPinchInteractionController.m:21:1: Method possibly missing a [super dealloc] call /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/InteractionControllers/CEVerticalSwipeInteractionController.m /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/InteractionControllers/CEVerticalSwipeInteractionController.m:20:1: Method possibly missing a [super dealloc] call /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CECubeAnimationController.m /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CECubeAnimationController.m:124:3: Potential leak of an object stored into 'shadowView' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFlipAnimationController.m /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFlipAnimationController.m:130:5: Potential leak of an object stored into 'shadowView' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFlipAnimationController.m:130:5: Potential leak of an object stored into 'viewWithShadow' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:33: Potential leak of an object /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:19: Entering loop body /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:65:35: Calling 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:126:1: Entered call from 'animateTransition:fromVC:toVC:fromView:toView:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Calling 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:165:1: Entered call from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:168:30: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Returning from 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:65:35: Returning from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:33: Object leaked: allocated object is not referenced later in this execution path and has a retain count of +1 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:51:10: Potential leak of an object /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:19: Entering loop body /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:48:36: Calling 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:126:1: Entered call from 'animateTransition:fromVC:toVC:fromView:toView:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Calling 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:165:1: Entered call from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:168:30: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Returning from 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:48:36: Returning from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:51:10: Object leaked: allocated object is not referenced later in this execution path and has a retain count of +1 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:56:10: Potential leak of an object /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:19: Entering loop body /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:53:37: Calling 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:126:1: Entered call from 'animateTransition:fromVC:toVC:fromView:toView:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Calling 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:165:1: Entered call from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:168:30: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Returning from 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:53:37: Returning from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:56:10: Object leaked: allocated object is not referenced later in this execution path and has a retain count of +1 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:65:35: Potential leak of an object /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:19: Entering loop body /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:60:34: Calling 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:126:1: Entered call from 'animateTransition:fromVC:toVC:fromView:toView:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Calling 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:165:1: Entered call from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:168:30: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Returning from 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:60:34: Returning from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:65:35: Object leaked: allocated object is not referenced later in this execution path and has a retain count of +1 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:5: Potential leak of an object stored into 'snapshotView' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:134:9: Assuming 'afterUpdates' is not equal to 0 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:142:24: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:5: Object leaked: object allocated and stored into 'snapshotView' is not referenced later in this execution path and has a retain count of +1 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:187:5: Potential leak of an object stored into 'shadowView' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:43:19: Entering loop body /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:48:36: Calling 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:126:1: Entered call from 'animateTransition:fromVC:toVC:fromView:toView:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:151:38: Calling 'addShadowToView:reverse:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:165:1: Entered call from 'createSnapshotFromView:afterUpdates:location:left:' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:171:26: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:187:5: Object leaked: object allocated and stored into 'shadowView' is not referenced later in this execution path and has a retain count of +1 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:187:5: Potential leak of an object stored into 'viewWithShadow' /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:168:30: Method returns an Objective-C object with a +1 retain count /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:176:39: Assuming 'reverse' is 0 /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:187:5: Object returned to caller as an owning reference (single retain count transferred to caller) /Users/iosdev/Desktop/ParticleMatch/Pods/VCTransitionsLibrary/AnimationControllers/CEFoldAnimationController.m:187:5: Object leaked: object allocated and stored into 'viewWithShadow' is returned from a method whose name ('addShadowToView:reverse:') does not start with 'copy', 'mutableCopy', 'alloc' or 'new'. This violates the naming convention rules given in the Memory Management Guide for Cocoa