Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCTransitionsLibrary should not generate Analyzer warnings in XCode 5.1.1 #23

Open
iosdev-republicofapps opened this issue Apr 20, 2014 · 0 comments
Labels

Comments

@iosdev-republicofapps
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants