On 12 Mar '08, at 12:39 AM, Trygve Inda wrote:
Thanks for this. I too am surprised there is no userInfo in these classesI am surprised NSURLDownload and NSURLRequest do not have userInfo ivars like many other Cocoa classes that do asynchronous operations (NSTimer for instance).and wanted to be sure I wasn't overlooking something.
I looked through the Foundation and AppKit headers, and the _only_ class that has an "id userInfo" property like this is NSTimer. (I wasn't even aware of it; I've never found a need for it.) So I don't think it's a widespread technique.
(There are immutable value objects like NSError and NSNotification that have userInfo dicts, but that's to provide metadata about the object's value, not as an alternative to subclassing.)
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]