an error message showed that :
"String does not have member named isEqualToString"
checked internet and found below.
I just change the "isEqualToString" to "is Equal", no showing error anymore but not sure it is correct or not.
http://stackoverflow.com/questions/24096708/isequaltostring-in-swift
"String does not have member named isEqualToString"
checked internet and found below.
I just change the "isEqualToString" to "is Equal", no showing error anymore but not sure it is correct or not.
http://stackoverflow.com/questions/24096708/isequaltostring-in-swift
78
|
With Swift you don't need anymore to check the equality with
isEqualToString
You can now use
==
Example:
|
No comments:
Post a Comment