폴더링

.
├── Application
│   ├── AppDelegate.swift
│   └── SceneDelegate.swift
├── Network
│   ├── API
│   ├── Base
│   │   ├── Encodable+.swift
│   │   ├── Enviroment.swift
│   │   ├── GeneralResponse.swift
│   │   ├── NetworkConstant.swift
│   │   ├── NetworkResult.swift
│   │   └── URLConstant.swift
│   ├── DataModel
│   │   └── ScreenModel
│   ├── Plugin
│   │   └── NetworkLoggerPlugin.swift
│   └── Service
├── Presentation
│   └── Scene
│       ├── Cells
│       └── ViewController
├── Resource
│   ├── Base.lproj
│   │   └── LaunchScreen.storyboard
│   ├── Color.xcassets
│   ├── Font
│   ├── Image.xcassets
│   │   ├── AccentColor.colorset
│   │   │   └── Contents.json
│   │   ├── AppIcon.appiconset
│   │   │   └── Contents.json
│   │   └── Contents.json
│   └── Info.plist
└── Utils
    ├── Constant
    └── Extension

Code Covention

Class & Struct

함수, 변수, 상수

📌 기타 네이밍

setUI() : 컴포넌트 속성 설정
initCell() : 셀 데이터 초기화
setData() : 배열 항목 세팅. 컬렉션뷰 에서 리스트 초기 세팅할때
setLayout() : 레이아웃 관련 코드
registerXib() : 셀 xib 등록.
setCollectionView() : 컬렉션뷰 관련 세팅
setTableView() : 테이블뷰 관련 세팅
setDelegate() : delegate, datasource 모음
setAddTarget() : addtarget 모음
setNotification() : NotificationCenter addObserver 모음

collectionView.isPaging 

헷갈린다? set을 쓰세요 ^^

뷰 전환

- pop, push, present, dismiss
- 동사 + To + 목적지 뷰 (다음에 보일 뷰)
- dismiss는 dismiss + 현재 뷰

register

- register + 목적어 ex) registerXib
ex) registerCell()

서버통신