我正在做一个笔记写应用程序。在这个应用程序中,我把线条变成了贝塞尔曲线。目前,当我试图将新的值放入一个在while循环之外定义的矩阵时,我得到了一个错误。//: Playground - noun: a place where people can play
var y2 = 5.0var y1 = 1.0
var p1y = 3.0
但是,当我试图从数组中只获取一个值(并将其转换为双精度值)时,我得到了错误消息"Thread 1: Fatal error: Index out of range“,我不明白为什么会发生这种情况,因为整个数组的长度超过了components(separatedBy: "\n")[0] }}
var url1:var html2: Array<String> { load
我每次在行中获得:返回questionsquestionCount.question.count错误线程1:致命错误:超出范围的索引请帮帮我"This is the length of Questions \(length)") if questionCount == questions.count - 1true, completion: