【发布时间】:2015-03-05 10:51:33
【问题描述】:
发生这种情况时,我正在编写井字游戏应用程序?有人可以帮忙吗?
@IBAction func UIButtonClicked(sender: UIButton) {
userMessage.hidden = true
if (!plays[sender.tag] && !aiDeciding && !done != nil) {
setImageForSpot(sender.tag, player:1)
}
【问题讨论】:
-
您是否尝试通过简化表达式来隔离您的问题?什么部分导致了问题?
-
就是这样,我对各种程序都很陌生,我在看教程时制作了这个应用程序,他没有遇到问题,但我做到了,我做的和他完全一样
标签: ios iphone xcode macos swift