Introduction to iOS App Design Patterns
-
Naming when writing code
-
Apple’s guidelines
- Be clear about the purpose
- Clarity is more important than brevity
-
If prioritizing clarity over brevity results in being too verbose,
- It is a sign that the method itself is too complex
-
Don’t try to cover up logical flaws by using arbitrary names, face naming directly to bring them to the surface
-
Just fixing superficial naming only hides the problems.