Slide 1

Slide 1 text

@monoqloʢ΋ͷ͘Ζʣ ͋ͳͨͷΞϓϦɺ ✨ϦϒϥϯσΟϯά✨Ͱ͖·͔͢ʁ iOSDC TOKYO 2020

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

2020೥9݄1೔

Slide 4

Slide 4 text

2020೥9݄1೔

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

ৼΓฦͬͯΈΔͱ…

Slide 8

Slide 8 text

2019೥11݄27೔ ໿10ϲ݄લ

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

2018೥12݄5೔ ͞Βʹ໿1೥લ

Slide 11

Slide 11 text

λΫϕϧϦϦʔε͔Β໿8ϲ݄ޙ

Slide 12

Slide 12 text

ຖ೥ϦχϡʔΞϧ ͯ͠Δ΍Μ͚

Slide 13

Slide 13 text

དྷ೥΋ϦχϡʔΞϧ ͋ΔͷͰ͸…

Slide 14

Slide 14 text

ϦϒϥϯσΟϯά ʹޮ͘ॲํᝦબ⚕

Slide 15

Slide 15 text

ॳ਍

Slide 16

Slide 16 text

ϦϒϥϯσΟϯάͰ৭Λ શ෦ม͑Δͷ͕ͭΒͯ͘… ৭Λ௚ࢦఆ͍ͯ͠Δ Storyboard΋150΄Ͳ… ॳ਍

Slide 17

Slide 17 text

⚕ʮαϙʔτOSόʔδϣϯ͸͍ͭ͘Ͱ͔͢ʯ ʮ࣮͸iOS 10Ҏ߱Ͱͯ͠…ʯ ⚕ʮॏ঱Ͱ͢ɻ͍·͙͢੾আ͠·͠ΐ͏ɻʯ ໰਍

Slide 18

Slide 18 text

StoryboardΛ࢖͏ͳΒαϙʔτ͢Δͷ͸iOS 11Ҏ߱ʹ Asset CatalogͰ৭؅ཧΛ ॲํᝦ

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Asset Catalog্ͷ৭Λมߋ͢Δͱ Ϗϧυ͞ΕͨΞϓϦ͸Storyboard্ͷ৭΋੾ΓସΘΔ

Slide 22

Slide 22 text

ͪͳΈʹ…

Slide 23

Slide 23 text

ͪͳΈʹ…

Slide 24

Slide 24 text

ͪͳΈʹ…

Slide 25

Slide 25 text

ͪͳΈʹ…

Slide 26

Slide 26 text

ͪͳΈʹ…

Slide 27

Slide 27 text

ͪͳΈʹ…

Slide 28

Slide 28 text

ؾʹͳΔਓ͸͋ͱͰ εϥΠυݟ͍ͯͩ͘͞

Slide 29

Slide 29 text

਍ྍ#2

Slide 30

Slide 30 text

ը૾ͷࠩ͠ସ͕͑ඞཁͳΜͰ͕͢ɺ Կ౓΋ࠩ͠ସ͕͑ൃੜ͍ͯͯ͠… ਍ྍ#2

Slide 31

Slide 31 text

⚕ʮͪͳΈʹը૾໊ͬͯͪΌΜͱ؅ཧͰ͖ͯ·͔͢ʁʯ ʮσβΠφʔ͕ͭͬͯ͘͘Εͨը૾ʹɺͪ͜ΒͰద౰ʹ ໊લ͚ͭͯొ࿥͢Δ͜ͱ΋͋Γ·͢Ͷʯ ⚕ʮΊͪΌͪ͘Όඇޮ཰ͳͷͰ΍Ί͍ͯͩ͘͞ʯ ໰਍

Slide 32

Slide 32 text

ॲํᝦ ໋໊نଇࡦఆ ex. ΞΠίϯͳΒ ic_xxx_yyy , ΠϥετͳΒ illust_xxx_yyy ͱ͔ Zeplin͔ΒͷҰׅΤΫεϙʔτͰߋ৽ టष͘৽چը૾໊ରԠද.csvͭͬͯ͘ɺεΫϦϓτॻ͍ͯஔ͖׵͑ͨΓ΋͚ͨ͠Ͳɺ͕࣌ؒͳ͍ͷͰͦͷ࿩͸লུ

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

ͨͩ͠…

Slide 37

Slide 37 text

ଥڠͱ޻෉͸ඞཁ

Slide 38

Slide 38 text

લఏ ը૾αΠζ͸ม͑ͳ͍ ϨΠΞ΢τʹӨڹ͕͋Δ΋ͷ͸ݸผʹࠩ͠ସ͑

Slide 39

Slide 39 text

1ͭͷ໊લʹରͯ͠1ͭͷը૾͔͠ొ࿥Ͱ͖ͳ͍

Slide 40

Slide 40 text

1ͭͷ໊લʹରͯ͠1ͭͷը૾͔͠ొ࿥Ͱ͖ͳ͍

Slide 41

Slide 41 text

1ͭͷ໊લʹରͯ͠1ͭͷը૾͔͠ొ࿥Ͱ͖ͳ͍ ࢖͑ͳ͍

Slide 42

Slide 42 text

• Appearance μʔΫϞʔυରԠͰ͖ͳ͍… • Slicing Contents.jsonͷimages͕·Δ͝ͱஔ͖׵ΘΔͷͰϦηο τ͞ΕΔ ಛʹͭΒ͍΋ͷ

Slide 43

Slide 43 text

"images" : [ { - "idiom" : "universal", - "filename" : "company_noimage_outlined.pdf" + "filename" : "company_noimage_outlined.pdf", + "idiom" : "universal" } "images" : [ { - "filename" : "radio_unselected.pdf", - "idiom" : "universal" + "idiom" : "universal", + "filename" : "radio_unselected.pdf" } ΤΫεϙʔτͰ༨ܭͳdiff͕ൃੜ

Slide 44

Slide 44 text

େ൒ͷը૾ࠩ͠ସ͕͑ඞཁʹͳͬͯ΋… ݕࡧͰ͖Δ͠ը૾Λݟ͚ͭΔͷ͕؆୯ ·Δ͝ͱஔ͖׵͑Δ͚ͩͰྑ͍ ը૾Λݟ͚ͭΔͷ΋؅ཧ΋େมʢiOSͱAndroidͰ΋ ἧ͍ͬͯͳ͍͠…ʣ ͻͱͭͻͱͭஔ͖׵͑Δͷ΋खؒ

Slide 45

Slide 45 text

਍ྍ#3

Slide 46

Slide 46 text

࣮૷࣌ʹ ϑΥϯταΠζΛ ؒҧ͕͑ͪͰ… ਍ྍ#3

Slide 47

Slide 47 text

⚕ʮσβΠϯࢦఆ΋ͬͱڽࢹ͍ͯͩ͘͠͞ʯ ʮͭΒ͍ɻԿݸ΋ݟͯΔͱήγϡλϧτ่յ͠·͢…ʯ ⚕ʮΘ͔Δʯ ʮ> Θɹ͔ɹΔ <ʯ ⚕ʮͰ͸֤αΠζʹ໊લΛ͚ͭͯΈͯ͸͍͔͕Ͱ͠ΐ͏ʯ ໰਍

Slide 48

Slide 48 text

ॲํᝦ ֤ϑΥϯταΠζ͝ͱʹɺ૬ରతʹαΠζײͷΘ͔Δ໋໊

Slide 49

Slide 49 text

title, subTitle, headline, body,… ͏ʔΜ… ࠔΓͦ͏ͳέʔε • ʮ͜͜͸… subTItle… ͳͷ͔ʁʯ • ʮ৽͍͠ཁૉΛͲΜͲΜ଍͍͖ͯͦ͠͏…ʯ

Slide 50

Slide 50 text

title, subTitle, headline, body,… ͏ʔΜ… ࠔΓͦ͏ͳέʔε • ʮ͜͜͸… subTItle… ͳͷ͔ʁʯ • ʮ৽͍͠ཁૉΛͲΜͲΜ଍͍͖ͯͦ͠͏…ʯ

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

ੜ͖෺໊Λ࠾༻ • ϝδϟʔͳੜ͖෺ͷେ͖͞͸ɺ૬ରతʹΠϝʔδ͠΍͍͢ < • ෯Λ͓͚࣋ͨͤͯ͹ɺதؒʹ૿΍ͨ͘͠ͳͬͯ΋ରԠͰ͖Δ • ֆจࣈͰදݱͰ͖Δੜ͖෺ͳΒࢹೝੑ΋ྑ͍ mouse rabbit dog monkey sheep bear elephant

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

public enum TextStyle { case mouse(FontWeight = .regular) // 12 case rabbit(FontWeight = .regular) // 13 case dog(FontWeight = .regular) // 14 case monkey(FontWeight = .regular) // 17 case sheep(FontWeight = .regular) // 19 case bear(FontWeight = .regular) // 23 case elephant(FontWeight = .regular) // 33 internal var font: UIFont { // ֤caseͷϑΥϯτΛฦ͢ return .systemFont(ofSize: size, weight: weight) } } ίʔυ্ͷϑΥϯτఆٛʢεϥΠυ༻ʹ؆ུԽͯ͠·͢ʣ public enum FontWeight { case regular case heavy fileprivate var value: UIFont.Weight { switch self { case .regular: return .regular case .heavy: return .heavy } } }

Slide 58

Slide 58 text

⚕ 3ͭ঺հͨ͠ΜͰ͕͢…

Slide 59

Slide 59 text

ۓٸ֎དྷ One more thing…

Slide 60

Slide 60 text

Ծը૾ͷ··ϦϦʔε ͦ͠͏ʹͳͬͯ͠·ͬͯ… ۓٸ ֎དྷ

Slide 61

Slide 61 text

⚕ʮීஈͷ༷ࢠΛڭ͑ͯ΋Β͑·͔͢ʯ ʮΞϓϦ಺ͷผͷը૾ΛͱΓ͋͑ͣηοτ͓͍ͯͨ͠ ΓɺσβΠϯ্ͷԾը૾͕͋Ε͹ͦΕΛೖΕͨΓ…ʯ ⚕ʮ๨Εͯ΋ແཧͳ͍Ͱ͢ͶɻίϯύΠϥͷྗΛआΓ· ͠ΐ͏ʯ ໰਍

Slide 62

Slide 62 text

ॲํᝦ σόοάϏϧυͰͷΈఆٛ͞ΕΔUIImageͷextension

Slide 63

Slide 63 text

#if DEBUG extension UIImage { @available(iOS, deprecated, message: "temporary() is temporary image. it needs to be fixed") func temporary() -> UIImage { return self } } #endif UIImage+Temporary

Slide 64

Slide 64 text

Debug Release

Slide 65

Slide 65 text

ࣗݾ঺հ

Slide 66

Slide 66 text

@monoqloʢ΋ͷ͘Ζʣ • Mobility Technologies Ͱಇ͍ͯΔਓ • 1ϲ݄લ͔ΒFF14ΛΏΔ;ΘϓϨΠத @ElementalDC/Atomos Ξόλʔ͕͔Θ͍ͯ͘ϩάΠϯ͢Δͨͼ ʹQoL্͕Δ☺

Slide 67

Slide 67 text

@monoqloʢ΋ͷ͘Ζʣ • Mobility Technologies Ͱಇ͍ͯΔਓ • 1ϲ݄લ͔ΒFF14ΛΏΔ;ΘϓϨΠத @ElementalDC/Atomos Ξόλʔ͕͔Θ͍ͯ͘ϩάΠϯ͢Δͨͼ ʹQoL্͕Δ☺

Slide 68

Slide 68 text

APPENDIX

Slide 69

Slide 69 text

iOS 10ҎԼΛ αϙʔτͯ͠ΔΞϓϦ ௐ΂ͯΈ·ͨ͠

Slide 70

Slide 70 text

32/100 ແྉAppϥϯΩϯάϕετ100 2020/09/19࣌఺

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

ը૾ҰׅΤΫεϙʔτ࣮ݱʹ޲͚ͨటष͍ࣄલ४උ JNBHF@OBNFTDTW JDPO@DBODFM@UBYJ JD@DBODFMUBYJ@NBJODPMPS JDPO@DBTI JD@DBTI@NBJODPMPS JDPO@DIFDL@TFMFDUFE JD@DIFDL@DJSDMF@pMM@NBJODPMPS JDPO@DIFDL JD@DIFDL@DJSDMF@PVUMJOFE@EJTBCMF DBSECSBOE@VOLOPXO@9- JD@DSFEJUDBSE@pMM@YM@HSBZ DPVQPO JMMVTU@DPVQPO@CBOOFS ৽چը૾໊ରԠද.csvΛ࡞੒ ஔ׵εΫϦϓτΛͭͬͯࠩ͘͠ସ͑

Slide 73

Slide 73 text

require "csv" if ARGV.count != 2 then puts "Ҿ਺ͷ਺͕ਖ਼͋͘͠Γ·ͤΜɻ" puts "ୈ1Ҿ਺ʹ ஔ׵͍ͨ͠ը૾໊ҰཡcsvϑΝΠϧ ͷpathΛɺୈ2Ҿ਺ʹ Storyboard/xib ؚ͕·ΕΔσΟϨΫτϦͷpathΛ༩͍͑ͯͩ͘͞ɻ" exit end image_names_path = ARGV[0] if File.extname(image_names_path) != ".csv" then puts "ୈ1Ҿ਺ʹࢦఆ͞ΕͨϑΝΠϧ͸csvϑΝΠϧͰ͸͋Γ·ͤΜɻਖ਼͍͠ϑΝΠϧΛࢦఆ͍ͯͩ͘͠͞ɻ" exit end root_path = ARGV[1] image_names = CSV.read(image_names_path) image_names.each { |names| old_name = names[0] new_name = names[1] next if new_name.nil? || old_name.nil? puts "#{old_name} => #{new_name}" [ ["

Slide 74

Slide 74 text

ϏοτϚοϓͱϕΫλʔ͸ScreenΛ෼͚Δ

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

PNGʹPDFʹ͍ͨ͠ը૾΋ؚ· Εͯ͠·͏ͷͰɺ ͍ࠞͬͯ͟ΔͱPNG͚ͩͷҰׅ ΤΫεϙʔτ͕Ͱ͖ͳ͍

Slide 77

Slide 77 text

࠷ޙʹେ੾ͳ͜ͱ

Slide 78

Slide 78 text

σβΠφʔͱڠྗ͠Α͏

Slide 79

Slide 79 text

• ܰඍͳ৭/ը૾मਖ਼ͳΒσβΠφʔࣗΒ֬ೝͰ͖Δମ੍Λͭ͘Δ • ৭ͬͯඍௐ੔͕ͪ͠ • ౎౓ΤϯδχΞ͕Ϗϧυͯ͠഑෍ͨ͠Γݟͤʹ͍͔ͳͯ͘ྑ ͍ͷͰߴޮ཰ • GitHubͷwikiʹඇΤϯδχΞ޲͚ϏϧυϚχϡΞϧ΋੔උ • λʔϛφϧॳ࢖༻Ͱ΋ɺgitͷ஌͕ࣝͳͯ͘΋ɺϏϧυͰ͖Δ ֬ೝαΠΫϧΛૣ͘ճ͢͜ͱ΋ॏཁ