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

  • Home
  • SEARCH
  • 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 6704643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:18:44+00:00 2026-05-26T07:18:44+00:00

I am putting together a search string based off 4 tableviewcells, each cell opens

  • 0

I am putting together a search string based off 4 tableviewcells, each cell opens a subview and loads a bunch of data the user selects to set the cell of the previous view.

There is an order in which these cells needs to be set so that each preceding list of data in the subview is related to the data set in the parent view.

i.e. in the first cell you select a type of car, in the next cell you look at the models related to the type of car chosen.

That aside The basis of my question is how do I make a cell unselectable until the previous cell/s have been set.

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
//...
if (indexPath.section == 0) 
    {

if (indexPath.row == 0) // <<--- what could I put in here.... 
        {
//...
}

}
}

  • 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-05-26T07:18:44+00:00Added an answer on May 26, 2026 at 7:18 am

    Disallow the cell to track any interaction:

    [cell setUserInteractionEnabled:NO];
    

    or allow interaction, hiding the selection colour, and when clicked, do nothing.

    [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
    
    - (void) tableViewDidSelectRow.... {
        if(indexPath.row == indexOfCellWithNoUserInteraction) {
            //do nothing
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently putting together a rails-based web application which will only serve and
I am putting together a Samba-based server as a Primary Domain Controller, and ran
I am thinking of putting together an app that will be pulling data from
Whilst putting together a T4 template I threw in a simple lambda expression: <#=string.Join(,,
I'm putting together a system to track customer orders. Each order will have three
I'm putting together a site that will make itself available for user input. I
I'm putting together a basic UITableView before getting some feedback of how the data
I'm currently putting together some changes in our data model which include changing a
I had been putting together a simple little search. IEnumerable<Member> searchResults = (from m
I'm putting together a WCF service that handles a large search (currently 50-60 parameters,

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.