Hi, I'm working in this book
in Chapter 7 on Tab Bars.
When I click on the fourth button in the Tab bar (the Dependent Tab Bar Button) the simulator crashes, and I get this error message:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray sortedArraryUsingSelector:]: unrecognized selector sent to instance 0x5d1cb0'
I also get this warning message which I think is related to the error message:
Thanks.

When I click on the fourth button in the Tab bar (the Dependent Tab Bar Button) the simulator crashes, and I get this error message:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray sortedArraryUsingSelector:]: unrecognized selector sent to instance 0x5d1cb0'
I also get this warning message which I think is related to the error message:

Thanks.