Skip to content

NOW-SOPT-APP1-YeogiEottae/YeogiEottae-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŠπŸ»β€β™‚οΈ μ—¬κΈ°μ–΄λ•Œ iOS

πŸ™†πŸ»β€β™€οΈπŸ™…πŸ»β€β™‚οΈ ν”„λ‘œμ νŠΈ μ„€λͺ…

🌟 34rd SOPT ν•©λ™μ„Έλ―Έλ‚˜ μ•± 1νŒ€, μ—¬κΈ°μ–΄λ•Œ

🍎 μ—­ν•  λΆ„λ‹΄ 및 μ£Όμš” κΈ°λŠ₯

κΉ€μ„ μš° κΉ€λ―Όμ„± 정지원
CompareRoom FavoritesView, SearchList HotelDetail, RoomDetail
λΉ„κ΅ν•˜κΈ° μ°œν•˜κΈ°, 검색 ν˜Έν…”, λ°© 상세

πŸ“ŒCoding Convention

1️⃣ Class 이름

UpperCamelCaseλ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.

  • ViewController, TableViewCell, CollectionViewCell 쀄이지 μ•Šκ³  μ‚¬μš©
  • νƒ€μž… 이름(클래슀, ν”„λ‘œν† μ½œ, ꡬ쑰체, enum)만 Upper CamelCase β†’ κ·Έ μ™Έμ—λŠ” λͺ¨λ‘ Lower CamelCase

2️⃣ Protocol μ‚¬μš© μ‹œ

extension으둜 λͺ¨λ‘ λΉΌκΈ° : ν•˜λ‚˜μ˜ extension에 ν”„λ‘œν† μ½œ ν•˜λ‚˜μ”©

  • ν”„λ‘œν† μ½œμ—μ„œ μ •μ˜ν•˜λŠ” λ©”μ„œλ“œλŠ” ν™•μž₯(Extension)을 톡해 κ΅¬ν˜„

3οΈβƒ£Β λ³€μˆ˜ 및 μƒμˆ˜ 이름

  • μ•Œμ•„λ³Ό 수 μžˆλŠ” 넀이밍을 μ‚¬μš©ν•΄μ£Όμ„Έμš”!

  • lowerCamelCaseλ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.

  • 약어인 경우 CamelCase라고 ν•˜λ”λΌλ„ λͺ¨λ‘ λŒ€λ¬Έμžλ‘œ 씀

    λŒ€λ¬Έμžλ‘œλ§Œ μ“°λŠ” μš©μ–΄ λͺ¨μŒ

    - URL
    - ID
    - API
    - ν•„μš”μ‹œ 여기에 μΆ”κ°€
  • myContentCollectionViewCell (O)

    myContentCVCell (x)

4οΈβƒ£Β μ€„λ°”κΏˆ

  • μ€„λ°”κΏˆ (Ctrl+M) β†’ ν•¨μˆ˜ λ§€κ°œλ³€μˆ˜ λ„ˆλ¬΄ λ§Žμ„ λ•Œ(3개 이상)λŠ” 각 λ§€κ°œλ³€μˆ˜λ‹Ή μ€„λ°”κΏˆ
  • ν•¨μˆ˜μ™€ ν•¨μˆ˜ 사이에 ν•œ 쀄 곡백
  • νƒ€μž…μ„ μ •μ˜ν•  λ•Œλ‚˜, ν™•μž₯(Extension) μ‹œμ—λŠ” μŠ€μ½”ν”„ 맨 μœ„, μ•„λž˜ ν•œ 쀄씩 λ„μš°κΈ°
  • μƒμœ„ 클래슀의 λ©”μ„œλ“œλ₯Ό μž¬μ •μ˜(override)ν•˜λŠ” κ²½μš°μ—λŠ”, super λ©”μ„œλ“œλ₯Ό ν˜ΈμΆœν•˜κ³ , ν•œ 쀄을 띄어 μ“΄λ‹€.

5️⃣ 주석

  • 주석은 μ΅œλŒ€ν•œ μ§€μ–‘ν•˜μž (PR둜 μ„€λͺ… 남기기)
  • 주석을 quick help둜 달기(///)
  • command + option + /
  • μ½”λ“œλ§Œ 봀을 λ•Œ μ΄ν•΄ν•˜κΈ° νž˜λ“€ 것 같은 경우
  • ν•¨μˆ˜μ˜ μš©λ„λ₯Ό (가급적 ν•œ 쀄 μ΄λ‚΄λ‘œ) μ„€λͺ…ν•΄μ•Ό κ°€λŠ₯ν•  λ•Œ ν•œμ— μ‚¬μš©

πŸ“ŒCommit Convention

  • [Feat] : μƒˆλ‘œμš΄ κΈ°λŠ₯ κ΅¬ν˜„
  • [Fix] : 버그, 였λ₯˜ ν•΄κ²°
  • [Chore] : μ½”λ“œ μˆ˜μ •, λ‚΄λΆ€ 파일 μˆ˜μ •, μ• λ§€ν•œ κ²ƒλ“€μ΄λ‚˜ μž‘μΌμ€ 이걸둜!
  • [Add] : 라이브러리 μΆ”κ°€, 에셋 μΆ”κ°€
  • [Del] : μ“Έλͺ¨μ—†λŠ” μ½”λ“œ μ‚­μ œ
  • [Docs] : READMEλ‚˜ WIKI λ“±μ˜ λ¬Έμ„œ κ°œμ •
  • [Refactor] : μ „λ©΄ μˆ˜μ •μ΄ μžˆμ„ λ•Œ μ‚¬μš©ν•©λ‹ˆλ‹€
  • [Setting] : ν”„λ‘œμ νŠΈ 섀정관련이 μžˆμ„ λ•Œ μ‚¬μš©ν•©λ‹ˆλ‹€.
  • [Merge] - {#이슈번호} Pull Develop

Message

컀밋 λ©”μ‹œμ§€ : [μ’…λ₯˜/#이슈번호]μž‘μ—… 이름 - μ˜ˆμ‹œ [Feat/#1] 메인 UI κ΅¬ν˜„

Conflict ν•΄κ²° μ‹œ : [Conflict/ #이슈] Conflict ν•΄κ²°

PR을 develop에 merge μ‹œ : κΈ°λ³Έ 머지 λ©”μ‹œμ§€

λ‚΄ λΈŒλžœμΉ˜μ— develop merge μ‹œ (브랜치 μ΅œμ‹ ν™”) : [Merge/#이슈] Pull Develop - [Merge/#13] Pull Develop

πŸ“ŒIssue Convention

Branch

브랜치λͺ… μ‹œμž‘μ€ μ†Œλ¬Έμžλ‘œ ν•œλ‹€.

default branch : develop

μž‘μ—… branch : μ»€λ°‹νƒ€μž…/이슈번호 - μž‘μ—…λ·° - μ˜ˆμ‹œ feat/#12-MainView

Issue

이슈 이름 : [μ’…λ₯˜] μž‘μ—… λͺ… - μ˜ˆμ‹œ [Feat] Main View UI κ΅¬ν˜„

λ‹΄λ‹Ήμž, 라벨 μΆ”κ°€ κΌ­ ν•˜κΈ°

πŸ“‚ Foldering Convention

β”œβ”€β”€ Application
β”‚   β”œβ”€β”€ Appdelegate
β”‚   β”œβ”€β”€ SceneDelegate
β”œβ”€β”€ Global
β”‚   β”œβ”€β”€ Extension
β”‚   β”œβ”€β”€ Literals
β”‚   β”‚   β”œβ”€β”€ Literal
β”‚   β”‚   β”œβ”€β”€ String
β”‚   β”œβ”€β”€ Protocols
β”‚   β”œβ”€β”€ Resources
β”‚   β”‚   β”œβ”€β”€ Font
β”‚   β”‚   β”œβ”€β”€ Assets
β”‚   β”‚   β”œβ”€β”€ Info.plist
β”‚   β”œβ”€β”€ SupportingFiles
β”‚   β”‚   β”œβ”€β”€ Base
β”œβ”€β”€β”€β”œβ”€β”€β”€β”œβ”€β”€β”€β”€β”€ LaunchScreen
β”œβ”€β”€ Network
β”‚   β”œβ”€β”€ Base
β”‚   β”œβ”€β”€ DataModel
β”‚   β”œβ”€β”€ Service
β”œβ”€β”€ Presentation 
β”‚   β”œβ”€β”€ Common
β”‚   β”‚   β”œβ”€β”€ UIComponents 
β”‚   β”œβ”€β”€ SearchList
β”‚   β”‚   β”œβ”€β”€ ViewControllers
β”‚   β”‚   β”œβ”€β”€ Views
β”‚   β”‚   β”œβ”€β”€ Models
β”œβ”€β”€β”€β”œβ”€β”€β”€β”œβ”€β”€ Cells
β”‚   β”œβ”€β”€ HotelDetail
β”‚   β”‚   β”œβ”€β”€ ViewControllers
β”‚   β”‚   β”œβ”€β”€ Views
β”‚   β”‚   β”œβ”€β”€ Models
β”œβ”€β”€β”€β”œβ”€β”€β”€β”œβ”€β”€ Cells
β”‚   β”œβ”€β”€ RoomDetail
β”‚   β”‚   β”œβ”€β”€ ViewControllers
β”‚   β”‚   β”œβ”€β”€ Views
β”‚   β”‚   β”œβ”€β”€ Models
β”œβ”€β”€β”€β”œβ”€β”€β”€β”œβ”€β”€ Cells
β”‚   β”œβ”€β”€ Favorites
β”‚   β”‚   β”œβ”€β”€ ViewControllers
β”‚   β”‚   β”œβ”€β”€ Views
β”‚   β”‚   β”œβ”€β”€ Models
β”œβ”€β”€β”€β”œβ”€β”€β”€β”œβ”€β”€ Cells
β”‚   β”œβ”€β”€ CompareRoom
β”‚   β”‚   β”œβ”€β”€ ViewControllers
β”‚   β”‚   β”œβ”€β”€ Views
β”‚   β”‚   β”œβ”€β”€ Models
β”œβ”€β”€β”€β”œβ”€β”€β”€β”œβ”€β”€ Cells

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages