title: xcode error: No visible @interface for masterViewController declares the selector
body: <p>I am having what seems to be a fairly common problem but I cannot figure out what is wrong with my code specifically. </p>
  
  <p>I have scoured stackoverflow and read at least a dozen posts that are similar to mine, but I cannot figure out my personal problem. </p>
  
  <p>Basically, I am trying to pass the NSMutableDictionary from the modal view to the master view. Here's the code:</p>
  
  <p>QuoteMasterViewController.h:</p>
  
  <pre><code>    @class QuoteModalViewController;
      @interface QuoteMasterViewController : UITableViewController
      @end
  </code></pre>
  
  <p>QuoteMasterViewController.m:</p>
  
  <pre><code>#import "QuoteMasterViewController.h"
  #import "QuoteModalViewController.h"
  #import "QuoteDetailViewController.h"
  
  @interface QuoteMasterViewController () {
      NSMutableArray *_objects;
      }
  @end
  
  @implementation QuoteMasterViewController
  
  //after the ViewDidLoad method...
  
  -(void)addQuotationWithDictionary: (NSMutableDictionary *)myDictionary {
  
       [self insertNewObject:myDictionary];
       [self dismissModalViewControllerAnimated:YES];
   }
  </code></pre>
  
  <p>QuoteModalViewController.h:</p>
  
  <pre><code> #import &lt;UIKit/UIKit.h&gt;
  
   @class QuoteMasterViewController;
  
   @interface QuoteModalViewController : UIViewController &lt;UITextFieldDelegate&gt;
  
   @property (nonatomic, weak) QuoteMasterViewController *masterView;
   @property (strong, nonatomic) IBOutlet UITextField *sourceQuoted;
   @property (strong, nonatomic) IBOutlet UITextField *quoteQuoted;
   - (IBAction)saveButtonPressed:(id)sender;
   - (IBAction)cancelButtonPressed:(id)sender;
  
   @end
  </code></pre>
  
  <p>QuoteModalViewController.m:</p>
  
  <pre><code>#import "QuoteModalViewController.h"
  #import "QuoteMasterViewController.h"
  
  @interface QuoteModalViewController ()
  
  @end
  
  @implementation QuoteModalViewController
  
  @synthesize sourceQuoted;
  @synthesize quoteQuoted;
  @synthesize masterView;
  
  
  //After ViewDidLoad
  - (IBAction)saveButtonPressed:(id)sender {
      if (![sourceQuoted.text isEqualToString:@""] &amp;&amp; ![quoteQuoted.text isEqualToString:@""]) {
          NSString *sourceString = sourceQuoted.text;
          NSString *quoteString = quoteQuoted.text;
          NSMutableDictionary *quotesDict = [[NSMutableDictionary alloc] initWithObjectsAndKeys: sourceString, @"Source", quoteString, @"Quote", nil];
          [masterView addQuotationWithDictionary:quotesDict]; //Error occurs here
          NSLog(@"%@", quotesDict);
      }
  }
  </code></pre>
  
  <p>Thank you in advance for any and all help!</p>