Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

IBOutlet error , Thread 1 : breakpoint 1.2 ??

some1 can help, i am new on this , and am stuck with this button,

when i run the simulator it succeed and then give me this error,
Thread 1: breakpoint 1.2

here are my view-controllers.

//
//  ViewController.m
//  CrystalBall
//
//  Created by karim chedid on 10/15/13.
//  Copyright (c) 2013 KhayalArts. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)buttonPressed:(id)sender {
    NSArray *predictionArray = [[NSArray alloc] initWithObjects:@"Its is Certain", @"Its is decidedly so", @"All signs say Yes", @"The Stars are not aligned", nil];
  self.predictionLabel.text = [predictionArray objectAtIndex:0];
}
@end


------------------------------------------------------------------


//
//  ViewController.h
//  CrystalBall
//
//  Created by karim chedid on 10/15/13.
//  Copyright (c) 2013 KhayalArts. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

- (IBAction)buttonPressed:(id)sender;
@property (strong, nonatomic) IBOutlet UILabel *predictionLabel;


@end

http://www.dropbox.com/s/29kgx5tmyb5cc6v/Screen%20Shot%202013-10-15%20at%205.00.52%20AM.png

2 Answers

I found out , my mistake

Will you update your comment with what you found out so everyone else can know?

Yea I'm having the same problem.