Ios 未知类型名称UITableView

Ios 未知类型名称UITableView,ios,objective-c,uitableview,Ios,Objective C,Uitableview,我正在尝试使用一个库进行下拉。当我在项目中复制它的文件时,我收到一个奇怪的错误,即未知类型名称UITableView,还有很多错误,例如预期为一个类型。这里出了什么问题 @protocol kDropDownListViewDelegate; @interface DropDownListView : UIView<UITableViewDataSource,UITableViewDelegate> { UITableView *_kTableView; NSS

我正在尝试使用一个库进行下拉。当我在项目中复制它的文件时,我收到一个奇怪的错误,即未知类型名称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
@protocol-kDropDownListViewDelegate;
@接口DropDownList视图:UIView
{
UITableView*_kTableView;
NSString*kTitleText;
NSArray*_kdropdown选项;
cgr,G,B,A;
布尔是多重选举;
}
@属性(非原子,强)NSMutableArray*arryData;
@属性(非原子,赋值)id委托;
-(无效)淡出;
//选项是一个NSArray,包含一些NSDictionary,NSDictionary包含两个键,一个是“img”,另一个是“text”。
-(id)initWithTitle:(NSString*)aTitle选项:(NSArray*)A选项xy:(CGPoint)点大小:(CGSize)大小为多个:(BOOL)为多个;
//如果“动画”为“是”,则将显示具有FadeIn效果的PopListView。
-(void)showInView:(UIView*)aView动画:(BOOL)动画;
-(void)挫折落差在R:(CGFloat)rg:(CGFloat)gb:(CGFloat)balpha:(CGFloat)alph;
@结束
@协议kDropDownListViewDelegate
-(void)DropDownListView:(DropDownListView*)DropDownListView未选择索引:(NSInteger)索引;
-(void)DropDownListView:(DropDownListView*)DropDownListView数据列表:(NSMutableArray*)ArryData;
-(作废)DropDownListViewDidCancel;
@结束
您错过了导入的
#import
;可能:

#import <UIKit/UIKit.h>
#导入
这通常是前缀文件(预编译的头文件)的一部分,因此它可能以某种方式被破坏。

您错过了导入;可能:

#import <UIKit/UIKit.h>
#导入
这通常是前缀文件(预编译的头文件)的一部分,因此它可能以某种方式被破坏。

您错过了导入;可能:

#import <UIKit/UIKit.h>
#导入
这通常是前缀文件(预编译的头文件)的一部分,因此它可能以某种方式被破坏。

您错过了导入;可能:

#import <UIKit/UIKit.h>
#导入

这通常是前缀文件(预编译头)的一部分,因此可能会以某种方式被破坏。

明白了。非常感谢:-)明白了。非常感谢:-)明白了。非常感谢:-)明白了。非常感谢:-)明白了。非常感谢:-)