Re: CoreWLAN Notifications
Re: CoreWLAN Notifications
- Subject: Re: CoreWLAN Notifications
- From: Stephane Sudre <email@hidden>
- Date: Sat, 12 Sep 2009 19:18:23 +0200
On Sep 12, 2009, at 6:49 PM, Terry Simons wrote:
Hi,
I'm trying to hook up notifications with the new Snow Leopard CoreWLAN
APIs, but I'm not exactly sure how to go about doing that.
The only information I've been able to track down is in the
CWGloabals.h file which defines the notifications and describes when
they're posted.
For instance:
/*!
* @const kCWLinkDidChangeNotification
* @discussion Posted when the link state of the CoreWLAN interface
changes. This notification does not contain a <i>userInfo</i>
dictionary.
*/
extern NSString * const kCWLinkDidChangeNotification
__OSX_AVAILABLE_STARTING( __MAC_10_6, __IPHONE_NA );
There isn't any information about how to hook these notifications up,
and I can't find anything on the net yet about CoreWLAN.
Any help is appreciated.
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(handleEventPosted:)
name:kCWLinkDidChangeNotification object:nil];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden