Coder Social home page Coder Social logo

peekabook-ios's Introduction

PEEK-A-BOOK (피카북)

너와 내가 공유하는 책장

31st IN SOPT APP JAM

프로젝트 기간 : 2022.12.31 ~ 2023.01.14


아요소개



iOS Developers

윤수빈 김인영 고두영
image image image
devxsby 6uohul duyeong-ko


Development Environment and Using Library

  • Development Environment



  • Library
라이브러리 사용 목적 Version Management Tool
Moya 서버 통신 15.0.0 SPM
SnapKit UI Layout 5.6.0 SPM
Then UI 선언 3.0.0 SPM
Kingfisher 이미지 캐싱 7.4.1 SPM
BarcodeScanner 바코드 스캔 5.0.1 SPM

  • framework
프레임워크 사용 목적
UIKit UI 구현


Coding Convention

📓 Git Branch Convention

  • Branch Naming Rule
    • Issue 작성 후 생성되는 번호와 Issue의 간략한 설명 등을 조합하여 Branch 이름 결정
    • <Prefix>/<#IssueNumber>-<Description>
  • Commit Message Rule
    • [Prefix] : <Description>
  • Code Review Rule
    • 코드 리뷰는 최대한 빨리 한다.
    • 코드 리뷰는 최대한 정성껏 한다.

📓 Git Flow

1. 작업 단위별 Issue 생성 : 담당자, 라벨, 프로젝트 연결 

2. Fork 받은 로컬 레포에서 develop 브랜치 최신화 : git pull (origin develop) 

3. Branch 생성 : git switch -c Prefix/#IssueNumber-description 
  > 예시) feat/#10-메인뷰레이아웃구

4. 로컬 환경에서 작업 후 Add -> Commit -> Push -> Pull Request의 과정을 거친다.
  
  Prefix의 의미
  > [Feat] : 새로운 기능 구현
  > [Chore] : 그 이외의 잡일/ 버전 코드 수정, 패키지 구조 변경, 파일 이동, 파일이름 변경
  > [Add] : 코드 변경 없는 단순 파일 추가, 에셋 및 라이브러리 추가
  > [Fix] : 버그, 오류 해결, 코드 수정
  > [Style] : 코드 포맷팅, 코드 변경이 없는 경우, 주석 수정
  > [Docs] : README나 WIKI 등의 문서 개정
  > [Refactor] : 전면 수정이 있을 때 사용합니다
  > [Test] : 테스트 모드, 리펙토링 테스트 코드 추가

5. Pull Request 작성 
  - closed : #IssueNumber로 이슈 연결, 리뷰어 지정

6. Code Review 완료 후 Pull Request 작성자가 develop Branch로 merge하기
  - Develop Branch protection rules : Merge 전 최소 1 Approve 필요

7. 종료된 Issue와 Pull Request의 Label과 Project를 관리

📓 Naming & Code Convention

  • 함수, 메서드 : lowerCamelCase 사용하고, 동사로 시작한다.
  • 변수, 상수 : lowerCamelCase 사용한다.
  • 클래스, 구조체, enum, extension 등 : UpperCamelCase 사용한다.
  • 기본 MVC 폴더링 구조에 따라 파일을 구분하여 사용한다.
  • 파일, 메서드, 클래스 명 약어 사용 지양한다.
  • 상속받지 않는 클래스는 final 키워드를 붙인다.
  • 단일 정의 내에서만 사용되는 특정 기능 구현은 private 접근 제한자를 적극 사용한다.
  • 퀵헬프기능을 활용한 마크업 문법을 활용한 주석을 적극 사용한다.
  • 이외 기본 명명규칙은 Swift Style Guide, API Design Guidelines, Swift Style Guide를 참고하고, 커스텀한 SwiftLint Rule을 적용한다.

📓 Project Foldering

스크린샷 2023-01-09 08 07 45


TEAM PEEK-A-BOOK

peekabook-ios's People

Contributors

devxsby avatar 6uohul avatar duyeong-ko avatar imgbotapp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.