Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7897557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:11:48+00:00 2026-06-03T08:11:48+00:00

i am checking a sample project from github an i got this error,,in one

  • 0

i am checking a sample project from github an i got this error,,in one of the class,,there are many classes in it,,but i got door in this class only.the error is “receiver type view controller for instance message does not declare a method with selector ‘loadChapter:forBook’

the error came in this method,

- (void)displayBook: (int)theBook andChapter: (int)theChapter andVerse: (int)theVerse
{

    [((PKRootViewController *)self.parentViewController.parentViewController ) showWaitingIndicator];
    PKWait(//here i got this error
           [self loadChapter:theChapter forBook:theBook];
           //[self.tableView reloadData];
           [self reloadTableCache];
           [(PKHistory *)[PKHistory instance] addPassagewithBook:theBook andChapter:theChapter andVerse:theVerse];
           [self notifyChangedHistory];
           ((PKSettings *)[PKSettings instance]).topVerse = theVerse;
           if (theVerse>1)
           {
               [self.tableView scrollToRowAtIndexPath: [NSIndexPath indexPathForRow:theVerse-1 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:NO];
           }
           else 
           {
               [self.tableView scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:NO];
           }
           UITabBarController *tbc = (UITabBarController *)self.parentViewController.parentViewController;
           tbc.selectedIndex = 0;
           );
}

and also this method have also this error

 - (void)loadChapter: (int)theChapter forBook: (int)theBook
    {
        // clear selectedVerses
        selectedVerses = [[NSMutableDictionary alloc] init];
        PKSettings *theSettings = [PKSettings instance];
        theSettings.currentBook = theBook;
        theSettings.currentChapter = theChapter;
        //[theSettings saveCurrentReference]; -- removed for speed
        [self loadChapter];//here i got the error,,in this case after selector'loadChapter;
    }

what is the reason for this error,,in error showing window it shows,automaticReferenceCounting Issue

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:11:50+00:00Added an answer on June 3, 2026 at 8:11 am

    do you have a selector loadChapter without parameters?

    aslo check if their declaration is included in interface file or not

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been checking around the PayPal API and got this, a webView displaying
Is there a simple way of checking whether a given character is in a
Checking few RDBMS I find that things like SELECT COUNT (a), SUM (b) FROM
I am not sure if there's an answer for this already -- couldn't find
I was looking through the Domain Oriented N-Layered .NET 4.0 Sample App project and
I need to validate the LDAP user by checking if there exists such a
class ITestType(object): Sample interface type __metaclass__ = ABCMeta @abstractmethod def requiredCall(self): return class TestType1(object):
I know, type checking function arguments is generally frowned upon in Python, but I
Whenever I create a large Mathematica project I run into this problem: Preventing avalanche
I understand how to design a database schema that has simple one-to-many relationships between

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.