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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:13:04+00:00 2026-05-16T04:13:04+00:00

How it is being implemented in table view? To limit the results display in

  • 0

How it is being implemented in table view? To limit the results display in the table view, I need to display eg 10 results, then at the last part of the table cell there’s the “next results” part when selecting would load/insert the next set of data into the table view.

Pls. advise me. Thanks

  • 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-16T04:13:05+00:00Added an answer on May 16, 2026 at 4:13 am

    You can make a 2 section UITableView…

    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
    {
        return 2;
    }
    
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
    {
        if (indexPath.section == 0)
            return 10;
        else {
            return 1;
        }
    
    }
    
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
        UITableView *cell;
        if (indexPath.section == 0)
            cell = (UITableViewCell*)[tableView dequeueReusableCellWithIdentifier:@"normalCell"];
        else
            cell = (UITableViewCell*)[tableView dequeueReusableCellWithIdentifier:@"nextCell"];
    
        if (!cell) {
            if (indexPath.section == 0)
                cell = [[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"normalCell"];
            else
                cell = [[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"nextCell"];
        }
    
        if (indexPath.section == 0) {
            // Set your normal cells
        } else {
            // Set your next cell
        }
    }
    
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    {
        if (indexPath.section == 0) {
            // your normal cells here
        } else {
            // your next cell here
        }
    
    }
    

    Of course this is not the only solution, but it works…

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

Sidebar

Related Questions

I need to display a detailed view controller with multiple labels when a row
I'm writing an auditing service for some business-critical operations. The service is being implemented
I have implemented the following set up (after being requested): slideshow of images changing,
How do I use ValueAwareEditor.onPropertyChange? Is this feature implemented already? It is not being
I have an application with a view-based NSTableView in it. Inside this table view,
I'm writing an iOS app with a table view inside a tab view. In
If you've used Oracle, you've probably gotten the helpful message ORA-00942: Table or view
I have implemented the accessory view of a UITableViewCell as a button, in the
I have implemented a custom SQLite database helper. I have a table containing sms
Sup fellas, so I have a navigation controller with a table view to which

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.