enum flags (ASICachePolicy etc) should be prefixed #194

Open
sanmarcos opened this Issue May 27, 2011 · 0 comments

1 participant

@sanmarcos

The enums such as ASICachePolicy, it is always useful to always prefix your flags with the type,

so typedef enum ASICachePolicy { ASICachePolicyDefault, ASICachePolicyDoNotRead …}

this makes code completion much more useful, as I can just type ASICachePolicy and get all the possible flags without having to look at the docs. Notice that Apple does this in UIKit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment