title: Xcode use of undeclared identifier
body: <p>I am new to coding and had some basic knowledge but i am building out my first app from a tutorial and have a issue i can't figure out and after a few days of looking figured i would just ask. I get an error in my implementation file when initializing the object in the view did load.
  It says use of undeclared identifier. any help would be greatly appreciated. </p>
  
  <p>Here is my view controller.m</p>
  
  <pre><code>#import "ViewController.h"
  
  
  
  
  
  @implementation ViewController
  
  
  
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view, typically from a nib.
  
      NSLog(@"titleLabel.text = %@", self.titleLabel.text);
  
      self.bandObject = [[BandObject alloc] init];
  }
  
  - (void)didReceiveMemoryWarning {
      [super didReceiveMemoryWarning];
      // Dispose of any resources that can be recreated.
  }
  
  -(BOOL)textFieldShouldBeginEditing:(UITextField *)textField
  {
      return YES;
  }
  
  -(BOOL)textFieldShouldReturn:(UITextField *)textField
  {
      self.bandObject.name = self.nameTextField.text;
      [self.nameTextField resignFirstResponder];
      return YES;
  }
  
  -(BOOL)textFieldShouldEndEditing:(UITextField *)textField
  {
      self.bandObject.name =self.nameTextField.text;
      [self saveBandObject];
      [self.nameTextField resignFirstResponder];
      return YES;
  }
  
  -(BOOL)textViewShouldBeginEditing:(UITextView *)textView
  {
      self.saveNotesButton.enabled = YES;
      return YES;
  }
  
  -(BOOL)textViewShouldEndEditing:(UITextView *)textView
  {
      self.bandObject.notes = self.notesTextView.text;
      [self.notesTextView resignFirstResponder];
      self.saveNotesButton.enabled = NO;
      return YES;
  }
  
  - (IBAction)saveNotesButtonTouched:(id)sender
  {
      [self textViewShouldEndEditing:self.notesTextView];
  }
  
  - (IBAction)ratingStepperValueChanged:(id)sender
  {
      self.ratingValueLabel.text = [NSString stringWithFormat:@"%g",self.ratingStepper.value];
      self.bandObject.rating = (int)self.ratingStepper.value;
  }
  
  
  - (IBAction)tourStatusSegmentedControlValueChanged:(id)sender
  {
      self.bandObject.touringStatus = self.touringStatusSegmentedControl.selectedSegmentIndex;
  }
  
  - (IBAction)haveSeenLiveSwitchValueChanged:(id)sender
  {
      self.bandObject.haveSeenLive = self.haveSeenLiveSwitch.on;
  }
  
  @end
  </code></pre>
  
  <p>and here is my .h</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "WBABand.h"
  
  
  @interface ViewController : UIViewController &lt;UITextFieldDelegate, UITextViewDelegate&gt;
  
  @property (nonatomic, strong) WBABand *bandObject;
  @property (nonatomic, weak) IBOutlet UILabel *titleLabel;
  @property (nonatomic, weak) IBOutlet UITextField *nameTextField;
  @property (nonatomic, weak) IBOutlet UITextView *notesTextView;
  @property (nonatomic, weak) IBOutlet UIButton *saveNotesButton;
  @property (nonatomic, weak) IBOutlet UIStepper *ratingStepper;
  @property (nonatomic, weak) IBOutlet UILabel *ratingValueLabel;
  @property (nonatomic, weak) IBOutlet UISegmentedControl *touringStatusSegmentedControl;
  @property (nonatomic, weak) IBOutlet UISwitch *haveSeenLiveSwitch;
  
  - (IBAction)saveNotesButtonTouched:(id)sender;
  - (IBAction)ratingStepperValueChanged:(id)sender;
  - (IBAction)tourStatusSegmentedControlValueChanged:(id)sender;
  - (IBAction)haveSeenLiveSwitchValueChanged:(id)sender;
  
  
  
  @end
  </code></pre>