首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
checkEmail
全部标签
xcode - 如何从 Swift 中的函数返回 boolean 值
我环顾四周,但很惊讶我找不到任何可以解释这一点的东西。如果我有:funccheckEmail(){vartest=truereturntest}...elsewhereinthecode....varemailStatus=checkEmail()如何让这个函数返回boolean值true? 最佳答案 funccheckEmail()->Bool{vartest=truereturntest}在代码的其他地方....varemailStatus=checkEmail() 关于xcode-
boolean
xcode
section
code
checkEmail
function
swift
xcode - 如何从 Swift 中的函数返回 boolean 值
我环顾四周,但很惊讶我找不到任何可以解释这一点的东西。如果我有:funccheckEmail(){vartest=truereturntest}...elsewhereinthecode....varemailStatus=checkEmail()如何让这个函数返回boolean值true? 最佳答案 funccheckEmail()->Bool{vartest=truereturntest}在代码的其他地方....varemailStatus=checkEmail() 关于xcode-
boolean
xcode
section
code
checkEmail
function
swift
Home
Powered By IT.CAOLU.XIN
页面耗时:0.0554s