質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -133,3 +133,25 @@
|
|
133
133
|
・Xcode9.4.1
|
134
134
|
|
135
135
|
・Swift4.1
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
###追記
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
```swift
|
144
|
+
|
145
|
+
let viewController = storyboard.instantiateViewController(withIdentifier: "Sample") as! SampleBaseView
|
146
|
+
|
147
|
+
let detail = viewController.childViewControllers[0] as! Tab1
|
148
|
+
|
149
|
+
detail.testText = "sampleString"
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
上記のようにやってみましたが下記のエラーになりました。
|
156
|
+
|
157
|
+
`libc++abi.dylib: terminating with uncaught exception of type NSException」`
|