-[NSApplication requestUserAttention:] return value?
-[NSApplication requestUserAttention:] return value?
- Subject: -[NSApplication requestUserAttention:] return value?
- From: Jim Correia <email@hidden>
- Date: Wed, 7 Nov 2007 11:39:09 -0500
The documentation for -[NSApplication requestUserAttention:] says:
The value returned by this method can be used to manually cancel a
request by passing it as the parameter to cancelUserAttentionRequest:.
But it doesn't document the range of values returned. Empirically, it
appears to be [0..N].
Can anyone confirm that to be the case? It would be nice to have an
uninitialized/no-request value that I can stuff in my iVar rather
than tracking whether I have an outstanding notification request
separately.
Jim
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden