• 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: NULL SEL arguments in Jaguar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NULL SEL arguments in Jaguar?


  • Subject: Re: NULL SEL arguments in Jaguar?
  • From: Ali Ozer <email@hidden>
  • Date: Sun, 25 Aug 2002 00:40:32 -0700

> I am not sure off the top of my head, but I believe there are a few
> cases where this applies in the AppKit, such as nil actions, etc ---
> hence the warning in the AppKit relnotes. You're right that it would
> have been a good idea to include this in the Foundation release notes
> as well, as it does apply to NSObject methods.

And just to clarify, it actually turns out the Foundation relnotes do
say this; I thought from your email you said it didn't (although you
didn't):

Methods and Functions which take SEL Arguments Now Check for NULL
The Foundation has been inconsistent in its handling of NULL SEL
arguments in the past. Foundation now raises in all functions and
methods, like NSArray's -sortedArrayUsingSelector:, that take SEL
arguments if the SEL argument is 0, for applications linked on or after
10.2. The exception is the conversion function NSStringFromSelector(),
which returns nil for a 0 SEL (as it did prior to 10.2).

Ali
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NULL SEL arguments in Jaguar? (From: Ali Ozer <email@hidden>)

  • Prev by Date: Re: NSDocument: Saving more than 1 file???
  • Next by Date: NSLock optimizations
  • Previous by thread: Re: NULL SEL arguments in Jaguar?
  • Next by thread: Dragging URL clippings into a Cocoa app
  • Index(es):
    • Date
    • Thread