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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:47:54+00:00 2026-05-14T07:47:54+00:00

I made a custom UITableView subclass and implemented this: – (void)scrollViewDidScroll:(UIScrollView *)scrollView { //

  • 0

I made a custom UITableView subclass and implemented this:

- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
    // scrolled...
}

Now, what I think is that UITableView may also love to get this message for some obvious reasons. However, when I don’t forward that to super, for some reason, everything still works fine. Must I forward that guy to super? I mean…it’s a delegate method implementation, but as far as I’m aware of, this would still override anything implemented in UITableView, or not?

Edit: I see…the delegate could be anyone. Never mind about this. BUT: What I have such a thing in a superclass, and make a subclass. How would I even know that the superclass does implement that method and I must forward it to super?

  • 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-14T07:47:54+00:00Added an answer on May 14, 2026 at 7:47 am

    This is a delegate method which means it gets called by your instance of UITableView for your convenience.

    The scrolling happens and the UITableView internal code will call.

    if ([delegate respondsTo:@selector(scrollViewDidScroll:)]) {
        [delegate performSelector:@selector(scrollViewDidScroll:) withObject:[self scrollView]];
    }
    

    And so you use this method to implement additional functionality, for example activating a control when the tableView has scrolled a certain amount.

    Hope this helps!

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

Sidebar

Related Questions

I made an custom UITableView. Then I made a custom header for sections. It
I have cells in UITableView , I have made custom frame for the label
I have made up a few different custom cells in my UITableView in Interface
I made a custom cursor using this tutorial . Problem is, as soon as
I made a custom control that is basically a multiline TextBox that allows input,
I have a UITableView with custom cells that were defined in the xib file,
I have a UITableview made up with a custom cell loaded from a nib.
I have a UITableView on a view. This UITableView has cells which are made
I have made custom .xml layout for ListView. Now it looks: But it isn't
I made a custom cell in a UITableView using IB and Storyboards. The code

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.