Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/#212-#214: 동네 설정 VC 재설계 + ViewModel / 클린 아키텍처 적용 #216

Merged
merged 18 commits into from
Mar 27, 2023

Conversation

dev-muuu
Copy link
Collaborator

What is this PR? 🔍

동네 설정 VC 재설계 + ViewModel / 클린 아키텍처 적용

Key Changes 🔑

1. 카카오 로컬 API 리팩토링 #213

  • 기존 Alamofire을 통해서 구현했었는데, Moya 라이브러리로 변경
  • Moya 적용을 위해서 Router/Service 등 파일 설정
  • 클린 아키텍처를 프로젝트에 적용하기 위해서 Repository, Usecase 파일 추가 생성

2. MapViewController 클래스, Map 프로토콜 설계 #212

  • MapViewController은 동네설정과 약속 잡기에서 공통으로 사용되는 지도 VC 내부 메서드/프로퍼티들 설정해 상속받아 사용함.
  • Map 프로토콜은 인터페이스 역할로 MapViewController의 하위 클래스들이 각각 구현해야 하는 공통 메서드들을 추상화함

3. 동네설정 ViewModel 적용 및 클린 아키텍처 도입 #214

  • 1,2번과 연결되는 내용인데, ViewModel에서 API 호출하며 이때 클린 아키텍처 기반으로 설계 진행

Related Issues ⛱

#212, #213, #214

dev-muuu added 18 commits March 26, 2023 14:52
@dev-muuu dev-muuu merged commit 747db0c into dev Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant