Closed zttt closed 8 years ago
I had the same problem. What I found was that an import of UIKit.h was missing from LSCollectionViewLayoutHelper.h. So just add #import <UIKit/UIKit.h> to the top of that file and your good to go. The reason it works with the included example project is because it uses a prefix header containing that include. Was a bit tricky to find because of all the "random" errors.
cause xcode6 don't create pch file ,so you need to import <UIKit/UIkit.h>
Project was created using Xcode 6, Deployment Target 8.0.
I tried create a new project using xcode 4.6.3, I worked fine. But when I imported those files to my xcode 6 project, it gives me errors. Does anybody know why?