Can anyone tell me what is going on in this error code
[UIViewController collectionView:numberOfItemsInSection:]: unrecognized selector sent to instance 0x8c
well, seems you don't set the right instance as datasource.
the runtime is trying to call the method on a UIViewController. That is wrong as that cannot be the right class.
my guess is that you haven't set your view controller's class in the xib and therefore a default UIViewController is used