k prefix1 [iOS] Constants 정의 시, 'k' prefix 사용은 적절한가 Core Foundation, Audio Unit 등의 Core Framework 을 사용할 경우, 'k' 로 시작하는 Constants 를 보게 되는데 Core Foundation Design Concepts 문서를 보면 Naming Conventions 항목에 "(An exception to this convention are constants, which put "k" before the type prefix)" 와 같이 Constants 에 대한 설명이 있다. 그렇다면, 사용자 프로젝트에서도 Constants 정의 시에 'k' prefix 를 사용하여 이름을 정하면 되는 걸까? AudioUnitProperties.h [AudioUnit.framework] enum { kAudioUnitScope_.. 2012. 1. 10. 이전 1 다음