#pragma mark UIAlertSheet delegation - (void)alertSheet: (UIAlertSheet *)sheet buttonClicked: (int)button { [sheet dismiss]; [sheet release]; switch (button) { case 1: [_pushr openURL: [self authURL]]; break; default: [_pushr terminate]; break; } } #pragma mark XML helper funct