Following is my Model.h
file:
@interface Model : NSObject
- (void)loadSiteForTTSWithText:(NSString *)text AndVerseNumber:(int)versesNumber AndChapterNumber:(int)chapterNumber AndBookNumber:(int)bookNumber;
.... //few other methods are here
@end
I have imported Model.h
into my ViewController
and made an object for Model
namely model
. And then i access the methods in Model
using model. All other methods are working just fine, but when I try to access:
[model loadSiteForTTSWithText:stringToRead AndVerseNumber:verseNumber AndChapterNumber:chapterNumber AndBookNumber:bookNumber];
I am getting the error:
No visible @interface for 'Model' declares the selector 'loadSiteForTTSWithText:AndVerseNumber:AndChapterNumber:AndBookNumber:'
I am not getting any errors on the other methods declared inside Model.h
. What can be the issue?
EDIT
I have checked for duplicate files but couldn't find any.