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 877413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:36:17+00:00 2026-05-15T11:36:17+00:00

I have a uitableview ‘A’ which has cells, on clicking one of the cell,

  • 0

I have a uitableview ‘A’ which has cells, on clicking one of the cell, it needs to push another table view ‘B’. and now when a cell is clicked in ‘B’, its needs to open a simple view.

I have managed to display both the tables in two different views. but when a cell is clicked in the menu B. it hangs and shows the below message

> unrecognized selector sent to > instance

could someone please tell me how do i solve this.thanks

Please find below my code

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

    NSInteger row = [indexPath row];
    NSLog(@"entering the if loop libdecripviewcontoller");
    if(self.libraryDescripViewController == nil){
        NSLog(@"its creating new instance of libdecripviewcontoller");
        LibraryDescripViewController *aLib = [[LibraryDescripViewController alloc] initWithNibName:@"LibraryDescripView" bundle:nil];
        self.libraryDescripViewController = aLib;
        [aLib release];
    }
    libraryDescripViewController.title = [NSString stringWithFormat:@"%@",[libraryMenu objectAtIndex:row]];

    ULS1AppDelegate *delegate = [[UIApplication sharedApplication] delegate ];
    [delegate.searchLibNavController pushViewController:libraryDescripViewController animated:YES];
    }

Please find the output below

2010-06-27 20:13:15.521 ULS1[1020:207]
entering the if loop
libdecripviewcontoller 2010-06-27
20:13:15.533 ULS1[1020:207] its
creating new instance of
libdecripviewcontoller 2010-06-27
20:13:15.541 ULS1[1020:207] *
-[LibraryMenuTabViewController setLibraryDescripViewController:]:
unrecognized selector sent to instance
0x3c2ec70 2010-06-27 20:13:15.554
ULS1[1020:207] *
Terminating app due
to uncaught exception
‘NSInvalidArgumentException’, reason:
‘*** -[LibraryMenuTabViewController
setLibraryDescripViewController:]:
unrecognized selector sent to instance
0x3c2ec70’ 2010-06-27 20:13:15.558
ULS1[1020:207] Stack: ( 29303899,
2512004361, 29685819, 29255286,
29107906, 14755, 3050054, 3033220,
287146, 29088448, 29084744, 37393941,
37394138, 2777007, 11184, 11038 )

  • 1 1 Answer
  • 3 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-05-15T11:36:18+00:00Added an answer on May 15, 2026 at 11:36 am

    It seems that you are calling “self.libraryDescripViewController = aLib” which is another way of writing [self setLibraryDescripViewController:alib].

    The most likely cause of this would be in that you haven’t declared the method setLibraryDescripViewController in your class.

    Hope this helps.

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

Sidebar

Related Questions

I have UITableView.when i click on it's 1 st row one another UITableView opens
I have UITableView with very large cells with lots of content (more than one
I have a UITableView on a UIViewController. And this table has say 5 visible
I have a UITableView that's experiencing performance problems on older phones. The table cells
I have UITableView with cells. Cell contains image, label and detail label. Then I've
I have a UITableView where each cell is an image. Only one cell is
I have a UITableView that has 2 different customcell definitions. One is a single
I have a view in which I have UITableView (grouped style). In the Interface
I have UITableView with custom cells, which contain uilabels. I am using it to
I have UITableView.In that i have created custom cell with accessory button.Now by clicking

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.