• 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: warning with category
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning with category


  • Subject: Re: warning with category
  • From: Ariel Feinerman <email@hidden>
  • Date: Wed, 23 Jan 2013 13:46:37 +0400

Ok, but right now we wish to compile this as is 

then didn't the Objective C reference says that the category methods is loaded first? 

On Tue, Jan 22, 2013 at 2:30 PM, Dave Keck <email@hidden> wrote:
> is the any compiler flags to turn off these warnings  instance method   in
> category from   overrides method from class in

What about heeding the warning and fixing your code so you're not
overriding a method with a category? The existence of this warning
typically indicates that the runtime behavior of your program is
indeterminate: just because the runtime chooses your category's method
implementation now, doesn't mean it won't choose the class' method
implementation in the future.



--
best regards
Ariel
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: warning with category
      • From: Jeffrey Walton <email@hidden>
References: 
 >warning with category (From: Ariel Feinerman <email@hidden>)
 >Re: warning with category (From: Dave Keck <email@hidden>)

  • Prev by Date: Prevent Xcode from Reordering Expressions
  • Next by Date: attaching instruments to a running demon
  • Previous by thread: Re: warning with category
  • Next by thread: Re: warning with category
  • Index(es):
    • Date
    • Thread