• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Category Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Category Question


  • Subject: Re: Category Question
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 03 Apr 2011 23:17:43 -0700

On Apr 3, 2011, at 11:08 PM, koko <email@hidden> wrote:

> I have added a category to NSDecimalNumber.
>
> I get a warning that NSDecimalNUmber may not respond to 'method' where 'method' is what I added in the Category.
>
> Is this standard behavior?  It seems to me that methods in Categories should be recognized at compile time.

Did you remember to #import the header file that declared the category?

--Kyle Sluder_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Category Question
      • From: koko <email@hidden>
References: 
 >Category Question (From: koko <email@hidden>)

  • Prev by Date: Category Question
  • Next by Date: Re: Book for expert programmer about cocoa and Objective-C
  • Previous by thread: Category Question
  • Next by thread: Re: Category Question
  • Index(es):
    • Date
    • Thread