'__strong' only applies to objective-c object or block pointer types; type here is 'void *'
this the "__strong" line in my AVAudioPlayer.h file (which is an imported framework)
@interface AVAudioPlayer : NSObject {
@private
__strong void *_impl;
}
my .h file looks like this
#import <UIKit/UIKit.h>
#import <AVFoundation/AVAudioPlayer.h>
@interface excerViewController : UIViewController <AVAudioPlayerDelegate,UIAccelerometerDelegate>
@property (weak, nonatomic) IBOutlet UILabel *avgLabel;
@property (weak, nonatomic) IBOutlet UILabel *modeLabel;
@property (weak, nonatomic) IBOutlet UILabel *scoreLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIButton *playButton;
@property int subScore;
@property int score;
@property int seconds;
@property int moments;
@property NSMutableString *average;
@property double avg;
@property BOOL locked;
@property double delta;
@property UIAccelerometer *accel;
@property AVAudioPlayer *player;
-(void)drawEnergy:(double)energy;
@end
I can't for the life of me figure out why I'm getting this error. One other person on StackOverflow had this issue, and it isn't the reason i'm getting it ( '__strong' only applies to objective-c object or block pointer types; type here is XXX" warning)