Slide 1

Slide 1 text

LFONB[ !NFSQBZ 9DPEF1SFWJFXTͰ6*,JUϕʔε ͷΞϓϦ։ൃΛޮ཰Խ͢Δ J04%$+"1"/ JPTED

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

9DPEF1SFWJFXTͱ͸

Slide 4

Slide 4 text

9DPEF1SFWJFXT

Slide 5

Slide 5 text

9DPEF1SFWJFXT 4XJGU6*ͷ 7JFXίʔυ

Slide 6

Slide 6 text

9DPEF1SFWJFXT 4XJGU6*ͷ 7JFXίʔυ 1SFWJFXίʔυ

Slide 7

Slide 7 text

9DPEF1SFWJFXT $BOWBT 4XJGU6*ͷ 7JFXίʔυ 1SFWJFXίʔυ

Slide 8

Slide 8 text

4XJGU6*ʹΑΔ։ൃϑϩʔ

Slide 9

Slide 9 text

4XJGU6*ʹΑΔ։ൃϑϩʔ

Slide 10

Slide 10 text

4XJGU6*ʹΑΔ։ൃϑϩʔ

Slide 11

Slide 11 text

4XJGU6*ʹΑΔ։ൃϑϩʔ

Slide 12

Slide 12 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 13

Slide 13 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ TUPSZCPBSEYJC Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 14

Slide 14 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 15

Slide 15 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ 4JNVMBUPSىಈ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 16

Slide 16 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ 4JNVMBUPSىಈ ίʔυमਖ਼ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 17

Slide 17 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ 4JNVMBUPSىಈ ίʔυमਖ਼ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 18

Slide 18 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ 4JNVMBUPSىಈ ίʔυमਖ਼ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 19

Slide 19 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ 4JNVMBUPSىಈ ίʔυमਖ਼ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1

Slide 20

Slide 20 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ 4JNVMBUPSىಈ ίʔυमਖ਼ TUPSZCPBSEYJC 6*7JFX 6*7JFX$POUSPMMFS Start Developing iOS Apps (Swift) https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1 ɾɾ

Slide 21

Slide 21 text

6*,JUWT4XJGU6*։ൃϑϩʔͷൺֱ w 4XJGU6*͸ɺ9DPEF1SFWJFXTΛ࢖͏͜ͱͰޮ཰Α͘Ϗϡʔͷ։ൃ͕ߦ͑Δ w ͔͠͠ݱঢ়ଟ͘ͷΞϓϦ͕·ͩ6*,JUϕʔε w 4XJGU6*΁ͷҠߦΛߦ͏ʹ͸J04ະຬͷαϙʔτΛ੾Δඞཁ͕͋Δ w 6*,JUϕʔεͷΞϓϦ։ൃΛ4XJGU6*ͷΑ͏ʹޮ཰ԽͰ͖ͳ͍͔ɾɾɾ

Slide 22

Slide 22 text

6*,JUWT4XJGU6*։ൃϑϩʔͷൺֱ w 4XJGU6*͸ɺ9DPEF1SFWJFXTΛ࢖͏͜ͱͰޮ཰Α͘Ϗϡʔͷ։ൃ͕ߦ͑Δ w ͔͠͠ݱঢ়ଟ͘ͷΞϓϦ͕·ͩ6*,JUϕʔε w 4XJGU6*΁ͷҠߦΛߦ͏ʹ͸J04ະຬͷαϙʔτΛ੾Δඞཁ͕͋Δ w 6*,JUϕʔεͷΞϓϦ։ൃΛ4XJGU6*ͷΑ͏ʹޮ཰ԽͰ͖ͳ͍͔ɾɾɾ ˠ6*,JUϕʔεͷΞϓϦ։ൃϑϩʔʹ9DPEF1SFWJFXTΛ ૊ΈࠐΉ

Slide 23

Slide 23 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ9DPEF1SFWJFXT TUPSZCPBSEYJC 6*7JFX6*7JFX$POUSPMMFS

Slide 24

Slide 24 text

6*,JUϕʔεͷΞϓϦ։ൃϑϩʔ9DPEF1SFWJFXT TUPSZCPBSEYJC 6*7JFX6*7JFX$POUSPMMFS 1SFWJFX

Slide 25

Slide 25 text

1SFWJFXίʔυͷॻ͖ํ

Slide 26

Slide 26 text

6*7JFX3FQSFTFOUBCMF 6*7JFX$POUSPMMFS3FQSFTFOUBCMF public protocol UIViewControllerRepresentable : View associatedtype UIViewControllerType : UIViewController func makeUIViewController(context: Self.Context) -> Self.UIViewControllerType public protocol UIViewRepresentable : View { associatedtype UIViewType : UIView func makeUIView(context: Self.Context) -> Self.UIViewType w 6*7JFX6*7JFX$POUSPMMFSΛ4XJGU6*ͷ7JFXͱͯ͠ѻ͑Δ

Slide 27

Slide 27 text

1SFWJFX1SPWJEFS public protocol PreviewProvider { associatedtype Previews : View static var previews: Self.Previews { get } w 9DPEFʹϓϨϏϡʔΛදࣔͤ͞ΔͨΊͷಛघͳϓϩτίϧ w 9DPEFͰ1SFWJFX1SPWJEFSͷίʔυΛ։͘ͱɺ9DPEF͕ͦΕΛݕ஌ɺ QSFWJFXTͰࢦఆͨ͠7JFXΛ$BOWBTͰϓϨϏϡʔදࣔ

Slide 28

Slide 28 text

class HelloView: UIView { private lazy var button: UIButton = ... ྫɿ7JFXͷ࣮૷

Slide 29

Slide 29 text

class HelloView: UIView { private lazy var button: UIButton = ... ྫɿ7JFXͷ࣮૷ struct Input { let backgroundColor: UIColor let buttonTitle: String let isButtonEnabled: Bool } func apply(input: Input) { backgroundColor = input.backgroundColor button.setTitle(input.buttonTitle) button.isEnabled = input.isButtonEnabled } }

Slide 30

Slide 30 text

class HelloView: UIView { private lazy var button: UIButton = ... ྫɿ7JFXͷ࣮૷ struct Input { let backgroundColor: UIColor let buttonTitle: String let isButtonEnabled: Bool } func apply(input: Input) { backgroundColor = input.backgroundColor button.setTitle(input.buttonTitle) button.isEnabled = input.isButtonEnabled } } IUUQTEFWFMPQFSBQQMFDPNWJEFPTQMBZXXED 4USVDUVSFZPVSBQQGPS4XJGU6*QSFWJFXT 1SFWJFXBCMFͳ7JFX 1SFWJFX 7JFX 7JFX.PEFM "QQ 7JFXͷঢ়ଶΛ஫ೖ 1SFWJFX࣌ ΞϓϦέʔγϣϯ࣮ߦ࣌

Slide 31

Slide 31 text

final class HelloViewRepresentable: UIViewRepresentable { let input: HelloView.Input init(input: HelloView.Input) { self.input = input } func makeUIView(context: Context) -> HelloView { let view = HelloView() view.apply(input: input) return view } ... } ྫɿ6*7JFX3FQSFTFOUBCMFͷ࣮૷

Slide 32

Slide 32 text

ྫɿ1SFWJFX1SPWJEFSͷ࣮૷ struct HelloView_Preview: PreviewProvider { static var previews: some View { Group { HelloViewRepresentable(input: .init( backgroundColor: .white, buttonTitle: "Click Me", isButtonEnabled: true)) HelloViewRepresentable(input: .init( backgroundColor: .yellow, buttonTitle: "Warning", isButtonEnabled: true)) HelloViewRepresentable(input: .init( backgroundColor: .lightGray, buttonTitle: "Disabled", isButtonEnabled: false)) } } }

Slide 33

Slide 33 text

&EJUPS$BOWBT ΋͘͠͸ $NE0QUJPO&OUFS 1SFWJFX$BOWBTͷදࣔ

Slide 34

Slide 34 text

&EJUPS$BOWBT ΋͘͠͸ $NE0QUJPO&OUFS 1SFWJFX$BOWBTͷදࣔ

Slide 35

Slide 35 text

ϝϧϖΠͰͷ׆༻ྫ

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

ͦͷଞͷ׆༻ํ๏ w ϓϨϏϡʔͷը૾ΛΩϟϓνϟͯ͠ϓϧϦΫΤετͷઆ໌จʹషΔ w ը໘ͷ࢓༷Λ೺Ѳ͢ΔͨΊʹ1SFWJFXΛ࢖͏ w 1SFWJFXʹ࢖ͬͨ7JFXΛ4OBQTIPU5FTUʹྲྀ༻͢Δʢܭըதʣ

Slide 51

Slide 51 text

ͦͷଞͷ׆༻ํ๏ w ϓϨϏϡʔͷը૾ΛΩϟϓνϟͯ͠ϓϧϦΫΤετͷઆ໌จʹషΔ w ը໘ͷ࢓༷Λ೺Ѳ͢ΔͨΊʹ1SFWJFXΛ࢖͏ w 1SFWJFXʹ࢖ͬͨ7JFXΛ4OBQTIPU5FTUʹྲྀ༻͢Δʢܭըதʣ

Slide 52

Slide 52 text

طଘͷϓϩδΣΫτʹ1SFWJFXΛ௥Ճ͢Δ

Slide 53

Slide 53 text

؀ڥ w 9DPEFҎ߱ w NBD04$BUBMJOBҎ߱

Slide 54

Slide 54 text

1SFWJFXίʔυͷ഑ஔઌλʔήοτ λʔήοτͷछผ 1SFWJFXͷදࣔ 1SFWJFXͷσόοά "QQMJDBUJPO ✅ ✅ 'SBNFXPSL ✅ ❌ 4UBUJD-JCSBSZ ❌ ❌ 1SFWJFX༻ͷ"QQMJDBUJPO5BSHFUΛ࡞੒ͯ͠1SFWJFXίʔυΛ௥Ճ

Slide 55

Slide 55 text

J04ະຬͷαϙʔτ w 1SFWJFXΛ࢖༻͢Δʹ͸4XJGU6*ͷΠϯϙʔτ͕ඞཁ w J04ະຬͷ؀ڥͰ͸4XJGU6*͕Πϯϙʔτ͞Εͳ͍Α͏ʹ͢Δඞཁ͕͋Δ w ରԠ ϚΫϩΛ࢖ͬͯ1SFWJFXίʔυΛϏϧυ͔Βআ֎͢Δ w ରԠ 1SFWJFXઐ༻ͷλʔήοτΛ௥Ճ͢Δ

Slide 56

Slide 56 text

+ #if DEBUG && canImport(SwiftUI) import SwiftUI class HelloViewRepresentable: UIViewRepresentable { ... } + @available(iOS 13, *) struct HelloView_Preview: PreviewProvider { ... } + #endif J043FMFBTF/PUFT4XJGU6*,OPXO*TTVF ˞ʣ9DPEFͷόά w 9DPEF࢖༻࣌ͷΈ 0UIFS-JOLFS'MBHʹXFBL@GSBNFXPSL4XJGU6*Λ௥Ճ J04ະຬͷ؀ڥͰ͸ w 4XJGU6*ϞδϡʔϧͷΠϯϙʔτ w 1SFWJFXίʔυͷϩʔυ ͕εΩοϓ͞ΕΔ J04ະຬͷαϙʔτ ରԠ ϚΫϩΛ࢖ͬͯ1SFWJFXίʔυΛϏϧυ͔Βআ֎͢Δ

Slide 57

Slide 57 text

J04ະຬͷαϙʔτ ରԠ 1SFWJFXઐ༻ͷλʔήοτΛ௥Ճ͢Δ

Slide 58

Slide 58 text

J04ະຬͷαϙʔτ ରԠ 1SFWJFXઐ༻ͷλʔήοτΛ௥Ճ͢Δ 1SFWJFX༻ͷλʔήοτΛผ్࡞੒ %FQMPZNFOU5BSHFUJ04Y

Slide 59

Slide 59 text

J04ະຬͷαϙʔτ ରԠ 1SFWJFXઐ༻ͷλʔήοτΛ௥Ճ͢Δ 1SFWJFX༻ͷλʔήοτΛผ్࡞੒ %FQMPZNFOU5BSHFUJ04Y 1SFWJFX༻ͷλʔήοτʹ1SFWJFXίʔυΛ௥Ճ

Slide 60

Slide 60 text

J04ະຬͷαϙʔτ ରԠ 1SFWJFXઐ༻ͷλʔήοτΛ௥Ճ͢Δ 1SFWJFX༻ͷλʔήοτΛผ్࡞੒ %FQMPZNFOU5BSHFUJ04Y 7JFXίʔυ΋1SFWJFXλʔήοτʹ௥Ճ 1SFWJFX༻ͷλʔήοτʹ1SFWJFXίʔυΛ௥Ճ

Slide 61

Slide 61 text

J04ະຬͷαϙʔτ ରԠ 1SFWJFXઐ༻ͷλʔήοτΛ௥Ճ͢Δ 1SFWJFX༻ͷλʔήοτΛผ్࡞੒ %FQMPZNFOU5BSHFUJ04Y 7JFXίʔυ΋1SFWJFXλʔήοτʹ௥Ճ 1SFWJFX༻ͷλʔήοτʹ1SFWJFXίʔυΛ௥Ճ ˠ9DPEF(FOΛ࢖ͬͯ9DPEFϓϩδΣΫτΛࣗಈੜ੒͢Δͷ͕͓͢͢Ί 9DPEF(FOIUUQTHJUIVCDPNZPOBTLPMC9DPEF(FO

Slide 62

Slide 62 text

iOSDC2019 / ϞόΠϧܾࡁΞϓϦͷ࡞Γํ / How to develop a mobile payment app IUUQTTQFBLFSEFDLDPNLFONB[IPXUPEFWFMPQBNPCJMFQBZNFOUBQQ w ϝϧΧϦΞϓϦ͸ػೳ͝ͱʹ'SBNFXPSLʹ ෼ׂ͞Ε͍ͯΔ w ֤'SBNFXPSLϓϩδΣΫτ͝ͱͷ 4BOECPYΞϓϦΛ࢖ͬͯ௨ৗ͸։ൃ ϝϧϖΠͰͷߏ੒ ˠ1SFWJFXίʔυ͸4BOECPYΞϓϦͷ λʔήοτʹ௥Ճ

Slide 63

Slide 63 text

9DPEF1SFWJFXTͷ࢓૊Έ

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

No content

Slide 69

Slide 69 text

)FMMP7JFX1SFWJFXQSFWJFXUIVOLTXJGU

Slide 70

Slide 70 text

%ZOBNJD.FUIPE3FQMBDFNFOU w EZOBNJDΩʔϫʔυΛ෇͚ͨϝϯόʔͷ࣮૷Λɺ@EZOBNJD3FQMBDFNFOUଐੑΛ෇͚ ͨϝϯόʔͷ࣮૷ʹࠩ͠ସ͑Δػೳ 4XJGUd IUUQTHJUIVCDPNBQQMFTXJGUQVMM

Slide 71

Slide 71 text

%ZOBNJD.FUIPE3FQMBDFNFOU w EZOBNJDΩʔϫʔυΛ෇͚ͨϝϯόʔͷ࣮૷Λɺ@EZOBNJD3FQMBDFNFOUଐੑΛ෇͚ ͨϝϯόʔͷ࣮૷ʹࠩ͠ସ͑Δػೳ 4XJGUd public class Thing { public dynamic var someNumber: Int { return 10 } } IUUQTHJUIVCDPNBQQMFTXJGUQVMM

Slide 72

Slide 72 text

%ZOBNJD.FUIPE3FQMBDFNFOU w EZOBNJDΩʔϫʔυΛ෇͚ͨϝϯόʔͷ࣮૷Λɺ@EZOBNJD3FQMBDFNFOUଐੑΛ෇͚ ͨϝϯόʔͷ࣮૷ʹࠩ͠ସ͑Δػೳ 4XJGUd public class Thing { public dynamic var someNumber: Int { return 10 } } IUUQTHJUIVCDPNBQQMFTXJGUQVMM extension Thing { @_dynamicReplacement(for: someNumber) var newNumber: Int { return 43 } }

Slide 73

Slide 73 text

%ZOBNJD.FUIPE3FQMBDFNFOU w EZOBNJDΩʔϫʔυΛ෇͚ͨϝϯόʔͷ࣮૷Λɺ@EZOBNJD3FQMBDFNFOUଐੑΛ෇͚ ͨϝϯόʔͷ࣮૷ʹࠩ͠ସ͑Δػೳ 4XJGUd public class Thing { public dynamic var someNumber: Int { return 10 } } IUUQTHJUIVCDPNBQQMFTXJGUQVMM extension Thing { @_dynamicReplacement(for: someNumber) var newNumber: Int { return 43 } } print(Thing().someNumber) //43

Slide 74

Slide 74 text

// HelloViewPreview.swift struct HelloView_Preview: PreviewProvider { static var previews: some View { Group { HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: "Click Me", isButtonEnabled: true ) ) } } } // HelloViewPreview.3.preview-thunk.swift extension HelloView_Preview { @_dynamicReplacement(for: previews) private static var __preview__previews: some View { #sourceLocation(file: "/Users/kenmaz/Projects/iOSDC2020App/iOSDC2020App/HelloViewPreview.swift", line: 26) AnyView(__designTimeSelection(Group { __designTimeSelection(HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: __designTimeString( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value", fallback: "Click Me"), isButtonEnabled: __designTimeBoolean( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[2].value", fallback: true) ) ), "#3084.[2].[0].property.[0].[0].arg[0].value.[0]") }, "#3084.[2].[0].property.[0].[0]")) #sourceLocation() }

Slide 75

Slide 75 text

// HelloViewPreview.swift struct HelloView_Preview: PreviewProvider { static var previews: some View { Group { HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: "Click Me", isButtonEnabled: true ) ) } } } // HelloViewPreview.3.preview-thunk.swift extension HelloView_Preview { @_dynamicReplacement(for: previews) private static var __preview__previews: some View { #sourceLocation(file: "/Users/kenmaz/Projects/iOSDC2020App/iOSDC2020App/HelloViewPreview.swift", line: 26) AnyView(__designTimeSelection(Group { __designTimeSelection(HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: __designTimeString( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value", fallback: "Click Me"), isButtonEnabled: __designTimeBoolean( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[2].value", fallback: true) ) ), "#3084.[2].[0].property.[0].[0].arg[0].value.[0]") }, "#3084.[2].[0].property.[0].[0]")) #sourceLocation() } ˞EZOBNJDΩʔϫʔυ͸Ϗϧυ࣌ʹ௥Ճ͞ΕΔʢΆ͍ʣ

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

ϑϧϏϧυ

Slide 78

Slide 78 text

දࣔ

Slide 79

Slide 79 text

ίʔυมߋ

Slide 80

Slide 80 text

ίʔυੜ੒

Slide 81

Slide 81 text

Ϗϧυ

Slide 82

Slide 82 text

EMPQFO

Slide 83

Slide 83 text

ߋ৽

Slide 84

Slide 84 text

1JO1SFWJFX w 1JO1SFWJFXϘλϯΛԡ͢ͱɺ$BOWBTΛ։͍ͨ··ଞͷTXJGUϑΝΠϧ ΛฤूͰ͖Δ

Slide 85

Slide 85 text

1JO1SFWJFX w 1JO1SFWJFXϘλϯΛԡ͢ͱɺ$BOWBTΛ։͍ͨ··ଞͷTXJGUϑΝΠϧ ΛฤूͰ͖Δ

Slide 86

Slide 86 text

1JO1SFWJFX w 1JO1SFWJFXϘλϯΛԡ͢ͱɺ$BOWBTΛ։͍ͨ··ଞͷTXJGUϑΝΠϧ ΛฤूͰ͖Δ w 1JO1SFWJFXΦϯʹ͢Δͱɺ 1SFWJFXίʔυҎ֎ͷTXJGUίʔ υʹରͯ͠΋QSFWJFXUIVOL͕ ੜ੒͞ΕΔ w 1SFWJFXίʔυҎ֎ͷมߋʹର ͯ͠΋ଈ࣌൓ө͕ޮ͘

Slide 87

Slide 87 text

// HelloViewPreview.swift struct HelloView_Preview: PreviewProvider { static var previews: some View { Group { HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: "Click Me", isButtonEnabled: true ) ) } } } // HelloViewPreview.3.preview-thunk.swift extension HelloView_Preview { @_dynamicReplacement(for: previews) private static var __preview__previews: some View { #sourceLocation(file: "/Users/kenmaz/Projects/iOSDC2020App/iOSDC2020App/HelloViewPreview.swift", line: 26) AnyView(__designTimeSelection(Group { __designTimeSelection(HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: __designTimeString( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value", fallback: "Click Me"), isButtonEnabled: __designTimeBoolean( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[2].value", fallback: true) ) ), "#3084.[2].[0].property.[0].[0].arg[0].value.[0]") }, "#3084.[2].[0].property.[0].[0]")) #sourceLocation() }

Slide 88

Slide 88 text

// HelloViewPreview.swift struct HelloView_Preview: PreviewProvider { static var previews: some View { Group { HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: "Click Me", isButtonEnabled: true ) ) } } } // HelloViewPreview.3.preview-thunk.swift extension HelloView_Preview { @_dynamicReplacement(for: previews) private static var __preview__previews: some View { #sourceLocation(file: "/Users/kenmaz/Projects/iOSDC2020App/iOSDC2020App/HelloViewPreview.swift", line: 26) AnyView(__designTimeSelection(Group { __designTimeSelection(HelloViewRepresentable( input: .init( backgroundColor: .white, buttonTitle: __designTimeString( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value", fallback: "Click Me"), isButtonEnabled: __designTimeBoolean( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[2].value", fallback: true) ) ), "#3084.[2].[0].property.[0].[0].arg[0].value.[0]") }, "#3084.[2].[0].property.[0].[0]")) #sourceLocation() }

Slide 89

Slide 89 text

@EFTJHO5JNF4USJOH@EFTJHO5JNF#PPMFBO buttonTitle: __designTimeString( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value", fallback: "Click Me" )

Slide 90

Slide 90 text

@EFTJHO5JNF4USJOH@EFTJHO5JNF#PPMFBO buttonTitle: __designTimeString( "#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value", fallback: "Click Me" )

Slide 91

Slide 91 text

w 9DPEF1SFWJFXTΛ࢖ͬͯ6*,JUϕʔεͷΞϓϦ։ൃΛޮ཰ԽͰ͖Δ w มߋ㲗֬ೝͷαΠΫϧͷߴ଎Խ w ͍ΖΜͳঢ়ଶͷϏϡʔΛҰ౓ʹදࣔɾ֬ೝͰ͖Δ w 1SFWJFXΛ࣮ߦՄೳͳը໘࢓༷ॻͱͯ͠ڞ༗Ͱ͖Δ w 9DPEF1SFWJFXTΛಋೖͯ͠طଘΞϓϦΛ4XJGU6*ͷ։ൃελΠϧʹدͤΔ w 4XJGU6*΁ͷҠߦ͕ΑΓεϜʔζʹ ·ͱΊ

Slide 92

Slide 92 text

ࢀߟจݙ w "QQMF%FWFMPQFS4UBSU%FWFMPQJOHJ04"QQT 4XJGU w 88%$4USVDUVSFZPVSBQQGPS4XJGU6*QSFWJFXT w 88%$.BTUFSJOH9DPEF1SFWJFXT w J043FMFBTF/PUFT4XJGU6*,OPXO*TTVF w (VBSETRVBSF%FWCMPH#FIJOE4XJGU6*1SFWJFXT w LBUFJOPJHBLVLVO*OTJEF4XJGU6* )PX)PUSFMPBEJOHJNQMFNFOUFE w BQQMFTXJGU%ZOBNJDGVODUJPOSFQMBDFNFOU w J04%$ϞόΠϧܾࡁΞϓϦͷ࡞Γํ)PXUPEFWFMPQBNPCJMFQBZNFOUBQQ w NFSDBSJFOHJOFFSJOH9DPEF1SFWJFXTΛ༻͍ͨ6*,JUϕʔεͷϓϩδΣΫτͷ։ൃޮ཰Խ

Slide 93

Slide 93 text

No content