One Quickie


Register a notification with a block (Notifications->Blocks)
        [center addObserverForName: kGRZoneSystem_ZoneSystemChangedNotification
                object: nil
                queue: [NSOperationQueue mainQueue]
                usingBlock: ^(NSNotification *notification) {
                [self adaptToZoneChange];
            }];



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com