• 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: Wade Tregaskis <email@hidden>
  • Date: Tue, 18 Nov 2003 09:58:03 +1100

Does anybody know why this would yield different results before and after being on the pasteboard?

Presumably NSValue assumes if it's going into a pasteboard that pointer references are no longer valid, so it then returns nil. Obviously if the receiving app is also the one which put the data into the pasteboard to start with, the pointer *is* valid... seems like a simple oversight on an otherwise good protection feature.

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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: 
 >NSNumber pointerValue (From: Björn Carlström <email@hidden>)

  • Prev by Date: [SOLVED] Where's my applicationDidFinishLaunching notification?
  • Next by Date: Re: Copyrights, Interfaces, etc. (attn: Apple Reps)
  • Previous by thread: NSNumber pointerValue
  • Next by thread: Re: NSNumber pointerValue
  • Index(es):
    • Date
    • Thread