Skip to content

Code Convention

kati edited this page Nov 23, 2020 · 4 revisions
  • 기본적으로 SwiftLint

    • 커스텀 클래스에서 += 함수를 구현할 때 lhs = lhs + rhs란 코드를 사용하게 되어서 shorthand_operator를 예외처리 하였습니다.
    static func += (lhs: inout LatLng, rhs: LatLng) {
    	lhs = lhs + rhs
    }
    
    static func + (lhs: LatLng, rhs: LatLng) -> LatLng {
        return LatLng(lat: lhs.lat + rhs.lat, lng: lhs.lng + rhs.lng)
    }
  • 코드가 길어지면 ,뒤에 개행을 한다.

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    guard let _ = (scene as? UIWindowScene) else { return }
}
func scene(_ scene: UIScene,
               willConnectTo session: UISceneSession,
               options connectionOptions: UIScene.ConnectionOptions) {
        guard let _ = (scene as? UIWindowScene) else { return }
    }
  • 추후 개발을 진행하면서 필요할 경우 추가 한다.

Map SDK를 활용한 POI Clustering Interaction Dev

기획서

🍎 iOS

😀 이것만은 지켜요🤝

Ground Rules
Code Convention
Branch Strategy
Commit Message

데일리 스크럼

Week 1
Week 2
Week 3
Week 4
Week 5

TroubleShooting

트러블슈팅

학습

Clone this wiki locally