Giter Site home page Giter Site logo

letterpressexplosion's People

Contributors

ashfurrow avatar vibrazy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

letterpressexplosion's Issues

Crash

Not sure if its programmer error or its somewhere in the control but when I explode a view and then click that view again (while the explode animation is still occurring) I get the error below. Note this error doesn't happen if I click the view AFTER the animation has finished (i guess at that point its been removed from the superview though). I do set the tap gesture listener to nil so I'm not sure what the problem is

(lldb) bt

  • thread #1: tid = 0x1c03, 0x012c009f libobjc.A.dylibobjc_msgSend + 19, stop reason = EXC_BAD_ACCESS (code=1, address=0x3f800000) frame #0: 0x012c009f libobjc.A.dylibobjc_msgSend + 19
    frame #1: 0x00236098 UIKit-[UIView(Geometry) convertPoint:fromView:] + 112 frame #2: 0x00235e61 UIKit**38-[UIView(Geometry) hitTest:withEvent:]_block_invoke_0 + 96
    frame #3: 0x015c35a7 CoreFoundation__NSArrayChunkIterate + 359 frame #4: 0x0159b03f CoreFoundation__NSArrayEnumerate + 1023
    frame #5: 0x0159aa16 CoreFoundation-[NSArray enumerateObjectsWithOptions:usingBlock:] + 102 frame #6: 0x00235d81 UIKit-[UIView(Geometry) hitTest:withEvent:] + 640
    frame #7: 0x00235e85 UIKit__38-[UIView(Geometry) hitTest:withEvent:]_block_invoke_0 + 132 frame #8: 0x015c35a7 CoreFoundation__NSArrayChunkIterate + 359
    frame #9: 0x0159b03f CoreFoundation__NSArrayEnumerate + 1023 frame #10: 0x0159aa16 CoreFoundation-[NSArray enumerateObjectsWithOptions:usingBlock:] + 102
    frame #11: 0x00235d81 UIKit-[UIView(Geometry) hitTest:withEvent:] + 640 frame #12: 0x00235e85 UIKit__38-[UIView(Geometry) hitTest:withEvent:]_block_invoke_0 + 132
    frame #13: 0x015c35a7 CoreFoundation__NSArrayChunkIterate + 359 frame #14: 0x0159b03f CoreFoundation__NSArrayEnumerate + 1023
    frame #15: 0x0159aa16 CoreFoundation-[NSArray enumerateObjectsWithOptions:usingBlock:] + 102 frame #16: 0x00235d81 UIKit-[UIView(Geometry) hitTest:withEvent:] + 640
    frame #17: 0x0022e3b2 UIKit__47+[UIWindow _hitTestToPoint:pathIndex:forEvent:]_block_invoke_0 + 150 frame #18: 0x0022e238 UIKit+[UIWindow _topVisibleWindowPassingTest:] + 196
    frame #19: 0x0022e315 UIKit+[UIWindow _hitTestToPoint:pathIndex:forEvent:] + 177 frame #20: 0x001f36a6 UIKit_UIApplicationHandleEvent + 1696
    frame #21: 0x02603df9 GraphicsServices_PurpleEventCallback + 339 frame #22: 0x02603ad0 GraphicsServicesPurpleEventCallback + 46
    frame #23: 0x01516bf5 CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION** + 53 frame #24: 0x01516962 CoreFoundation__CFRunLoopDoSource1 + 146
    frame #25: 0x01547bb6 CoreFoundation__CFRunLoopRun + 2118 frame #26: 0x01546f44 CoreFoundationCFRunLoopRunSpecific + 276
    frame #27: 0x01546e1b CoreFoundationCFRunLoopRunInMode + 123 frame #28: 0x026027e3 GraphicsServicesGSEventRunModal + 88
    frame #29: 0x02602668 GraphicsServicesGSEventRun + 104 frame #30: 0x001f2ffc UIKitUIApplicationMain + 1211
    frame #31: 0x0000565d MyApp`main(argc=1, argv=0xbffff340) + 141 at main.m:16

SIGSEGV on layer.particlePath in production builds but not in development

In TestFlight builds I get a seg fault which I seem to have narrowed down to the line

moveAnim.path = layer.particlePath.CGPath;

Thought I might workaround the crash (or at least get a better idea of why it happens) by wrapping that code in a if ([layer respondsToSelector:@selector(particlePath)]), but the crash still occurs.

It's not reproducible in simulator or on device with a development build, only occurs in TestFlight builds (or possibly any Production build).

Obviously/unfortunately this blocks me from using the project. Crash log included below.


Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1

Thread 0:
0 libsystem_kernel.dylib 0x0000000191b561b4 __open + 8
1 AppName 0x00000001001296dc tf_open_file_no_create + 12
2 AppName 0x000000010012afe8 tf_send_crash_report + 184
3 AppName 0x0000000100131a88 TFSignalHandler + 464
4 libsystem_platform.dylib 0x0000000191bd3b18 _sigtramp + 68
5 AppName 0x000000010018dd9c CLSSignalHandler + 224
6 libsystem_platform.dylib 0x0000000191bd3b18 _sigtramp + 68
7 AppName 0x00000001001d7f98 __29-[UIView(Explode) lp_explode]_block_invoke (UIView+Explode.m:119)
8 CoreFoundation 0x0000000184f54a58 __NSArrayEnumerate + 464
9 AppName 0x00000001001d7ec0 -[UIView(Explode) lp_explode] / (UIView+Explode.m:113)

Crashes at [self removeFromSuperview]

This tweak crashes my iOS 8 app (I've merged it with my Swift code) after the CAAnimation finishes and it calls [self removeFromSuperview].
Any idea why this is?

Thanks.

crash in distribution version

hi vibrazy,

It is totally fine when i use ur source code on debug mode for iOS6.0 up,
but when i archive the app for distribution version installing it,and i called lp_explode function it is crashed.

Then I use window -> organizer -> device -> console trace crash log

reason is ->
: lp_explode()
: layer is true
: moveAnim is true
: -[LPParticleLayer CGPath]: unrecognized selector sent to instance 0x1cd530a0
: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[LPParticleLayer CGPath]: unrecognized selector sent to instance 0x1cd530a0'
*** First throw call stack:
(0x324f73e7 0x3a1f2963 0x324faf31 0x324f964d 0x32451208 0x17a085 0x324ebaeb 0x3244de37 0x179f95 0x3a60c793 0x3a60c5db 0x3a60fe45 0x324cb1b1 0x3243e23d 0x3243e0c9 0x3601d33b 0x3435a2b9 0xef387 0x3a61fb20)

Please help thx

Crash with UIButton

When using this category with a UIButton, the app will crash. I couldn't know what the reason exactly was, but it is fine with UILabel, UIImageView and normal UIView.

Create CocoaPod

I'm actually mostly done this โ€“ can you create a tag, say "1.0" in your repository?

๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.