title: I am getting this error where It says "No known class method for selector 'getLottoNumber'"
body: <p>I am getting this error with my code : No known class method for selector 'getLottoNumber'.</p>
  
  <pre><code>- (IBAction)generateButton:(id)sender {
  
  LottoDataController *lottoDataController = [[LottoDataController alloc] init];
  
  int firstNumber = [LottoDataController getLottoNumber];//I get the error here
  int secondNumber = [LottoDataController getLottoNumber];//and here
  int thirdNumber = [LottoDataController getLottoNumber];//and here
  int fourthNumber = [LottoDataController getLottoNumber];//and here
  int fifthNumber = [LottoDataController getLottoNumber];//and here
  int sixthNumber = [LottoDataController getLottoNumber];//and here
  
  [self.numView1 showLottoNumber:firstNumber];//Then I get this error: No visible @interface for 'UIImageView' declares the selector 'showLottoNumber:'.
  [self.numView2 showLottoNumber:secondNumber];
  [self.numView3 showLottoNimber:thirdNumber];
  [self.numView4 showLottoNumber:fourthNumber];
  [self.numView5 showLottoNumber:fifthNumber];
  [self.numView6 showLottoNumber:sixthNumber];
  
  }
  
  
  @end
  </code></pre>
  
  <p>lottoDataController.h:</p>
  
  <pre><code>@interface LottoDataController : NSObject
  
  - (int)getLottoNumber;
  
  @end
  </code></pre>
  
  <p>lottoDataController.m:</p>
  
  <pre><code>@implementation LottoDataController
  
  -(NSMutableArray *)generateRandomUniqueNumber;
  
  {
      NSMutableArray *unqArray = [[NSMutableArray alloc] init];
      int randNum;
      int counter = 0;
      while (counter &lt; 6)
  
      {
          randNum = arc4random_uniform(40.0);
          if (![unqArray containsObject:[NSNumber numberWithInt:randNum]])
          {
              [unqArray addObject:[NSNumber numberWithInt:randNum]];
              counter++;
          }
  
      }
      return unqArray;
  }
  
  
  @end
  </code></pre>
  
  <p>That is my project and I don't know what is going on.
  Anything wrong with it??
  Now I need To Waste Some Space Because My Post is Mostly Code.
  ..................................................................................</p>