cwRichardKim / RKSwipeBetweenViewControllers

Swipe between ViewControllers like in the Spotify or Twitter app with an interactive Segmented Control in the Navigation Bar
MIT License
1.67k stars 156 forks source link

Cannot find protocol declaration for nsobject #11

Closed fuermosi777 closed 9 years ago

fuermosi777 commented 9 years ago

Hi Richard, I dragged .h and .m files into my directory and an error said "cannot find protocol declaration for NSObject". I checked that the @protocol RKSwipeBetweenViewControllersDelegate following with a <NSObject>. After deleting that everything was fine.

cwRichardKim commented 9 years ago

interesting, thanks for letting me know i'll look into it

jlippold commented 9 years ago

move #import <UIKit/UIKit.h> above the @protocol RKSwipeBetweenViewControllersDelegate <NSObject>

cwRichardKim commented 9 years ago

done