æ°æ¥éiOS8/Xcode6/Swiftãªç°å¢ã§è²ã 試ãã¦ã¿ã¦ãSwiftã使ã£ã¦ãã¦æã£ããããã£ããããç¹ãå¤ãã£ãã®ã§ã¡ãã£ã¨ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã åçãªå¦çãSwiftã ãã§ã¯ä¸åã§ããªã [NSObject performSelector:]ã®é¡ã¨ãNSInvocationãSwiftããã¯ä¸åå¼ã³åºãã¾ããã使ããã¨ããã¨æããã¾ããobjc/runtime.hã¯è©¦ãã¦ãã¾ããããåæ§ã«ç´æ¥Swiftçµç±ã§ã¯å¼ã³åºããéã«Objective-Cããã¾ãå¿ è¦ãããã®ã§ã¯ãªããã¨æããã¾ãã @optionalãªprotocolãéå®çã«ãã使ç¨ã§ããªã å ·ä½çã«ã¯@objcå±æ§ãä»ããªãã¨ä½¿ãã¾ãããããããªãããã®ãããªå¾æ¹äºææ§ã®ããã ãã«åå¨ããå±æ§ããã¤ã¾ã§ãAppleããµãã¼ããããã¯çåãæ®ãã¨ããã®ã¨ãããä¸ã¤ä»¥ä¸ã®æ§ãªåé¡ãããã¾ãã @objcå±æ§ã®ã¤ãã
{{#tags}}- {{label}}
{{/tags}}