Is it only me who has a mind-blow every time dealing with the isHidden property of the UIView?

My intuition always was, that a ‘true’ value of Boolean type means something that exists, in contrast with a ‘false’ value that is about a non-existence.

With this in mind, it’s so puzzling and mind-consuming for me to deal with the isHidden property of the UIView.

Suppose, I want some UIView to be visible on my screen. My mind tends to set a ‘true’ (i.e. existence) value to some property of the UIView. But instead, I have to set a ‘false’ (non-existence)…

Alex Shirokov

iOS Developer, Advanced Swift Programmer http://ashirokov.ru

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store