Я пытался найти эту проблему, но не могу понять, что я делаю неправильно.
Вот мой заголовок контроллера:
#import <UIKit/UIKit.h>
@interface BabyLearnViewController : UIViewController {
UIButton *btnImage;
MediaManager* myMediaManager;
}
@property (nonatomic, retain) IBOutlet UIButton *btnImage;
@property (retain) MediaManager* myMediaManager;
- (IBAction)setNewImage;
@end
Вот мой контроллеркласс:
#import "BabyLearnViewController.h"
#import "MediaManager.h";
@implementation BabyLearnViewController
@synthesize btnImage;
@synthesize myMediaManager;
Я получаю ошибки:
error: expected specifier-qualifier-list before 'MediaManager'
error: no declaration of property 'myMediaManager' found in the interface
Есть идеи?Обычно 1-ая ошибка появляется, если у вас есть цилиндрическая ссылка.«MediaManager» больше ни на что не ссылается.Есть идеи?