1

I found an open source project (link here) that I need to implement in my next project. The problem is that the framework is setup as a storyboard project, which I will not use. I have problems in converting this project to a non-storyboard, non .xib project. I asked already some help in the comments of another SA question and on the gitpage of this framework but time is shrinking.

I keep getting this error: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier RPSlidingCellIdentifier - must register a nib or a class for the identifier or connect a prototype cell in a storyboard' even though the class/nib is registered.

A push in the right direction would be appreciated a lot. I added my test project to my dropbox for your convenience.

The Cell class gets registered in RPSlidingMenuViewController.m viewDidLoad

Community
  • 1
  • 1
Jasper
  • 7,031
  • 3
  • 35
  • 43
  • If environment tells you `register` class or nib, then try look for `registerClass` or `registerNib` methods in `UICollectionViewController` – Cy-4AH Sep 01 '14 at 10:56
  • 1
    @Jasper Pol code is working fine at my side do check the link for screenshot :----http://postimg.org/image/7lkecl2vx/ – Shekhu Sep 01 '14 at 11:13
  • @Aiden you just downloaded my dropbox project and compiled it? – Jasper Sep 01 '14 at 11:47
  • 1
    yes,i just complied it and it's running fine do check the screen shot :added the images too in this -->http://postimg.org/image/w0pwteaib/ – Shekhu Sep 01 '14 at 12:09
  • Thats just weird as it crashes when I try to run it.. You use XCode 5.1.1, right? – Jasper Sep 01 '14 at 12:18
  • @Aiden After clearing Simulator and DerivedData it works now.. Thanks for pointing out it actually was working.. I was searching like a fool on why it did not – Jasper Sep 01 '14 at 12:20

1 Answers1

2

Thanks to Aiden, who pointed out that my project was actually working, I figured out that cleaning out the simulator and /DerivedData was the solution.

Jasper
  • 7,031
  • 3
  • 35
  • 43