Naming

    [iOS][Swift] 코딩 컨벤션

    [iOS][Swift] 코딩 컨벤션

    Class 는 Pascal Casing을 사용한다.class ApplicationManagerclass SoftwareSetting로컬 변수, 함수, 함수 파라미터는 camel Casing을 사용한다.func openFunction(someParameter: Int) { let someNumber: Int = 0}상수의 경우 대문자와 밑줄을 사용한다.let CONST_NUMBER = 100변수이름 앞에 접두사를 붙인다.//멤버 변수 (m)let mAge: Int = 24//Bool 타입 (b)let bClicked: Bool = falselet mbClicked: Bool = false//enum 타입 (e)enum eDirection { case North. South }리턴 값이 있는 메소드는 ..