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

再利用可能なUI Componentsを利用したアプリ開発

Yu Tawata
August 30, 2018

再利用可能なUI Componentsを利用したアプリ開発

Yu Tawata

August 30, 2018
Tweet

More Decks by Yu Tawata

Other Decks in Technology

Transcript

  1. ελΠϧ࣮૷ • ཁ݅ • Size͸ݻఆ • Weight͸มߋ͞ΕΔ͜ͱ͕͋Δ • ํ਑ •

    EnumͰఆٛ͢Δͷ͕ྑͦ͞͏ • StoryboardͰελΠϧࢦఆ͢Δͷ͸߇͑Δ • IBInspectable͸ enum ͸αϙʔτର৅֎ • ྫ֎஋ΛϏϧυͰݕ஌Ͱ͖ͳ͍
  2. ελΠϧ࣮૷ • ཁ݅ • Size͸ݻఆ • Weight͸มߋ͞ΕΔ͜ͱ͕͋Δ • ํ਑ •

    EnumͰఆٛ͢Δͷ͕ྑͦ͞͏ • StoryboardͰελΠϧࢦఆ͢Δͷ͸߇͑Δ • IBInspectable͸ enum ͸αϙʔτର৅֎ • ྫ֎஋ΛϏϧυͰݕ஌Ͱ͖ͳ͍
  3. ίϯϙʔωϯτ࣮૷ʢϘλϯͷ৔߹ʣ • Ϙλϯ͸2छྨʢlineɺfillʣ • ܾ·͍ͬͯΔ͜ͱ • αΠζ • ؙ֯ͷ஋΋ܾ·Δ •

    Ϙʔμʔͷଠ͞ • จࣈͷελΠϧ • Disableঢ়ଶͷελΠϧ • จࣈ৭ͱϘʔμʔͷ৭͸ಉ͡
  4. ·ͱΊ • σβΠφʔͷ࡞ۀϓϩηεΛΈΔ͜ͱͰΤϯδχΞͷ࡞ۀվળʹͭͳ͕ͬͨ • σβΠϯγεςϜ্ͷγϯϘϧΛ࣮૷ͨ͠ • ελΠϧఆٛ • UIίϯϙʔωϯτఆٛ •

    ֤ίϯϙʔωϯτͷཁ݅Λ֬ೝͭͭ͠ਐΊͨ • StoryboardͰͷελΠϧࢦఆΛ΍Ίͨ • ελΠϧͷ౷ҰੑΛ޲্ͤ͞ΔͨΊ • StoryboardͰ࣮ࡍͷը໘ͷงғؾΛ͔ͭΈʹ͘͘ͳͬͨ • PlaygroundͰίϯϙʔωϯτͷελΠϧɺڍಈͷೝࣝ߹Θͤ