Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's up with NSHTTPCookieManagerCookiesChangedNotification?



Okay... trying to create a Cocoa app that listens for- and posts notifications about- changes to the cookies stored by the shared cookie storage singleton instance returned by this method:

[NSHTTPCookieStorage sharedHTTPCookieStorage];

The docs for the NSHTTPCookieStorage class list a notification named:

NSHTTPCookieStorageCookiesChangedNotification

HOWEVER, the header file NSHttpCookieStorage.h does not declare that a variable notification... if you try to use that static variable name, your code will not compile... instead it declares the suspiciously similar-sounding:

NSHTTPCookieManagerCookiesChangedNotification


Meanwhile, I can't seem to register as an observer for either notification type. Anyone else run into all this? I found this thread on CocoaBuilder, but it doesn't appear that the issue was ever resolved.

http://www.cocoabuilder.com/archive/message/cocoa/2003/8/12/2551

Thanks!

Todd Ditchendorf

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.