During my adventure in Cocoa programming I started reading some sample code from the internet, MacTech magazine, etc. Now in most or not all of the sample code, I see variables with names like "_centerPoint" or "_foo". What does the underscore mean in these variable names?
Comments
Analogously (and, given the standard, a bit unfortunately), it's a common naming convention for things that the writer intends to be internal and/or private, i.e., not used outside the file or class that it's found in.