iOS/iPhone/iPad/MacOSX ããã°ã©ãã³ã°, Objective-C, Cocoaãªã© iOS4ãã UIView ã®ã¢ãã¡ã¼ã·ã§ã³é¢é£ã®ã¡ã½ãã㧠Blocksãå©ç¨ã§ããããã«ãªã£ããæè¿ããå©ç¨ãã¦ãããããã¯é常ã«ä¾¿å©ãä¸æ¹ãUIActionSheet ã§ä¸ä¾¿ãæãã¦ããã®ã§è©¦ãã« Blocksã使ããå®è£ ãæ¸ãã¦ã¿ãã 使ãæ¹ã¯ãããªã¤ã¡ã¼ã¸ï¼ ActionSheetBlocksExtension* sheet = [[ActionSheetBlocksExtension alloc] initWithTitle:@"Action sheet sample" didClick:^(UIActionSheet* actionSheet, NSInteger buttonIndex) { NSLog(@"[1] index %d: %@", buttonIndex,

{{#tags}}- {{label}}
{{/tags}}