重複の可能性:
Objective C のキャレット
Objective-C で ^ 記号は何を意味しますか?
コード:
GreeRequestServicePopup* requestPopup = [GreeRequestServicePopup popup];
requestPopup.parameters = parameters;
requestPopup.willLaunchBlock = ^(id aSender) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"request_service_popup_will_launch_block" object:nil];
};
requestPopup.didLaunchBlock = ^(id aSender) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"request_service_popup_did_launch_block" object:nil];
};
requestPopup.willDismissBlock = ^(id aSender) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"request_service_popup_will_dismiss_block" object:nil];
};
requestPopup.didDismissBlock = ^(id aSender) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"request_service_popup_did_dismiss_block" object:nil];
};
requestPopup.cancelBlock = ^(id aSender) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"request_service_popup_cancel_block" object:nil];
};
requestPopup.completeBlock = ^(id aSender) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"request_service_popup_complete_block" object:nil];
};
[self.navigationController showGreePopup:requestPopup];
}
前もって感謝します!