como resolver? Lista de especificadores-qualificadores esperados antes de 'NSProgressIndicator'
-
14-11-2019 - |
Pergunta
Olá, como posso resolver isso aqui está meu arquivo *.h: posso incluir alguma coisa?descobri que preciso #import <AppKit/AppKit.h>
mas eu nem encontro o framework 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
Agradecer
Solução
iPhone/UIKit não oferece a classe NSProgressIndicator.Isso é para programação do Mac OS X.
Você quer UIProgressIndicator, IIRC.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow