• 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: Namespace clash problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Namespace clash problem


  • Subject: Re: Namespace clash problem
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 13 Oct 2011 18:58:49 -0700

On Thu, Oct 13, 2011 at 6:55 PM, Graham Cox <email@hidden> wrote:
> That doesn't work, because it then complains: "warning: instance method 'style' is being used on 'Class' which is not in the root class"

Heh, looks like it picked -style instead of +style. Makes sense, I
guess. The compiler's not going to look at the type of the receiver
and determine "oh, you're being clever and sending +style to a class".
Though maybe it should.

> Looks like I have no choice but to change the method name for the class method at least :(

Looks like it.

--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

References: 
 >Namespace clash problem (From: Graham Cox <email@hidden>)
 >Re: Namespace clash problem (From: Jens Alfke <email@hidden>)
 >Re: Namespace clash problem (From: Graham Cox <email@hidden>)
 >Re: Namespace clash problem (From: Kyle Sluder <email@hidden>)
 >Re: Namespace clash problem (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Namespace clash problem
  • Next by Date: Re: Cocoa-dev Digest, Vol 8, Issue 822
  • Previous by thread: Re: Namespace clash problem
  • Next by thread: Re: Namespace clash problem
  • Index(es):
    • Date
    • Thread