iOS7 dataGrid issue


I got the below issue under iOS7 beta, 

-[ShinobiGrid freezeType]: unrecognized selector sent to instance 0xa1af000

any hint please?


Hi Tarek,

We are currently in development for iOS7 support but we haven’t run into any such issue yet.

Can I ask, are you seeing this error when running our sample applications? Or is this in an application you have built yourself? Does this application run on iOS6 without any crashes?



Hi Jan,

I don’t see this error in the samples, I add a UIScrollView into the storyborad and give it the class ShinobiGrid, my app has about 8 grids it works in two and crashes in six, and the application is running fine on iOS6, maybe if you give me the delegate or function name which uses the selector **-[ShinobiGrid freezeType] **it will help to debug more efficiently because I didn’t find any differences between my girds controllers and datasources.

below is the error stack trace:

2013-08-20 20:26:47.773 MyApp[11168:a0b] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '-[ShinobiGrid freezeType]: unrecognized selector sent to instance 0xa1fc800’

*** First throw call stack:


0   CoreFoundation                      0x025c66f4 __exceptionPreprocess + 180

1   libobjc.A.dylib                     0x01cd28b6 objc_exception_throw + 44

2   CoreFoundation                      0x02663983 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275

3   CoreFoundation                      0x025b6a1b ___forwarding___ + 1019

4   CoreFoundation                      0x025b65fe _CF_forwarding_prep_0 + 14

5   MyApp                               0x000e48a7 -[ShinobiGrid scrollViewDidScroll:] + 203

6   UIKit                               0x008ca0ab -[UIScrollView(UIScrollViewInternal) _notifyDidScroll] + 62

7   UIKit                               0x0094a879 -[UIViewController _setNavigationControllerContentInsetAdjustment:] + 633

8   UIKit                               0x0097511c -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 399

9   UIKit                               0x0097528e -[UINavigationController _layoutViewController:] + 64

10  UIKit                               0x00974896 -[UINavigationController _layoutTopViewController] + 176

11  UIKit                               0x00972ac5 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 429

12  UIKit                               0x00b60e8e -[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 328

13  UIKit                               0x00b61193 -[UINavigationTransitionView _cleanupTransition] + 703

14  UIKit                               0x00b611d2 -[UINavigationTransitionView _navigationTransitionDidStop] + 55

15  UIKit                               0x008898bc -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 267

16  UIKit                               0x008880a5 +[UIViewAnimationState popAnimationState] + 334

17  UIKit                               0x0089c906 +[UIView(Animation) commitAnimations] + 36

18  UIKit                               0x00b60c91 -[UINavigationTransitionView transition:fromView:toView:] + 2795

19  UIKit                               0x00b6019e -[UINavigationTransitionView transition:toView:] + 55

20  UIKit                               0x0097649d -[UINavigationController _startTransition:fromViewController:toViewController:] + 3176

21  UIKit                               0x00976763 -[UINavigationController _startDeferredTransitionIfNeeded:] + 502

22  UIKit                               0x0097737e -[UINavigationController __viewWillLayoutSubviews] + 57

23  UIKit                               0x00aaf92d -[UILayoutContainerView layoutSubviews] + 213

24  UIKit                               0x008a7e77 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355

25  libobjc.A.dylib                     0x01ce481f -[NSObject performSelector:withObject:] + 70

26  QuartzCore                          0x0071772a -[CALayer layoutSublayers] + 148

27  QuartzCore                          0x0070b514 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380

28  QuartzCore                          0x0070b380 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26

29  QuartzCore                          0x00673306 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294

30  QuartzCore                          0x00674691 _ZN2CA11Transaction6commitEv + 393

31  QuartzCore                          0x00674d64 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92

32  CoreFoundation                      0x0258e5fe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30

33  CoreFoundation                      0x0258e54f __CFRunLoopDoObservers + 399

34  CoreFoundation                      0x0256c474 __CFRunLoopRun + 1076

35  CoreFoundation                      0x0256bbf3 CFRunLoopRunSpecific + 467

36  CoreFoundation                      0x0256ba0b CFRunLoopRunInMode + 123

37  GraphicsServices                    0x03019a27 GSEventRunModal + 192

38  GraphicsServices                    0x0301984e GSEventRun + 104

39  UIKit                               0x0083df0b UIApplicationMain + 1225

40  MyAPP                               0x0000a641 main + 369

41  libdyld.dylib                       0x021ba725 start + 0


libc++abi.dylib: terminating with uncaught exception of type NSException


Same here, works fine on iOS6 but not on iOS7.  Is there a beta release we can try out that doesn’t do this?


Hi Tarek & Lesmond,

I’ve had a chance to look into this issue with iOS7 and it looks to be related to the use of layout helpers that a Story Board provides. 

In StoryBoard click on your Detail View Controller (the one that contains your grid(s)) and then click on the Attributes Inspector. Under ‘Layout’ you should see the checkbox ‘Adjust Scroll View Insets’ - having this checked tries to inset scroll views in your content view (including grids) when laying out by the amount of the Nav Bar. Setting the contentInset of a scroll view technically counts as a scroll, but our grids aren’t familiar with being scrolled in this way!

Unchecking this option should stop your grids being scrolled indirectly via the setting of the content inset, which should hopefully get rid of the crash you are seeing. In the meantime we’ll be investigating why our grids aren’t happy when handling a scroll that’s been triggered from a content inset.

I hope the above info helps! Let me know how you both get on and I’ll hopefully be able to post more info here after further investigation.  smiley lol




Hi again!

Just another message to let you know that we will hopefully have a fix for this crash in our upcoming iOS7 release!