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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:34:01+00:00 2026-05-20T08:34:01+00:00

Yes I am a begginer. I am reading a book on cocos2d development. The

  • 0

Yes I am a begginer. I am reading a book on cocos2d development. The author wrote this book using 0.99.4. In the book, it says to call a function that creates sprites and adds them to an array by using the following code: [self initSpiders];. But when I run this, I get a warning that says “‘Gamescene may not respond to’-resetSpiders'”. I am assuming that there is an updated way of doing this in the newer version of cocos2d. If there is, I would be thankful if someone could explain the proper way of going about this. If this is the correct way, then what am I doing wrong? Thanks in advance.

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

    In objective-c, an object tells a message to do something:

    [someObject doSomething];
    

    Or with an argument:

    [someObject doSomethingWithArgument:someValue];
    

    The message you get from the compiler is telling you that the object (eg. “someObject”) does not understand what you are telling it to do (doSomething).

    To make that compiler warning go away, check the following:

    1. Did you #include the header file of the class your “someObject” is an instance of?
    2. Does that header file in fact have the method you are calling? (including arguments?)

    If you are calling a method you wrote, make sure you put that method in the header file. If you are calling a method that someone else wrote, or is part of the OS; make sure you include the header file, then perhaps find the method in the header file and copy/paste it into your code. This will make sure you get the EXACT method signature. These two are not the same:
    [self generateSprites]; // note the capitol S
    [self generatesprites]; // method names are case sensitive

    If you need a better answer, you’ll need to post some of your code so that people can see what you’re doing wrong.

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

Sidebar

Related Questions

Yes, yes, I've weighed using an xml parser instead of regular expressions, but this
Yes, I'm aware that this question has already been post, but ... I'm looking
Yes, this question has been asked many times, and I've been looking and reading
Yes I know, this question has been asked MANY times but after reading all
Yes, I know this question has been asked before, but I can't find an
Yes I have a project that I'm working on in NetBeans 7.1 and I
Yes, I know this question has been asked a lot of times, but I
Yes that sounds overly complicated. I am trying to mine data from pages on
Yes, it's a newb question. I want to make a timetabling application that these
Yes, I am having issues with this very basic (or so it seems) thing.

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.