• 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: NSNumber pointerValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumber pointerValue


  • Subject: Re: NSNumber pointerValue
  • From: Björn Carlström <email@hidden>
  • Date: Tue, 18 Nov 2003 23:34:51 +0100

But this is just speculation, of course. Maybe someone at Apple wants to clarify, but probably not. You could test further by seeing if your original object can get a non-nil value back *after* placing the NSNumber into the pasteboard. If it can, then either (a) I'm wrong or (b) the trigger happens when the value is retrieved, not set.

I tried to get a non-nil value back after placing it on the pasteboard and it woked like a charm. But still on the otherside of the darkness of the pasteboard it returns nil.

Is there any documentation of under wich circumstances pointerValue would return nil? I assumed it was a simple conversion of types, but apparently not...
_______________________________________________
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.
  • Follow-Ups:
    • Re: NSNumber pointerValue
      • From: Glenn Andreas <email@hidden>
References: 
 >Re: NSNumber pointerValue (From: Wade Tregaskis <email@hidden>)

  • Prev by Date: Automatic Key-Value Observing
  • Next by Date: Opening a NSOpenPanel in a secondary thread -> crash
  • Previous by thread: Re: NSNumber pointerValue
  • Next by thread: Re: NSNumber pointerValue
  • Index(es):
    • Date
    • Thread