{"action":"closed","issue":{"url":"https://api.github.com/repos/ElaWorkshop/TagListView/issues/145","repository_url":"https://api.github.com/repos/ElaWorkshop/TagListView","labels_url":"https://api.github.com/repos/ElaWorkshop/TagListView/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/ElaWorkshop/TagListView/issues/145/comments","events_url":"https://api.github.com/repos/ElaWorkshop/TagListView/issues/145/events","html_url":"https://github.com/ElaWorkshop/TagListView/issues/145","id":257493482,"number":145,"title":"Invalid parameter not satisfying: [views count] == 3","user":{"login":"YKV","id":7923917,"avatar_url":"https://avatars1.githubusercontent.com/u/7923917?v=4","gravatar_id":"","url":"https://api.github.com/users/YKV","html_url":"https://github.com/YKV","followers_url":"https://api.github.com/users/YKV/followers","following_url":"https://api.github.com/users/YKV/following{/other_user}","gists_url":"https://api.github.com/users/YKV/gists{/gist_id}","starred_url":"https://api.github.com/users/YKV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YKV/subscriptions","organizations_url":"https://api.github.com/users/YKV/orgs","repos_url":"https://api.github.com/users/YKV/repos","events_url":"https://api.github.com/users/YKV/events{/privacy}","received_events_url":"https://api.github.com/users/YKV/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-13T19:25:49Z","updated_at":"2017-09-13T20:41:26Z","closed_at":"2017-09-13T20:41:26Z","author_association":"NONE","body":"Hi,\r\nI have a view Controller that structured as shown below:\r\n\r\n![screen shot 2017-09-13 at 3 10 21 pm](https://user-images.githubusercontent.com/7923917/30395954-f37b97dc-9895-11e7-9f7b-76bed6dbaa72.png)\r\n\r\nAs you can see I have container view that holds inside the tabs view controller that's created with CarbonKit. Whenever I tap on tab I call a reusable viewController  which has Collection view.  Whenever I select or deselect collection view cell, the tags view in main view controller gets updated and adding/removing tag view with cell name respectively.\r\n\r\nThe error \"Invalid parameter not satisfying: [views count] == 3\"  appears when I switch to previous tab.\r\n\r\nFull error:\r\n\r\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: [views count] == 3'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x0000000117353b0b __exceptionPreprocess + 171\r\n\t1   libobjc.A.dylib                     0x0000000116db8141 objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x0000000117357cf2 +[NSException raise:format:arguments:] + 98\r\n\t3   Foundation                          0x000000011527e3b6 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193\r\n\t4   UIKit                               0x00000001140cb8f6 -[_UIQueuingScrollView _replaceViews:updatingContents:adjustContentInsets:animated:] + 279\r\n\t5   UIKit                               0x00000001140cf692 -[_UIQueuingScrollView _didScrollWithAnimation:force:] + 1199\r\n\t6   UIKit                               0x00000001140cacb9 -[_UIQueuingScrollView _scrollViewAnimationEnded:finished:] + 92\r\n\t7   UIKit                               0x0000000113936e73 -[UIAnimator stopAnimation:] + 429\r\n\t8   UIKit                               0x0000000113937646 -[UIAnimator(Static) _advanceAnimationsOfType:withTimestamp:] + 282\r\n\t9   QuartzCore                          0x0000000112a27767 _ZN2CA7Display15DisplayLinkItem8dispatchEy + 51\r\n\t10  QuartzCore                          0x0000000112a2762d _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 439\r\n\t11  CoreFoundation                      0x00000001172e6b61 __CFMachPortPerform + 161\r\n\t12  CoreFoundation                      0x00000001172e6aa9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41\r\n\t13  CoreFoundation                      0x00000001172e6a21 __CFRunLoopDoSource1 + 465\r\n\t14  CoreFoundation                      0x00000001172deba0 __CFRunLoopRun + 2352\r\n\t15  CoreFoundation                      0x00000001172de016 CFRunLoopRunSpecific + 406\r\n\t16  GraphicsServices                    0x000000011a1e3a24 GSEventRunModal + 62\r\n\t17  UIKit                               0x00000001137aa0d4 UIApplicationMain + 159\r\n\t18  basil                               0x000000010f7c952f main + 111\r\n\t19  libdyld.dylib                       0x00000001185a465d start + 1\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n\r\nThanks!"}}
{"actor":{"display_login":"YKV"}}