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

The Archive Base Latest Questions

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

Category methods added to specific class doesn’t work at its subclass. For me, I’m

  • 0

Category methods added to specific class doesn’t work at its subclass.

For me, I’m using JSONKit to manipulate JSON. JSONKit returns JKArray subclassing NSArray. And I have several methods added to NSArray. But when I execute my program, unrecognized selector sent to instance runtime exception thrown with the method.

How can I use the category 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-23T07:40:48+00:00Added an answer on May 23, 2026 at 7:40 am

    I solved the problem by adding -ObjC flag to Other Linker Flags on build setting.
    Here’s description.
    http://developer.apple.com/library/mac/#qa/qa1490/_index.html

    My NSArray addition and JSONKit codes are in separated static library, and it was not linked well without the flag. Program is working well now. And also, the linker bug described the document looks fixed.

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

Sidebar

Related Questions

I added a category to UIView to hold some transition helper methods. The methods
I have added a method foo to a class MYCustomClass in a category Category1
I want to use a category to make a method on the original class
My structure: in each category there are texts. These texts are entries of its
I am creating a Category model and using the awesome_nested_set plugin (a replacement for
Just want to check: If you have a class that uses a method added
I added a category to NSArray with a helper method for sorting. My unit
Apple has this to say : Categories of the Root Class A category can
I am trying to display all products of a specific category. So i created
I have to show the list of products added to a particular category on

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.