Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Infers @objc - Mobile Act OSAKA #04 -

Infers @objc - Mobile Act OSAKA #04 -

Takuma Shimizu

April 27, 2018
Tweet

More Decks by Takuma Shimizu

Other Decks in Programming

Transcript

  1. @objc 5IF4XJGU1SPHSBNNJOH-BOHVBHF 4XJGU  w 0CKFDUJWF$ίʔυͰར༻Ͱ͖Δ͜ͱΛίϯύΠϥʹ఻͑Δ w DMBTT ඇωετߏ଄ QSPUPDPM

    FOVN OPOHFOFSJD 3BX*OU  w ΫϥεͷQSPQFSUZ NFUIPEͳͲ w DMBTTFYUFOTJPOʹ!PCKDΛద༻͢Δͱશͯͷϝϯόʹ೾ٴ w !PCKDଐੑΛ࣋ͭQSPUPDPM͸ɺಉ͘͡!PCKDଐੑΛ࣋ͭQSPUPDPM͠ ͔ܧঝͰ͖ͳ͍
  2. *OGFSSFE@objc 5IF4XJGU1SPHSBNNJOH-BOHVBHF 4XJGU   ܧঝݩΫϥεͷ!PCKDଐੑΛ෇༩͞Ε͍ͯΔϝιουΛ
 ܧঝઌͰPWFSSJEFͨ͠৔߹  !PCKDQSPUPDPMʹ४ڌ͢Δ৔߹ 

    !*#"DUJPO !*#0VUMFU !*#%FTJHOBCMF !*#*OTQFDUBCMF  !/4.BOBHFE !(,*OTQFDUBCMFͷଐੑΛ࣋ͭ৔߹  0CKFDUJWF$Ͱఆٛ͞ΕΔΫϥεΛܧঝͨ͠৔߹
 ϚΠάϨʔγϣϯ࣌ʹz.BUDI4XJGU#FIBWJPSzΛબΜͩ৔߹ʁ
  3. *OGFSSFE@objcJO4XJGU w /40CKFDUͳͲͷ0CKFDUJWF$ΫϥεΛܧঝ w ϝϯό΋ؚΊͨΫϥεશମ w EZOBNJDम০ࢠΛ෇༩ w 4XJGU࣌఺Ͱ͸!PCKDͱηοτͰએݴ͕ඞਢ w

    ݱߦͷ࣮૷͸ɺ0CKFDUJWF$SVOUJNFΛར༻ 4XJ[[MJOH  w কདྷతʹ͸ɺͦΕʹཔΒͳ͍4XJGUࣗ਎ͷSVOUJNFͰαϙʔ τͷՄೳੑ
  4. @objcMembers w 4XJGUͷ0CKFDUJWF$Ϋϥεͷܧঝ࣌ͱಉ͡ৼΔ෣͍ w ΫϥεͷΈ࢖͑Δ w FYUFOTJPO TVCDMBTT TVCDMBTTͷFYUFOTJPOͷϝϯό͢ ΂ͯʹ!PCKD͕෇͍ͨঢ়ଶʹͳΔ

    w ࢖͍͗͢ΔͱɺόΠφϦαΠζ΍ύϑΥʔϚϯεʹѱӨڹ ͕ٴͿ৔߹΋
 ˠ4XJGU͸ɺԿ΋͠ͳ͚Ε͹ৗʹ͜ͷঢ়ଶͩͬͨ