I'm leaving here this ugly article as a reminder, that I need to maintain this place.
Swift is a very interesting and promising new language. Tons of great built-in fascinating features are going to rock (when they start working=) ). But today I’d like to take a break and describe one little subclass of errors which can confuse everybody from beginners to Objective-C professionals. So, what could be wrong with this code?
boolValue = false
if (boolValue)
{
NSLog("bool value is true! yeah!")
}