zoonooz / ZFTokenField

iOS custom view that let you add token view inside like NSTokenField

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashing Inside TableViewCell

sujiththankachan opened this issue · comments

I have added ZFTokenView inside a UITableViewCell. At run time clicked inside the textfield and popped back to my previous view controller. Then again I came back to the view controller that has the token filed. It crashes the app with the following backtrace. Please help me to resolve.

* thread #1: tid = 0x149d0, 0x0000000104e0ddf2 QuartzCore`CALayerGetSuperlayer + 23, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3a726f74)
    frame #0: 0x0000000104e0ddf2 QuartzCore`CALayerGetSuperlayer + 23
    frame #1: 0x0000000105886b12 UIKit`-[UIView(UIKitManual) superview] + 42
    frame #2: 0x000000010513013a UIKit`-[UIView nextResponder] + 110
    frame #3: 0x00000001052afef1 UIKit`-[UIResponder _resignIfContainsFirstResponder] + 143
    frame #4: 0x00000001051437c4 UIKit`-[UIView(Hierarchy) _willMoveToWindow:] + 597
    frame #5: 0x0000000105151c9e UIKit`-[UIView(Internal) _addSubview:positioned:relativeTo:] + 481
    frame #6: 0x00000001050829c8 UIKit`__53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_2 + 2217
    frame #7: 0x000000010514a680 UIKit`+[UIView(Animation) performWithoutAnimation:] + 65
    frame #8: 0x00000001050820bd UIKit`__53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 270
    frame #9: 0x000000010515082b UIKit`+[UIView(Internal) _performBlockDelayingTriggeringResponderEvents:] + 188
    frame #10: 0x0000000105081b02 UIKit`-[_UINavigationParallaxTransition animateTransition:] + 1465
    frame #11: 0x000000010526c2d9 UIKit`-[UINavigationController _startCustomTransition:] + 4156
    frame #12: 0x000000010527bb9b UIKit`-[UINavigationController _startDeferredTransitionIfNeeded:] + 712
    frame #13: 0x000000010527cd0b UIKit`-[UINavigationController __viewWillLayoutSubviews] + 57
    frame #14: 0x000000010542b503 UIKit`-[UILayoutContainerView layoutSubviews] + 248
    frame #15: 0x0000000105155980 UIKit`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
    frame #16: 0x0000000104e09c00 QuartzCore`-[CALayer layoutSublayers] + 146
    frame #17: 0x0000000104dfe08e QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 366
    frame #18: 0x0000000104dfdf0c QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 24
    frame #19: 0x0000000104df23c9 QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 277
    frame #20: 0x0000000104e20086 QuartzCore`CA::Transaction::commit() + 486
    frame #21: 0x000000010509572e UIKit`_UIApplicationHandleEventQueue + 7135
    frame #22: 0x00000001077fd301 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #23: 0x00000001077f322c CoreFoundation`__CFRunLoopDoSources0 + 556
    frame #24: 0x00000001077f26e3 CoreFoundation`__CFRunLoopRun + 867
    frame #25: 0x00000001077f20f8 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #26: 0x0000000109b1dad2 GraphicsServices`GSEventRunModal + 161
    frame #27: 0x000000010509af09 UIKit`UIApplicationMain + 171
  * frame #28: 0x00000001035902df AppName`main(argc=1, argv=0x00007fff5c799678) + 111 at main.m:16
    frame #29: 0x000000010810992d libdyld.dylib`start + 1
    frame #30: 0x000000010810992d libdyld.dylib`start + 1