0
가
CalViewController 작동하지 SEGUE 준비스위프트
var brain = CalculatorBrain() {
didSet {
draw.variables = ["M": 1]
let value = brain.evaluate(using: draw.variables)
print(value)
//at that time outlet didn't set it prints the value work just fine
}
}
@IBOutlet weak var graphView: GraphView! {
didSet {
draw.variables = ["M": 1]
let value = brain.evaluate(using: draw.variables)
print(value)
//when outlet got set it not working it print nothing
}
}
난 그냥 왜, 어떻게이 해결하는 방법을 알아낼 수 없습니다 어떤 아이디어 감사합니다
세부 사항으로 들어가시겠습니까? 정확히 작동하지 않는 것, 작동해야하는 것. 심지어 "부름"을 준비하고 있는가? – Lepidopteron
@ Lepidopteron은 이미 ~ (Scott의 답변) ~ 해결해 주셔서 감사합니다 – jin