AnalysisTool (a Clang GUI front end) states some fo my ivars are improperly named:
Specifically:
the name of instance variable
‘groupName’ doesn’t start with the ‘m’
prefix
What does the ‘m’ prefix stand for in Cocoa?
Should I be using it? Or is this a false positive.
It’s quite common for developers to give the instance variables of their objects names beginning with
m_(short for “member”), and the rule you’re seeing shows that your code doesn’t conform to that convention. If you don’t want to follow this convention in your code, just turn that rule off in the analyser.