2014-12-12 3 views
0

Я пытаюсь использовать библиотеку для падения down.When Я скопировал свои файлы в моем проекте, я получаю странные ошибки, говоря Неизвестного типа имени UITableView, а также много ошибок, как Прогнозного тип. Что здесь не так?Неизвестного типа имя UITableView

@protocol kDropDownListViewDelegate; 
@interface DropDownListView : UIView<UITableViewDataSource,UITableViewDelegate> 
{ 

    UITableView *_kTableView; 
    NSString *_kTitleText; 
    NSArray *_kDropDownOption; 
    CGFloat R,G,B,A; 
    BOOL isMultipleSelection; 
} 
@property(nonatomic,strong)NSMutableArray *arryData; 
@property (nonatomic, assign) id<kDropDownListViewDelegate> delegate; 
- (void)fadeOut; 
// The options is a NSArray, contain some NSDictionaries, the NSDictionary contain 2 keys, one is "img", another is "text". 
- (id)initWithTitle:(NSString *)aTitle options:(NSArray *)aOptions xy:(CGPoint)point size:(CGSize)size isMultiple:(BOOL)isMultiple; 
// If animated is YES, PopListView will be appeared with FadeIn effect. 
- (void)showInView:(UIView *)aView animated:(BOOL)animated; 
-(void)SetBackGroundDropDwon_R:(CGFloat)r G:(CGFloat)g B:(CGFloat)b alpha:(CGFloat)alph; 
@end 

@protocol kDropDownListViewDelegate <NSObject> 
- (void)DropDownListView:(DropDownListView *)dropdownListView didSelectedIndex:(NSInteger)anIndex; 
- (void)DropDownListView:(DropDownListView *)dropdownListView Datalist:(NSMutableArray*)ArryData; 
- (void)DropDownListViewDidCancel; 
@end 

ответ

3

Вы пропустили #import; вероятно:

#import <UIKit/UIKit.h> 

Это, как правило, часть файла префикса (предварительно скомпилированных заголовков), так что возможно, что нарушается в некотором роде.

+0

Получил это. Большое вам спасибо :-) – iSD

Смежные вопросы