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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:00:32+00:00 2026-05-26T08:00:32+00:00

I’m updating the code in an app I didn’t write while at the same

  • 0

I’m updating the code in an app I didn’t write while at the same time basically teaching myself objective C so am a beginner with this stuff.

I have a class called TableViewController and in it I have a method that is fired once a JSON feed successfully gets some data. This method is called:

- (void)JSONFetch:(MYJSONFetch *)fetch didDownloadCollection:(id)collection 
{
    //CODE HERE
}

I have a bunch of other classes that inherit from this class and in turn they call their own version of this method and add their own bits of functionality to the mix.
So for example I have a class called CategoryViewController that has this method defined in it:

- (void)JSONFetch:(MYJSONFetch *)fetch didDownloadCollection:(id)collection 
{
    [super didDownloadCollection:collection];
}

Notice the SUPER call there, ideally it should be able to access all the code in the parent’s method and its own code as well.

In the .h file on the category controller I have this:

#import "MYTableViewController.h"

@interface MYCategoryViewController : MYTableViewController 
{ 
    //code here
}

So it should be able to ‘see’ the other code, but I get this error on the SUPER line:

Instance method '-didDownloadCollection' not found (return type defaults to 'id')

Which presumably means it actually can’t see the parent method. It’s not set as private as far as I can tell, the .h explicitly mentions the inheritance and other method calls happily bounce back and forth between the two.

So, something I’ve done has borken this good and I’ve no idea what. I’ve an inkling it must be in the MYJSONFetch code, but am not sure.

Anyone shed any light on this, hours spent trying to figure out why it can’t see the parent method.

  • 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-26T08:00:33+00:00Added an answer on May 26, 2026 at 8:00 am

    The method is

    - (void)JSONFetch:(MYJSONFetch *)fetch didDownloadCollection:(id)collection

    So you have to call

    [super JSONFetch:fetch didDownloadCollection:collection];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,
We're building an app, our first using Rails 3, and we're having to build
Does anyone know how can I replace this 2 symbol below from the string
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload

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.