Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

djcmaster

macrumors newbie
Original poster
Jun 10, 2013
1
0
Can anyone show me how to correct this implementation error:

- [ViewController.m]

#import "ViewController.h"
#import <QuartzCore/QuartzCore.h>

@interface ViewController ()

@end

@implementation ViewController {
int currentValue;
int targetValue;
int score;
int round;
}

@synthesize slider;
@synthesize targetLabel;
@synthesize scoreLabel;
@synthesize roundLabel;


- [ViewController.h]

MPMoviePlayerController *moviePlayer;

@interface ViewController : UIViewController

- (IBAction)showAlert;

- (IBAction)sliderMoved:(UISlider *)slider;

- (IBAction)startOver;

- (IBAction)showInfo;

@property (nonatomic, strong) IBOutlet UISlider *slider;

@property (nonatomic, strong) IBOutlet UILabel *targetLabel;

@property (nonatomic, strong) IBOutlet UILabel *scoreLabel;

@property (nonatomic, strong) IBOutlet UILabel *roundLabel;

@end

----------

that :( should be a : (colon)
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.