Hi,
Ii just redownloaded NUCLIOS 2015 v2. Compiled using xcode 7.1 Samplebrowser w/o problems but when I run and get to the main menu (grid, calendar, widget... selector) it is crushing once I click on one of them.
crushing on a bold line,
-(void)gridView:(IGGridView *)gridView initializeCell:(IGGridViewCell *)cell{ id<UIViewControllerPreviewing> previewing = [self registerForPreviewingWithDelegate:self sourceView:cell]; UIGestureRecognizer* previewGesture = [previewing previewingGestureRecognizerForFailureRelationship]; [cell.selectionGesture requireGestureRecognizerToFail:previewGesture];}
here is the error:
2015-10-23 13:16:43.541 SamplesBrowser[9856:3171062] -[igGridSamplesViewController registerForPreviewingWithDelegate:sourceView:]: unrecognized selector sent to instance 0x7b67ece02015-10-23 13:16:43.544 SamplesBrowser[9856:3171062] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[igGridSamplesViewController registerForPreviewingWithDelegate:sourceView:]: unrecognized selector sent to instance 0x7b67ece0'*** First throw call stack:( 0 CoreFoundation 0x036c5746 __exceptionPreprocess + 182 1 libobjc.A.dylib 0x0334ea97 objc_exception_throw + 44 2 CoreFoundation 0x036cd705 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277 3 CoreFoundation 0x03614287 ___forwarding___ + 1047 4 CoreFoundation 0x03613e4e _CF_forwarding_prep_0 + 14 5 SamplesBrowser 0x000e1b2c -[igSamplesSelectorViewController gridView:initializeCell:] + 124 6 SamplesBrowser 0x002a3ce6 -[IGGridViewCell cellAttached] + 312 7 SamplesBrowser 0x002a2e35 -[IGGridViewCellBase setCellInfo:] + 756 8 SamplesBrowser 0x0024c0ab -[IGGridViewRenderer gridView:createCellUsingPath:forColumn:withRow:inSection:] + 428 9 SamplesBrowser 0x0025886f -[IGGridViewRenderer gridView:renderCellForRow:atPath:atPosition:forColumn:] + 1727 10 SamplesBrowser 0x00259a9c -[IGGridViewRenderer gridView:renderRow:] + 739 11 SamplesBrowser 0x0025d5e8 -[IGGridViewRenderer renderRowsInGridView:between:and:forSections:with:zRows:forStartRow:usingVisDict:using:withLastSection:andLastRealRow:and:inViewport:bringCellsToFront:withTopOffset:renderLastSection:topSectionIndex:] + 4475 12 SamplesBrowser 0x0025faf3 -[IGGridViewRenderer gridView:renderRowsInViewport:withBounds:] + 6824 13 SamplesBrowser 0x002639e9 -[IGGridViewRenderer render:] + 1477 14 SamplesBrowser 0x00292282 -[IGGridView invalidateFromOffset] + 284 15 SamplesBrowser 0x00290a34 -[IGGridView setContentOffset:] + 121 16 UIKit 0x018f4ccc -[UIScrollView(UIScrollViewInternal) _adjustContentOffsetIfNecessary] + 2895 17 UIKit 0x018d7efa -[UIScrollView setContentSize:] + 342 18 SamplesBrowser 0x002906cf -[IGGridView setContentSize:] + 72 19 SamplesBrowser 0x00290939 -[IGGridView setContentSizeInternal:] + 553 20 SamplesBrowser 0x00275785 -[IGGridViewRenderer setGrid:contentSize:] + 104 21 SamplesBrowser 0x00256ca1 -[IGGridViewRenderer invalidateBounds:] + 17694 22 SamplesBrowser 0x002920d5 -[IGGridView reloadDataAndResetScrollPosition:] + 232 23 SamplesBrowser 0x002913d2 -[IGGridView updateData] + 41 24 SamplesBrowser 0x001f92e9 -[IGGridViewSingleFieldDynamicColumnDataSourceHelper gridView:sizeChangingFrom:toSize:] + 307 25 SamplesBrowser 0x001f917d -[IGGridViewSingleFieldDynamicColumnDataSourceHelper numberOfColumnsInGridView:] + 161 26 SamplesBrowser 0x00252a87 -[IGGridViewRenderer invalidateBounds:] + 772 27 SamplesBrowser 0x002920d5 -[IGGridView reloadDataAndResetScrollPosition:] + 232 28 SamplesBrowser 0x002913d2 -[IGGridView updateData] + 41 29 SamplesBrowser 0x000e00a5 -[igSamplesSelectorViewController viewDidLoad] + 12949 30 UIKit 0x0199bd54 -[UIViewController loadViewIfRequired] + 771 31 UIKit 0x0199c045 -[UIViewController view] + 35 32 UIKit 0x019c6e9d -[UINavigationController _startCustomTransition:] + 773 33 UIKit 0x019d4db0 -[UINavigationController _startDeferredTransitionIfNeeded:] + 712 34 UIKit 0x019d5a01 -[UINavigationController __viewWillLayoutSubviews] + 57 35 UIKit 0x01b4f700 -[UILayoutContainerView layoutSubviews] + 213 36 UIKit 0x018ca52a -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 668 37 libobjc.A.dylib 0x03364771 -[NSObject performSelector:withObject:] + 70 38 QuartzCore 0x016fbe47 -[CALayer layoutSublayers] + 144 39 QuartzCore 0x016ef925 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 403 40 QuartzCore 0x016ef77a _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26 41 QuartzCore 0x0164bc22 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 284 42 QuartzCore 0x0164d0b5 _ZN2CA11Transaction6commitEv + 487 43 QuartzCore 0x0164d7cc _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92 44 CoreFoundation 0x035e686e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30 45 CoreFoundation 0x035e67b0 __CFRunLoopDoObservers + 400 46 CoreFoundation 0x035dc1ea __CFRunLoopRun + 1226 47 CoreFoundation 0x035dba5b CFRunLoopRunSpecific + 443 48 CoreFoundation 0x035db88b CFRunLoopRunInMode + 123 49 GraphicsServices 0x04bf52c9 GSEventRunModal + 192 50 GraphicsServices 0x04bf5106 GSEventRun + 104 51 UIKit 0x018370b6 UIApplicationMain + 1526 52 SamplesBrowser 0x0006230a main + 138 53 libdyld.dylib 0x04281ac9 start + 1)libc++abi.dylib: terminating with uncaught exception of type NSException(lldb)
Any suggestions?
Thank you
Mark
Hi Mark,
This is a known issue that we started correcting at the end of last week. There should be a new SR pushed early this week that corrects the problem. In the meantime, you may be able to comment out the method shown in your post to avoid the call to those specific APIs..
thank you