Re: NSNumber pointerValue
Re: NSNumber pointerValue
- Subject: Re: NSNumber pointerValue
- From: Björn Carlström <email@hidden>
- Date: Tue, 18 Nov 2003 09:38:56 +0100
2003-11-17 kl. 23.58 skrev Wade Tregaskis:
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.
How would it know its a pointer? I'm typcasting it into an integer
value?
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.
_______________________________________________
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.