jondanao / TheSidebarController

A container view controller that implements different popular sidebar view controllers like Facebook, Airbnb, Flipboard, etc.
Other
360 stars 52 forks source link

Compiler wants different type instead of UIView * #17

Closed MatthewHendy closed 9 years ago

MatthewHendy commented 9 years ago

I brought TheSideBarController.h/m as well as every file from the animations folder. Throughout many of the animations files there is code like

}

My compiler is giving me issues on the (UIView*) parts because it wants a different type. Any ideas on a fix?

MatthewHendy commented 9 years ago

Even weirder is when I look at the code for the 'Basic' example the compiler is not having any issues with using UIView *

MatthewHendy commented 9 years ago

I'm thinking it is just a missing import or framework.

MatthewHendy commented 9 years ago

Turns out all I needed to do was add

import <UIKit/UIKit.h>

to the SideBarAnimation.h