Giter Club home page Giter Club logo

ios-open-market's Introduction

header

Chamin Lee

🛠 Tech Stacks


🌱 Currently, I'm immersing myself in iOS development studies.

👨🏻‍💻 I'm documenting what I've learned on my blog.

🚀 I enjoy growth and always enthusiastically welcome new knowledge.


👨🏻‍💻 Work Experience

Duration Company, Team
2022.06 ~ Hyperconnect, Azar iOS Team
2022.03 ~ 2022.06 Hyperconnect, Azar iOS Team, Intern

🤓 Always diligently, meticulously, and with great effort!

Anurag's GitHub stats

ios-open-market's People

Contributors

chaminlee avatar yagom avatar yim2627 avatar

Watchers

 avatar

Forkers

yim2627

ios-open-market's Issues

Step2 Refactoring

  • URLQueryItem 추가 로직 수정
  • 상수 관리
  • 축약형 제거
  • 공백/줄바꿈
  • guard문 직관적으로 변경 (with if문)
  • 네이밍 변경

Step3-2

  • 상품 등록
    • 이미지 추가
      • 용량 제한 300kb
      • 등록시 1~5개 개수 제한
    • 상품명, 상품가격, 할인금액, 재고수량: TextField
      • 키보드 종류
        • 상품명: 한글 키보드
        • 상품가격, 할인 금액, 재고수량: 숫자 키보드
      • textField 키보드 등장에 따른 뷰 높이 설정
    • 설명: TextView
      • textView 키보드 등장에 따른 뷰 높이 설정
      • 한글 키보드
      • 1000자 넘지 못하게 설정

Step4 Refactor

  • 폴더 구조 변경
  • 접근 제어자 변경
  • 물리적인 코드 구조 잡기
  • 전체적인 코드 점검
  • 중복되는 코드 상속으로 대체하기

Step 3 Refactor

  • 상품 등록 후, 메인 화면 업데이트 로직 수정
  • Image -> ProductImage
  • 파일 분리 (프로토콜)
  • 축약형 -> 풀어서 써주기
  • return에서 생성하지 않고 변수에 담아서 리턴
  • 오류 메시지 열거형으로 모으기
  • guard vs if
  • 이중 부정문 수정
  • 삼항 연산자 수정
  • for vs forEach

Step1 refactoring

  • dataTask completion handler 중복 제거
  • API 네이밍 변경
  • else 문 제거
  • error description 변경
  • 가독성 떨어지는 부분 수정

Step 4 Logic

  • 상품 수정
    • modifyVC로 이동
    • 기존 뷰컨 연결
  • 상품 삭제 (-> 바로 서버 요청 -> 삭제 되었습니다 -> dismiss & 메인 업데이트)

Step 4 UI

  • 이미지 슬라이더 (페이징)
    • 페이지 컨트롤?? 숫자??
  • 네비게이션 버튼 -> 액션 시트

Step 3-3

  • 상품 등록
    • 완료 버튼 클릭 시 상품 등록 API 호출
    • 완료 이후 모달 내려가면 collectionView DataSource 업데이트 해주기
    • (보너스) 변경 사항 폐기/ 계속 편집하기 액션 시트
  • 상품 수정
    • 상품 등록하기와 같은 뷰지만 사진 수정/삭제 불가

Step2 UI

  • segmented Control
  • List 형태의 UICollectionView
    • ListCell 정보
  • Grid 형태의 UICollectionView
    • collectionViewCell 정보
  • 상품 등록 버튼 (화면이동)
  • Activity indicator

Step 3 UI

  • fullscreen Modal 띄우기
    • cancel, done 버튼 기본 구현
    • UI 요소 배치 및 레이아웃 적용

Step Bonus (추가구현)

  • Refresh control 추가
  • 모달 내릴 때, 취소할 때 변경사항 폐기할지 확인하기
  • 새 게시물 확인하고 버튼 띄워주기
  • 페이지네이션
  • 상품 등록 화면: 버튼 ~ 이미지 마진 개선

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.