Re: NSNumber pointerValue
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.