Skip to content

Latest commit

Β 

History

History
74 lines (68 loc) Β· 2.65 KB

Foldering.md

File metadata and controls

74 lines (68 loc) Β· 2.65 KB

파일 폴더링

λͺ©μ°¨

  • Runners_Hi 파일
    • Surpporting File
    • Source
      • Cell
      • View)
      • Extensions
      • Model
      • Service
      • ViewController
    • Resource
      • Assets
      • StoryBoards
      • 폰트

🍎 Surpporting File

: κΈ°λ³Έ 파일 쀑 ν”„λ‘œμ νŠΈμ— 도움이 λ˜λŠ” νŒŒμΌλ“€μ΄ λ“€μ–΄μžˆλ‹€.

-> AppDelegate.swift, SceneDelegate.swift, info.plist

🍎 Source

🍏 Cell

: CollectionView, TableView λ“±μ—μ„œ 각 Cell에 μ μš©ν•  Cell νŒŒμΌλ“€μ΄ λ“€μ–΄μžˆλ‹€.

-> ex) PopUpCell.swift, GenderSelectCell.swift

🍏 Controller

: 뷰컨을 μ œμ™Έν•œ μ»¨νŠΈλ‘€λŸ¬κ°€ λ“€μ–΄μžˆλ‹€. ν˜„μž¬λŠ” UINavigationController와 UITabBarControllerκ°€ λ“€μ–΄μžˆλ‹€.

-> ex)MainNC.swift, MainTBC.swift
class MainNC: UINavigationController {
}

🍏 Extensions

: 자주 μ“°λŠ” 폰트, color듀을 ν™•μž₯으둜 μ„ μ–Έν•΄μ„œ λ‹¨μˆœ 선언을 톡해 μ‚¬μš©ν•˜κΈ° νŽΈν•˜κ²Œ λ§Œλ“€μ–΄μ£ΌλŠ” νŒŒμΌλ“€μ΄ λ“€μ–΄μžˆλ‹€.

-> ex) UIColor+Extension.swift
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)
  }
} 

🍏 Model

: ꡬ쑰체(Struct) νŒŒμΌλ“€μ΄ λ“€μ–΄μžˆλ‹€. 이 νŒŒμΌλ“€μ€ 주둜 μ„œλ²„μ—μ„œ 값을 λ°›μ•„μ˜¬ λ•Œ μ‚¬μš©λœλ‹€.

-> ex) SignupData.swift
struct SignupData: Codable {
    var status: Int
    var success: Bool
    var message: String
}

🍏 Service

: Service ν΄λ”λŠ” 주둜 μ„œλ²„μ™€ μ—°λ™ν•˜κΈ° μœ„ν•΄ μ‚¬μš©λ˜λŠ” νŒŒμΌλ“€μ΄ λ“€μ–΄μžˆλ‹€.

-> ex) APIConstants.swift, NetworkResult.swift, LoginService.swift

🍏 ViewController

: ViewController μ „μš© 폴더이닀. 뷰컨의 파일 이름은 μ€„μž„λ§λ‘œ -VC 으둜 ν‘œν˜„ν–ˆλ‹€.

-> ex) MainVC.swift, RankVC.swift
class RankVC: UIViewController {
 //μ½”λ“œ
}

🍎 Resource

🍏 Assets

: 에셋 μΉ΄νƒˆλ‘œκ·Έ (μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ— μ‚¬μš©λ  λ‹€μ–‘ν•œ 에셋을 κ΄€λ¦¬ν•˜λ©΄μ„œ, 에셋과 λ‹€μ–‘ν•œ λ””λ°”μ΄μŠ€μ˜ 속성에 λŒ€ν•œ 파일의 맡핑을 톡해 μ–΄ν”Œλ¦¬μΌ€μ΄μ…˜ λ¦¬μ†ŒμŠ€μ— μ ‘κ·Όν•  수 μžˆλ„λ‘ λ„μ™€μ£ΌλŠ” 역할을 ν•œλ‹€.)

🍏 StoryBoards

: StoryBoard의 λͺ¨μž„. 이번 ν”„λ‘œμ νŠΈμ—μ„œλŠ” μŠ€ν† λ¦¬λ³΄λ“œλ₯Ό TabBar 별+둜그인/νšŒμ›κ°€μž… + νƒ­λ°” + 런치슀크린 + μ˜¨λ³΄λ”© 으둜 κ΅¬λΆ„ν–ˆλ‹€.

-> ex) LaunchScreen.storyboard, OnBoarding.storyboard, Sign.storyboard, RunningTab.storyboard, RankingTab.storyboard, MyPageTab.storyboard, RecordTab.storyboard, Tab.storyboard

🍏 폰트

: 이번 ν”„λ‘œμ νŠΈμ—μ„œ μ‚¬μš©ν•˜λŠ” NanumSquare.ttf ν°νŠΈλ“€μ„ 넣어놨닀.