xcww1234
2015-11-18 13:18swift改动所造成的错误
- if let operand = operandEvaluation.result { return (operation(operand), operandEvaluation.result) }
出错原因:initializer for conditional binding must have optional type ,not "Double"
-
return (nil, ops)
出错原因:nil is incompatible with reture type "Double"
return evaluate()
出错原因:unexpected non-void return value in void function
在Xcode6编译可以成功,但是Xcode7.1出错了,请问应该怎么改动才能正确
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- Swift:未收到FCM通知
- firebase
- swift
- php
- 1个回答
- Swift 2 php mysql注册问题
- xcode
- mysql
- swift
- php
- 2个回答
- PHP没有从Swift接收POST数据
- swift
- php
- 1个回答
- swift语言,怎么把int类型的数组转为data类型
- 网络
- 通信
- swift
- 1个回答
- swift数据类型转换的问题
- swift
- class
- 2个回答
换一换