Skip to content

Conversation

@zzangzzangguy
Copy link
Contributor

@zzangzzangguy zzangzzangguy commented Apr 18, 2025

📌 이슈

✅ 작업 사항

맵뷰컨트롤러의 핸들러 제스처들을 익스텐션 파일로 분리 프로토콜 생성
분리과정에서 파생된 마커 제스처 버그 수정

@zzangzzangguy zzangzzangguy added the 🔄 refactor 프로덕션 코드 리팩토링, 파일 삭제, 네이밍 수정 및 폴더링 label Apr 18, 2025
@0Hooni 0Hooni changed the title Refactor/#109 맵뷰컨트롤러 분리 [REFACTOR] 맵뷰컨트롤러 분리 Apr 18, 2025
Copy link
Member

@0Hooni 0Hooni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

질문 좀 남겨놨습니다!

확인 후 Approve 남기도록 하겠습니다 ☺️

fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
Poppool/Poppool/Infrastructure/*.mobileprovision
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

프로비저닝은 한번 설치되면 Xcode에 남으니 파일이랑 ignore도 지우셔도 될거같아요!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제거되었습니다~

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트 했던거 그대로 남아있어요!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DTO 제거 #117 에서 수정되었습니다

Comment on lines +6 to +16
var mainView: MapView { get }
var currentMarker: NMFMarker? { get set }
var currentStores: [MapPopUpStore] { get set }
var currentCarouselStores: [MapPopUpStore] { get set }
var isMovingToMarker: Bool { get set }
var currentTooltipView: UIView? { get set }
var currentTooltipStores: [MapPopUpStore] { get set }
var currentTooltipCoordinate: NMGLatLng? { get set }
var individualMarkerDictionary: [Int64: NMFMarker] { get set }
var clusterMarkerDictionary: [String: NMFMarker] { get set }
var clusteringManager: ClusteringManager { get }
Copy link
Member

@0Hooni 0Hooni Apr 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

인덴트가 망가져있군요 🤣

Copy link
Member

@0Hooni 0Hooni Apr 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 안쓰시는 파일이기도 하고 파일명도 좀 이상한것 같아요...!! ☺️

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 채택이 안되고 있는것 같고, 다형성의 의미가 적어보이는 프로토콜 생성이라 생각하는데 혹시 이유가 있을까요?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 친구도 MapInteractionHandling과 같은 리뷰입니다

import ReactorKit
import UIKit

extension MapViewController {
Copy link
Member

@0Hooni 0Hooni Apr 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 프로토콜 채택을 다른곳에서 하셨나요? 🤔

import NMapsMap
import UIKit

protocol MarkerStyling {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

프로토콜이니까 MarkerStyling보단 MarkerStylable같은 형용 형태가 좋다 생각합니다...!!

Copy link
Member

@0Hooni 0Hooni Apr 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

구조체 두개는 단순 프로토콜 채택 말고는 해당 파일에 둘 이유가 없어보여요!! 혹시 이유가 있을까요??

저라면 두 개의 구조체는 파일을 분리해서 둘 것 같아요!

@zzangzzangguy
Copy link
Contributor Author

맵뷰컨트롤러 책임분리하면서 리액터의 정리 이전 단순 제스처 들 먼저 직관적으로 알기쉽게 정리해두자 라는 생각에
프로토콜과 익스텐션으로 나눠뒀지만 인터랙션 핸들러와 UI핸들러의 구분이 모호해져서 혼선을 빚어드린것 같네요
해당 브랜치는 폐기후에 Reactor를 활용하는 방안으로 진행하겠습니다

@0Hooni 0Hooni deleted the refactor/#109-MapViewController-Split branch October 19, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔄 refactor 프로덕션 코드 리팩토링, 파일 삭제, 네이밍 수정 및 폴더링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

쓰이지 않는 주석 및 로거 제거 MapViewController 분리 및 FullScreen 모드 처리 개선

3 participants