码迷,mamicode.com
首页 > 编程语言 > 详细

operator is not a known binary operator swift 语法错误笔记

时间:2014-12-23 13:57:58      阅读:432      评论:0      收藏:0      [点我收藏+]

标签:swift语法错误笔记

operator is not a known binary operator swift 语法错误笔记

error: operator is not a known binary operator

for x in 1..10

 版本更新,开区间  改为 “..<”



var arr = String[]()

array types are now written with the brackets around the element type 


版本更新,改为var arr:[String] = [String]()


operator is not a known binary operator swift 语法错误笔记

标签:swift语法错误笔记

原文地址:http://blog.csdn.net/nothingl3/article/details/42101621

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!