如何解决?“NSProgressIndicator”之前的预期说明符限定符列表
您好,我该如何解决这个问题,这是我的 *.h 文件:我可以包含一些想法吗?我发现我必须 #import
但我什至没有找到 AppKit 框架
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import <Foundation/Foundation.h>
#import "RootViewController.h"
#import "CrossViewController.h"
#import "NavTestAppDelegate.h"
#import "Obrat1.h"
#import "Event.h"
#import "StvrtyViewController.h"
#import "MBProgressHUD.h"
@interface TretiViewController : UIViewController <NSFetchedResultsControllerDelegate> {
UILabel *testLabel;
UILabel *acBallanceLable;
UILabel *acNumberLable;
UILabel *accCurrencyLabel;
NSString *ibaTestFix;
UITableView *tView;
NSMutableArray *other;
NSFetchedResultsController *fetchedResultsController_;
NSManagedObjectContext *managedObjectContext_;
MBProgressHUD *HUD;
NSProgressIndicator *progressIndicator; //here it falls
谢谢
Hi how can i solve it here is my *.h file:may i include somethink? i have found that i have to #import <AppKit/AppKit.h>
but i do not even find AppKit framework
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import <Foundation/Foundation.h>
#import "RootViewController.h"
#import "CrossViewController.h"
#import "NavTestAppDelegate.h"
#import "Obrat1.h"
#import "Event.h"
#import "StvrtyViewController.h"
#import "MBProgressHUD.h"
@interface TretiViewController : UIViewController <NSFetchedResultsControllerDelegate> {
UILabel *testLabel;
UILabel *acBallanceLable;
UILabel *acNumberLable;
UILabel *accCurrencyLabel;
NSString *ibaTestFix;
UITableView *tView;
NSMutableArray *other;
NSFetchedResultsController *fetchedResultsController_;
NSManagedObjectContext *managedObjectContext_;
MBProgressHUD *HUD;
NSProgressIndicator *progressIndicator; //here it falls
Thank
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
iPhone/UIKit 不提供 NSProgressIndicator 类。这是针对 Mac OS X 编程的。
您需要 UIProgressIndicator、IIRC。
iPhone/UIKit does not offer the NSProgressIndicator class. That is for Mac OS X programming.
You want UIProgressIndicator, IIRC.