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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:35:20+00:00 2026-05-26T17:35:20+00:00

request.fetchLimit = 100; request.fetchBatchSize = 100; is it true use that function to make

  • 0
request.fetchLimit = 100;
request.fetchBatchSize = 100;

is it true use that function to make limit for how many rows at tableView with NSFetchedResultsControllerDelegate?

but the problem is.. sometime the table will show more than 100 rows, but when I change the page and back to the table, the table will show just 100 rows, how can it be? I don’t want the table can show more than 100.

thank you in advanced.

Another way to do it is to do

is to update

 id <NSFetchedResultsSectionInfo> sectionInfo = [[self.FetchController sections] objectAtIndex:section];
    CalledRowCountingNotYetCallRowForSection=true;
    [self.tableViewA setBounces:YES];


    if([sectionInfo numberOfObjects]>100){
        //[Timer searchCriteriaChanged];
        CLog(@"Something Wrong This NumberOfRow: %d", [sectionInfo numberOfObjects]);
    }
    else{
    }
    return [sectionInfo numberOfObjects];

so that when numberOfObjects is bigger than 100, then the number of row becomes 100. However, that interfere with

- (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject

So how do you do it?

  • 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-26T17:35:21+00:00Added an answer on May 26, 2026 at 5:35 pm

    You could limit the amount of available rows by overriding the numberOfSectionsInTableView and numberOfRowsInSection functions of your table view data source, returning 1 and 100, respectively.

    Are you using a SQLStore as base for your table? According to apple documentation ( http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/CoreDataFramework/Classes/NSFetchRequest_Class/NSFetchRequest.html#//apple_ref/doc/c_ref/NSFetchRequest ), fetchLimit does only work for SQL stores.

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

Sidebar

Related Questions

Request.Form[key] has a hashtable-like interface, but I doubt that's how it works. Is there
I can use urllib.request module with Python 3.1. But when I execute the same
Request[key] vs Request.Params[key] vs Request.QueryString[key] Which method do you seasoned programmers use? and why?
The request I sent is accept gzip but the response is not compressed, instead,
The request is a simple one, but is hard to google for. Here are
There is a request to make the SO search default to an AND style
var request = new Request({ method: 'get', url: 'onlinestatusoutput.html.php', onComplete:function(response) { $('ajax-content').get('tween', {property: 'opacity',
request.open(GET, selectedTab + .html, true); Will this respond me back with the whole html
function Request(params) { // Stuff stuff stuff // And then $.ajax( { type: 'GET',
Sending request to action using Ajax, the result type is json. Use a json

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.