• 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: Qustion about possibly bad advice in NSView documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qustion about possibly bad advice in NSView documentation


  • Subject: Re: Qustion about possibly bad advice in NSView documentation
  • From: Charles Steinman <email@hidden>
  • Date: Tue, 25 Sep 2007 11:45:25 -0700 (PDT)

--- Alastair Houghton <email@hidden>
wrote:

> On 25 Sep 2007, at 16:26, Dominik Pich wrote:
>
> > Hi, you verfied this? I was under the impressions
> that
> > performSelector same as NSInvocation transparently
> 'unwraps'
> > NSValues........or maybe only NSInvocation!?
>
> I think you're imagining things here.  Why would -
> performSelector:withObject: ever want to do that?
> For a start, you
> wouldn't be able to pass an NSValue.

I don't see why not. It could behave the same as KVC,
which works both with scalars and NSValues. The only
situation I can think of where it would create trouble
is one where you have a method that takes an integer
argument that is supposed to represent the address of
an NSValue object -- I'd say that is decidedly an edge
case.

Cheers,
Chuck



____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
_______________________________________________

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: Qustion about possibly bad advice in NSView documentation
      • From: Alastair Houghton <email@hidden>
References: 
 >Re: Qustion about possibly bad advice in NSView documentation (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Qustion about possibly bad advice in NSView documentation
  • Next by Date: Re: Qustion about possibly bad advice in NSView documentation
  • Previous by thread: Re: Qustion about possibly bad advice in NSView documentation
  • Next by thread: Re: Qustion about possibly bad advice in NSView documentation
  • Index(es):
    • Date
    • Thread