Naming conventions for BOOL Obj-C 2 properties?

前端 未结 5 1407

I have a readonly BOOL property. What is dominant naming pattern here?

Background: for plain old method declarations, the accepted pattern

- (BOOL)is         


        
5条回答
  •  攒了一身酷
    2020-12-14 18:11

    The CalStore example seems to be violating the convention. I'd stick to where the property name, as opposed to the method name, doesn't have an "is" in it.

提交回复
热议问题