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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:44:57+00:00 2026-06-06T18:44:57+00:00

I am converting my Objective-C Cocos2d project into ARC and I am finding some

  • 0

I am converting my Objective-C Cocos2d project into ARC and I am finding some issues when trying to convert a third party class that extends some other classes.

Below is the ARC error message I get:

enter image description here

The static method shown in the issue are defined in the SneakyExtension.h file that extends some other classes (SneakyButton, SneakyButtonSkinnedBase, SneakyJoystick..) in this way (I share only the interface as the code is copyrigthed by Steffen Itterheim):

@interface SneakyButtonSkinnedBase (Extension)
+(id) skinnedButton;
@end

@interface SneakyJoystick (Extension)
+(id) joystickWithRect:(CGRect)rect;
@end

@interface SneakyJoystickSkinnedBase (Extension)
+(id) skinnedJoystick;
@end

You can find the source code here: look at the ShootEmUp03 example in chapter 8.

My only guess is that the Extension keyword is somehow not supported by ARC but I have a feeling that I am wrong because I haven’t found much on google with this as well as neither on Stackoverflow or the “transitioning to ARC” Apple’s iTunes U tutorial.

Any help would be much appreciated.

  • 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-06-06T18:44:59+00:00Added an answer on June 6, 2026 at 6:44 pm

    Import required files. 🙂

    My best guess about why it worked is that the compiler is being more particular about correct declarations now than it was. Why that should be the case, I have no idea. In the end, though, it’s the runtime that gets the final vote on what works and, as long as there really is a joystickWithRect method linked into your app, you’re functionally OK even if it should have been a compiler error in the earlier builds — according to some standard.

    What you’re encountering now doesn’t affect the program’s behavior; it’s just the compiler trying to make sure you’re telling it the right thing.

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

Sidebar

Related Questions

I've got some C# code that I'm converting to Objective-C. In C# I would
I'm trying to use TPMultiLayoutViewController in a project using ARC, but am bumping into
I am converting my project to arc (Edit>Convert to Arc) in Xcode. I have
I am converting some Objective-C++ code into plain Objective-C and I am having some
I am trying to convert some code to Objective-C from Java and I'm getting
Since converting my project to ARC, it seems the analyzer is a bit in
I'm converting a large, multi-project CVS repository into Subversion using cvs2svn. It's working really
Am converting an application from java to objective-c and have run into an issue
In Objective-C, how do I go about converting tilde-based pathnames to full pathnames? That
Possible Duplicate: Byte array in objective-c Am converting some Java code to Objective-C and

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.