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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:36:27+00:00 2026-06-10T09:36:27+00:00

Well, this is quite a weird issue. (I just hope it has something to

  • 0

Well, this is quite a weird issue. (I just hope it has something to do with my not-playing-that-much-with-Cocoa-for-a-while, or else…)

So, the issue is quite straightforward :

  • I’m using Xcode 4.3.3 (a very simple test project – 10.7 SDK – no ARC)
  • I’m creating a Category on some Class (e.g. NSProgressIndicator)
  • I’m including the appropriate header file
  • When trying to use any of my Category’s methods (however, it still shows up in the dropdown of available commands), I’m getting an error :

[NSProgressIndicator start]: unrecognized selector sent to instance
0x7f9f4b91a0a0

The code

(as an example – it has happened with other (100-times tested) categories):

#import <Foundation/Foundation.h>


@interface NSProgressIndicator (NSProgressIndicator_Functions)

- (void)start;
- (void)stop;

@end

#import "NSProgressIndicator+Functions.h"


@implementation NSProgressIndicator (NSProgressIndicator_Functions)

- (void)start
{
    [self setHidden:NO];
    [self startAnimation:nil];
}

- (void)stop
{
    [self setHidden:YES];
    [self stopAnimation:nil];
}

@end

Any ideas?

  • 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-10T09:36:28+00:00Added an answer on June 10, 2026 at 9:36 am

    To expand my comment into a real answer:

    Make sure the category’s implementation (.m) file is included in your target’s Compile Sources build phase. Importing the header is enough to tell the compiler that there is a category on NSProgressIndicator which adds a -start method. Unless the category’s implementation is actually compiled and linked into the finished binary (or the method implementation is added at runtime, etc), NSProgressIndicator won’t actually respond to the start message at runtime. Because of Objective-C’s dynamic message send behavior, there’s no way the compiler can tell at compile time whether or not NSProgressIndicator is actually going to respond to that message, which is why you don’t get a warning or an error.

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

Sidebar

Related Questions

Well this is a really weird issue, I really didn't find anything on this
I hope I can explain this well enough so that you can understand the
I want to create a friends system like facebook, well quite weird than that.
Well this is weird let me describe the scenario I have this mailer define
I have a class extends NamedParameterJdbcDaoSupport. well this superclass has a final setDataSource method
Having a weird issue. I'm new to Macs and have a windows VM that
This works quite well in 1 dimension: # This will sort bar by the
Google Maps seems to be able to do this quite well, presumably leveraging my
Well, this is quite the interesting problem. I've laid out an NSTableView (view-based) which
Recently a student got this quite by accident (or well, a side effect of

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.