Xcode Problems
In Xcode, nothing will print the logs and a variable will not be accepted, even though I had created it before then. Why is that, and how can I fix it? (I have 6.4.)
In Xcode, nothing will print the logs and a variable will not be accepted, even though I had created it before then. Why is that, and how can I fix it? (I have 6.4.)
you will have to provide more specifics
Mac Pro with OSX Yosemite 10.10.4.
The logs at the bottom won't work while using the "println" command. And, when I created a variable to equal a random number of 0 or 1, it said that the variable was not yet created.
Sorry if I was not specific enough.
what language are you programming in?
can you show the source code that does not work?
Has it ever worked? Did it work on a different platform?
The language is Swift.
The code is:
var randomNumber = arc4random_uniform(2)
println(randomNumber)
Neither of those codes have ever worked, except this time, it says it cannot accept the "randomNumber" variable.
Xcode Problems