Skip to content

Commit bcb7a45

Browse files
committed
Fix Demo project
1 parent bb1f422 commit bcb7a45

5 files changed

Lines changed: 66 additions & 810 deletions

File tree

Demo/Components/Components.swift

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ enum Components {
3434
]
3535
)
3636

37-
return WrapperCellNode {
38-
return InteractiveNode(animation: .translucent) {
39-
return AnyDisplayNode { _, _ in
37+
return WrapperCellNode(
38+
content: InteractiveNode(
39+
animation: .translucent,
40+
contentNode: AnyDisplayNode { _, _ in
4041

4142
LayoutSpec {
4243
VStackLayout(spacing: 8) {
@@ -53,19 +54,20 @@ enum Components {
5354
.background(shape)
5455
.padding(4)
5556
}
57+
5658
}
5759
.onDidLoad { _ in
5860
shape.shapeFillColor = .init(white: 0.95, alpha: 1)
5961
}
60-
}
62+
)
6163
.onTap {
6264
onTap()
6365
}
64-
}
66+
)
6567
}
6668

6769
static func makeWrapper(_ node: ASDisplayNode) -> ASCellNode {
68-
WrapperCellNode { node }
70+
WrapperCellNode.init(content: node)
6971
}
7072
}
7173

@@ -94,7 +96,7 @@ extension GlossButtonNode {
9496
),
9597
bodyOpacity: 1,
9698
insets: .init(top: 10, left: 16, bottom: 10, right: 16),
97-
indicatorViewStyle: .gray
99+
activityIndicatorStyle: .init()
98100
),
99101
for: .normal
100102
)

Podfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment the next line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
platform :ios, '13.0'
33
use_frameworks!
44

55
def texture
@@ -19,7 +19,6 @@ target "TextureSwiftSupport" do
1919
end
2020

2121
target "Demo-TextureSwiftSuppoprt" do
22-
platform :ios, '12.1'
2322
texture
2423
pod "TypedTextAttributes"
2524
pod "GlossButtonNode"

Podfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ PODS:
33
- Descriptors/Core (= 0.2.1)
44
- Descriptors/Core (0.2.1)
55
- EasyPeasy (1.10.0)
6-
- GlossButtonNode (3.1.2):
6+
- GlossButtonNode (3.3.0):
77
- Texture/Core (~> 3)
88
- TextureSwiftSupport (>= 3.10.0)
9-
- Reveal-SDK (36)
9+
- Reveal-SDK (38)
1010
- StorybookKit (1.7.0)
1111
- StorybookKitTextureSupport (1.7.0):
1212
- StorybookKit (>= 1.7.0)
@@ -35,8 +35,8 @@ PODS:
3535
- TextureSwiftSupport/LayoutSpecBuilders (3.17.0):
3636
- Texture/Core (>= 3)
3737
- TypedTextAttributes (1.4.0)
38-
- Verge/ObjcBridge (8.12.2)
39-
- Verge/Store (8.12.2):
38+
- Verge/ObjcBridge (8.19.0)
39+
- Verge/Store (8.19.0):
4040
- Verge/ObjcBridge
4141

4242
DEPENDENCIES:
@@ -73,17 +73,17 @@ EXTERNAL SOURCES:
7373
SPEC CHECKSUMS:
7474
Descriptors: 44f9f316368c2815048b1062e0be49be59c1c696
7575
EasyPeasy: b9b1bae024d21a7dfa9bad26d6826d88348cc6f1
76-
GlossButtonNode: 4ea1197a744f2fb5fb875fe31caf17ded4762e8f
77-
Reveal-SDK: 2dd3ad8b66d4e05af485206f8904b2e5c8ffe060
76+
GlossButtonNode: f6d7d517406a012175d604eaa258f4ed2e5b58d8
77+
Reveal-SDK: 685ccb1f3cdb0b1d2926ec0b29f0eeb43d2240a3
7878
StorybookKit: 6821c796c7abd909ea370dbf86eb7bd5087a9e04
7979
StorybookKitTextureSupport: 2fe047a155f87dedff413247ce1d53e26e726a1e
8080
StorybookUI: aa60ba1ea5a169f39134822cddd2248f3840b79e
8181
Texture: 2e8ab2519452515f7f5a520f5a8f7e0a413abfa3
8282
TextureBridging: ddc11a6abed757a57996ab7e0d2b37c78de7e6e0
83-
TextureSwiftSupport: 22741c367e22744e8e9a90347bde6550a0229888
83+
TextureSwiftSupport: e753dad577fbf49b6a68822acb49be7f5fc83aa6
8484
TypedTextAttributes: 8b363a82553099d885c9f06648ae9aed09bec263
85-
Verge: 052910fb8112128687695f238aaba5770a0a8b04
85+
Verge: 5199d7de11162b5568697dabdfab4f83d99d6436
8686

87-
PODFILE CHECKSUM: f32724dbcdec9a94a87e3b7e002c31ac64403c5b
87+
PODFILE CHECKSUM: 4e988e9c85417e182d501d68fba7509ae874fb53
8888

8989
COCOAPODS: 1.11.3

0 commit comments

Comments
 (0)