- Runners_Hi νμΌ
- Surpporting File
- Source
- Cell
- View)
- Extensions
- Model
- Service
- ViewController
- Resource
- Assets
- StoryBoards
- ν°νΈ
: κΈ°λ³Έ νμΌ μ€ νλ‘μ νΈμ λμμ΄ λλ νμΌλ€μ΄ λ€μ΄μλ€.
: CollectionView, TableView λ±μμ κ° Cellμ μ μ©ν Cell νμΌλ€μ΄ λ€μ΄μλ€.
: 뷰컨μ μ μΈν 컨νΈλ‘€λ¬κ° λ€μ΄μλ€. νμ¬λ UINavigationControllerμ UITabBarControllerκ° λ€μ΄μλ€.
class MainNC: UINavigationController {
}
: μμ£Ό μ°λ ν°νΈ, colorλ€μ νμ₯μΌλ‘ μ μΈν΄μ λ¨μ μ μΈμ ν΅ν΄ μ¬μ©νκΈ° νΈνκ² λ§λ€μ΄μ£Όλ νμΌλ€μ΄ λ€μ΄μλ€.
extension UIColor {
@nonobjc class var salmon: UIColor {
return UIColor(red: 1.0, green: 113.0 / 255.0, blue: 112.0 / 255.0, alpha: 1.0)
}
}
: ꡬ쑰체(Struct) νμΌλ€μ΄ λ€μ΄μλ€. μ΄ νμΌλ€μ μ£Όλ‘ μλ²μμ κ°μ λ°μμ¬ λ μ¬μ©λλ€.
struct SignupData: Codable {
var status: Int
var success: Bool
var message: String
}
: Service ν΄λλ μ£Όλ‘ μλ²μ μ°λνκΈ° μν΄ μ¬μ©λλ νμΌλ€μ΄ λ€μ΄μλ€.
: ViewController μ μ© ν΄λμ΄λ€. 뷰컨μ νμΌ μ΄λ¦μ μ€μλ§λ‘ -VC μΌλ‘ νννλ€.
class RankVC: UIViewController {
//μ½λ
}
: μμ μΉ΄νλ‘κ·Έ (μ ν리μΌμ΄μ μ μ¬μ©λ λ€μν μμ μ κ΄λ¦¬νλ©΄μ, μμ κ³Ό λ€μν λλ°μ΄μ€μ μμ±μ λν νμΌμ 맡νμ ν΅ν΄ μ΄ν리μΌμ΄μ 리μμ€μ μ κ·Όν μ μλλ‘ λμμ£Όλ μν μ νλ€.)
: StoryBoardμ λͺ¨μ. μ΄λ² νλ‘μ νΈμμλ μ€ν 리보λλ₯Ό TabBar λ³+λ‘κ·ΈμΈ/νμκ°μ + νλ° + λ°μΉμ€ν¬λ¦° + μ¨λ³΄λ© μΌλ‘ ꡬλΆνλ€.
-> ex) LaunchScreen.storyboard, OnBoarding.storyboard, Sign.storyboard, RunningTab.storyboard, RankingTab.storyboard, MyPageTab.storyboard, RecordTab.storyboard, Tab.storyboard
: μ΄λ² νλ‘μ νΈμμ μ¬μ©νλ NanumSquare.ttf ν°νΈλ€μ λ£μ΄λ¨λ€.