Does Xcode 4.5.2 automatically prefix synthesized BOOL getters with is

2 Solutions Collect From Internet About “Does Xcode 4.5.2 automatically prefix synthesized BOOL getters with is”

Apparently if you provide your own implementation of the BOOL getter, the compiler is smart enough to figure out that isActive is the getter for the active property.

Nonetheless if you synthesize the getter you still have to provide getter=isActive in order to use that signature for the getter instead of active.

Yes, you don’t need to write getter = isUserAuthorized in property when you explicitly mention the getter of BOOL property and you also don’t need to synthesize properties as xcode automatically do it for you.