diff --git a/Koin/Core/Asset/ImageAsset.swift b/Koin/Core/Asset/ImageAsset.swift index 361aa924f..cfe4d52ec 100644 --- a/Koin/Core/Asset/ImageAsset.swift +++ b/Koin/Core/Asset/ImageAsset.swift @@ -188,22 +188,14 @@ public enum ImageAsset: String { case write // MARK: - Land - case option1 - case option2 - case option3 - case option4 - case option5 - case option6 - case option7 - case option8 - case option9 - case option10 - case option11 - case option12 - case option13 - case option14 - case option15 - case option16 + case landMarker + case landCluster2to3 + case landCluster4to6 + case landCluster7to9 + case landCluster10to12 + case landZoomIn + case landZoomOut + case landSearch // MARK: - Logo case bcsdSymbolLogo diff --git a/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetConfiguration.swift b/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetConfiguration.swift index 12476cdb2..b61ff2b78 100644 --- a/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetConfiguration.swift +++ b/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetConfiguration.swift @@ -19,6 +19,7 @@ struct KoinBottomSheetConfiguration { } struct Behavior { + var isDraggable = true var dismissOnDrag = true var expandToFullScreenOnDrag = false var expandToFullScreenOnKeyboard = false diff --git a/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetController+Pan.swift b/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetController+Pan.swift index 9d3b6cb2d..704ed4824 100644 --- a/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetController+Pan.swift +++ b/Koin/Core/View/UIKit/KoinBottomSheet/KoinBottomSheetController+Pan.swift @@ -37,6 +37,7 @@ extension KoinBottomSheetController: UIGestureRecognizerDelegate { } func configurePan() { + guard configuration.behavior.isDraggable else { return } guard isPersistent || configuration.behavior.dismissOnDrag || configuration.behavior.expandToFullScreenOnDrag else { return } diff --git a/Koin/Data/DTOs/Decodable/Land/LandDetailDto.swift b/Koin/Data/DTOs/Decodable/Land/LandDetailDto.swift index fa9a0771a..1457b2021 100644 --- a/Koin/Data/DTOs/Decodable/Land/LandDetailDto.swift +++ b/Koin/Data/DTOs/Decodable/Land/LandDetailDto.swift @@ -3,89 +3,54 @@ // koin // // Created by 김나훈 on 3/17/24. -// Nullable 2024.04.26 +// import Foundation struct LandDetailDto: Decodable { - let optElectronicDoorLocks, optTv: Bool - let monthlyFee: String? - let optElevator, optWaterPurifier, optWasher: Bool + let id: Int + let name: String let latitude: Double? - let charterFee: String? - let optVeranda: Bool - let createdAt: String - let description: String? + let longitude: Double? let imageUrls: [String]? - let optGasRange, optInduction: Bool - let internalName: String? - let isDeleted: Bool - let updatedAt: String - let optBidet, optShoeCloset, optRefrigerator: Bool - let id: Int - let floor: Int? + let monthlyFee: String? + let charterFee: String? + let deposit: String? let managementFee: String? - let optDesk, optCloset: Bool - let longitude: Double? - let address: String? - let optBed: Bool let size: String? + let roomType: String? let phone: String? - let optAirConditioner: Bool - let name: String? - let deposit: String? - let optMicrowave: Bool - let permalink, roomType: String? enum CodingKeys: String, CodingKey { - case optElectronicDoorLocks = "opt_electronic_door_locks" - case optTv = "opt_tv" + case id, name, latitude, longitude + case imageUrls = "image_urls" case monthlyFee = "monthly_fee" - case optElevator = "opt_elevator" - case optWaterPurifier = "opt_water_purifier" - case optWasher = "opt_washer" - case latitude case charterFee = "charter_fee" - case optVeranda = "opt_veranda" - case createdAt = "created_at" - case description - case imageUrls = "image_urls" - case optGasRange = "opt_gas_range" - case optInduction = "opt_induction" - case internalName = "internal_name" - case isDeleted = "is_deleted" - case updatedAt = "updated_at" - case optBidet = "opt_bidet" - case optShoeCloset = "opt_shoe_closet" - case optRefrigerator = "opt_refrigerator" - case id, floor + case deposit case managementFee = "management_fee" - case optDesk = "opt_desk" - case optCloset = "opt_closet" - case longitude, address - case optBed = "opt_bed" - case size, phone - case optAirConditioner = "opt_air_conditioner" - case name, deposit - case optMicrowave = "opt_microwave" - case permalink + case size case roomType = "room_type" + case phone } - func toDomain() -> LandDetailItem { - let charterFeeText: String - let depositText: String - let floorText: String - let sizeText: String - let isOptionExists: [Bool] = [optAirConditioner, optRefrigerator, optCloset, optTv, optMicrowave, optGasRange, optInduction, optWaterPurifier, optWasher, optBed, optDesk, optShoeCloset, optElectronicDoorLocks, optBidet, optVeranda, optElevator] - if let charterFee = charterFee { charterFeeText = "\(charterFee)만원" } - else { charterFeeText = "-" } - if let deposit = deposit { depositText = "\(deposit)만원" } - else { depositText = "-" } - if let floor = floor { floorText = "\(floor)층" } - else { floorText = "-" } - if let size = size { sizeText = "\(size)평" } - else { sizeText = "-" } - let roomOptionInfo: [String] = [monthlyFee ?? "", roomType ?? "-", charterFeeText, depositText, floorText, managementFee ?? "-", sizeText, phone ?? "-"] - return .init(roomOptionInfo: roomOptionInfo, landName: name ?? "-", imageUrls: imageUrls ?? [], address: address ?? "-", isOptionExists: isOptionExists, longitude: longitude ?? 0.0, latitude: latitude ?? 0.0) +} + +extension LandDetailDto { + func toDomain() -> LandDetail { + return LandDetail( + id: id, + name: name, + coordinate: LandCoordinate( + latitude: latitude, + longitude: longitude + ), + imageUrls: imageUrls ?? [], + monthlyFee: monthlyFee.flatMap { $0.isEmpty ? nil : $0 }, + charterFee: charterFee.flatMap { $0.isEmpty ? nil : $0 }, + deposit: deposit.flatMap { $0.isEmpty ? nil : $0 }, + managementFee: managementFee.flatMap { $0.isEmpty ? nil : $0 }, + size: size.flatMap { $0.isEmpty ? nil : $0 }, + roomType: roomType.flatMap { $0.isEmpty ? nil : $0 }, + phone: phone.flatMap { $0.isEmpty ? nil : $0 } + ) } } diff --git a/Koin/Data/DTOs/Decodable/Land/LandDto.swift b/Koin/Data/DTOs/Decodable/Land/LandDto.swift deleted file mode 100644 index c8c6c2b21..000000000 --- a/Koin/Data/DTOs/Decodable/Land/LandDto.swift +++ /dev/null @@ -1,52 +0,0 @@ -// -// LandDto.swift -// koin -// -// Created by 김나훈 on 3/16/24. -// Nullable 2024.04.26 - -import Foundation -struct LandDto: Decodable { - let lands: [Land]? -} - -struct Land: Decodable { - let internalName: String? - let monthlyFee: String? - let latitude: Double? - let charterFee: String? - let name: String? - let id: Int - let longitude: Double? - let roomType: String? - - enum CodingKeys: String, CodingKey { - case internalName = "internal_name" - case monthlyFee = "monthly_fee" - case latitude - case charterFee = "charter_fee" - case name, id, longitude - case roomType = "room_type" - } - - func toDomain() -> LandItem { - let monthlyFeeString = monthlyFee ?? "-" - let charterFeeString: String - if let fee = charterFee { - if fee.isEmpty { charterFeeString = "-" } - else { charterFeeString = "\(fee) 만원" } - } - else { charterFeeString = "-" } - - let nameString = name ?? "-" - - return .init( - monthlyFee: monthlyFeeString, - charterFee: charterFeeString, - latitude: latitude ?? 0.0, - longitude: longitude ?? 0.0, - landName: nameString, - id: id - ) - } -} diff --git a/Koin/Data/DTOs/Decodable/Land/LandListDto.swift b/Koin/Data/DTOs/Decodable/Land/LandListDto.swift new file mode 100644 index 000000000..4986d4d2e --- /dev/null +++ b/Koin/Data/DTOs/Decodable/Land/LandListDto.swift @@ -0,0 +1,19 @@ +// +// LandListDto.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import Foundation + +struct LandListDto: Decodable { + let lands: [LandRowDto] +} + +extension LandListDto { + func toDomain() -> LandList { + LandList(rows: lands.map { $0.toDomain() }) + } +} + diff --git a/Koin/Data/DTOs/Decodable/Land/LandRowDto.swift b/Koin/Data/DTOs/Decodable/Land/LandRowDto.swift new file mode 100644 index 000000000..978fcd780 --- /dev/null +++ b/Koin/Data/DTOs/Decodable/Land/LandRowDto.swift @@ -0,0 +1,46 @@ +// +// LandRowDto.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import Foundation + +struct LandRowDto: Decodable { + let id: Int + let name: String + let address: String? + let roomType: String? + let latitude: Double? + let longitude: Double? + let isMonthlyAvailable: Bool + let isCharterAvailable: Bool + + enum CodingKeys: String, CodingKey { + case id, name + case address + case roomType = "room_type" + case latitude, longitude + case isMonthlyAvailable = "is_monthly_available" + case isCharterAvailable = "is_charter_available" + } +} + +extension LandRowDto { + func toDomain() -> LandRow { + LandRow( + id: id, + name: name, + isMonthlyAvailable: isMonthlyAvailable, + isCharterAvailable: isCharterAvailable, + roomType: roomType, + address: address, + coordinate: LandCoordinate( + latitude: latitude, + longitude: longitude + ) + ) + } +} + diff --git a/Koin/Data/DTOs/Encodable/Land/FetchLandListRequest.swift b/Koin/Data/DTOs/Encodable/Land/FetchLandListRequest.swift new file mode 100644 index 000000000..b30a9d24f --- /dev/null +++ b/Koin/Data/DTOs/Encodable/Land/FetchLandListRequest.swift @@ -0,0 +1,10 @@ +// +// FetchLandListRequest.swift +// koin +// +// Created by 홍기정 on 11/24/26. +// + +struct FetchLandListRequest: Encodable { + let query: String? +} diff --git a/Koin/Data/Repository/DefaultLandRepository.swift b/Koin/Data/Repository/DefaultLandRepository.swift index 262bebb24..d2d6d9c4f 100644 --- a/Koin/Data/Repository/DefaultLandRepository.swift +++ b/Koin/Data/Repository/DefaultLandRepository.swift @@ -15,8 +15,8 @@ final class DefaultLandRepository: LandRepository { self.service = service } - func fetchLandList() -> AnyPublisher { - return service.fetchLandList() + func fetchLandList(requestModel: FetchLandListRequest) -> AnyPublisher { + return service.fetchLandList(requestModel: requestModel) } func fetchLandDetail(requestModel: FetchLandDetailRequest) -> AnyPublisher { diff --git a/Koin/Data/Service/LandService.swift b/Koin/Data/Service/LandService.swift index 0e5a160ca..476dc47e3 100644 --- a/Koin/Data/Service/LandService.swift +++ b/Koin/Data/Service/LandService.swift @@ -9,7 +9,7 @@ import Alamofire import Combine protocol LandService { - func fetchLandList() -> AnyPublisher + func fetchLandList(requestModel: FetchLandListRequest) -> AnyPublisher func fetchLandDetail(requestModel: FetchLandDetailRequest) -> AnyPublisher } @@ -17,8 +17,8 @@ final class DefaultLandService: LandService { private let networkService = NetworkService.shared - func fetchLandList() -> AnyPublisher { - return networkService.requestWithResponse(api: LandAPI.fetchLandList) + func fetchLandList(requestModel: FetchLandListRequest) -> AnyPublisher { + return networkService.requestWithResponse(api: LandAPI.fetchLandList(requestModel)) } func fetchLandDetail(requestModel: FetchLandDetailRequest) -> AnyPublisher { diff --git a/Koin/Data/Service/Network/API/LandAPI.swift b/Koin/Data/Service/Network/API/LandAPI.swift index d1329cb9b..86c7e06ee 100644 --- a/Koin/Data/Service/Network/API/LandAPI.swift +++ b/Koin/Data/Service/Network/API/LandAPI.swift @@ -9,7 +9,7 @@ import Foundation import Alamofire enum LandAPI { - case fetchLandList + case fetchLandList(FetchLandListRequest) case fetchLandDetail(FetchLandDetailRequest) } @@ -36,7 +36,7 @@ extension LandAPI: Router, URLRequestConvertible { public var parameters: Any? { switch self { - case .fetchLandList: return nil + case .fetchLandList(let request): return try? request.toDictionary() case .fetchLandDetail(let request): return try? request.toDictionary() } } diff --git a/Koin/Domain/Model/Land/LandCoordinate.swift b/Koin/Domain/Model/Land/LandCoordinate.swift new file mode 100644 index 000000000..6144938c0 --- /dev/null +++ b/Koin/Domain/Model/Land/LandCoordinate.swift @@ -0,0 +1,27 @@ +// +// LandCoordinate.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import Foundation + +struct LandCoordinate: Equatable { + let latitude: Double + let longitude: Double +} + +extension LandCoordinate { + init?( + latitude: Double?, + longitude: Double? + ) { + if let latitude, let longitude { + self.latitude = latitude + self.longitude = longitude + } else { + return nil + } + } +} diff --git a/Koin/Domain/Model/Land/LandDetail.swift b/Koin/Domain/Model/Land/LandDetail.swift new file mode 100644 index 000000000..ab0525067 --- /dev/null +++ b/Koin/Domain/Model/Land/LandDetail.swift @@ -0,0 +1,54 @@ +// +// LandDetail.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import Foundation + +struct LandDetail { + let id: Int + let name: String + let coordinate: LandCoordinate? + let imageUrls: [String] + let monthlyFee: String? + let charterFee: String? + let deposit: String? + let managementFee: String? + let size: String? + let roomType: String? + let phone: String? +} + +extension LandDetail { + private static let inquiryText = "별도 문의" + + var rentText: String { + Self.pairText(monthlyFee, charterFee) + } + + var depositText: String { + Self.pairText(deposit, managementFee) + } + + var sizeText: String { + size.map { "\($0)평" } ?? Self.inquiryText + } + + var roomTypeText: String { + roomType ?? Self.inquiryText + } + + var phoneText: String { + phone ?? Self.inquiryText + } + + private static func pairText(_ first: String?, _ second: String?) -> String { + if first == nil && second == nil { + return inquiryText + } + return "\(first ?? inquiryText) / \(second ?? inquiryText)" + } +} + diff --git a/Koin/Domain/Model/Land/LandDetailItem.swift b/Koin/Domain/Model/Land/LandDetailItem.swift deleted file mode 100644 index bdebc7aa6..000000000 --- a/Koin/Domain/Model/Land/LandDetailItem.swift +++ /dev/null @@ -1,16 +0,0 @@ -// -// LandDetailItem.swift -// koin -// -// Created by 김나훈 on 7/23/24. -// - -struct LandDetailItem { - let roomOptionInfo: [String] - let landName: String - let imageUrls: [String] - let address: String - let isOptionExists: [Bool] - let longitude: Double - let latitude: Double -} diff --git a/Koin/Domain/Model/Land/LandItem.swift b/Koin/Domain/Model/Land/LandItem.swift deleted file mode 100644 index e5c3f9162..000000000 --- a/Koin/Domain/Model/Land/LandItem.swift +++ /dev/null @@ -1,16 +0,0 @@ -// -// LandItem.swift -// koin -// -// Created by 김나훈 on 7/23/24. -// - - -struct LandItem { - let monthlyFee: String - let charterFee: String - let latitude: Double - let longitude: Double - let landName: String - let id: Int -} diff --git a/Koin/Domain/Model/Land/LandList.swift b/Koin/Domain/Model/Land/LandList.swift new file mode 100644 index 000000000..39db65f50 --- /dev/null +++ b/Koin/Domain/Model/Land/LandList.swift @@ -0,0 +1,41 @@ +// +// LandList.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import Foundation + +struct LandList { + static let empty = LandList(rows: []) + + let rows: [LandRow] +} + +extension LandList { + /// 전체 매물 중심 좌표를 계산한다. + /// 매물 목록이 비어있을 경우 nil을 반환한다. + var medianCoordinate: LandCoordinate? { + let coordinates = rows.compactMap(\.coordinate) + guard !coordinates.isEmpty else { + return nil + } + let latitudes = coordinates.map(\.latitude) + let longitudes = coordinates.map(\.longitude) + return LandCoordinate( + latitude: median(latitudes), + longitude: median(longitudes) + ) + } + + private func median(_ array: [Double]) -> Double { + let sorted = array.sorted() + let mid = sorted.count / 2 + if sorted.count % 2 == 1 { + return sorted[mid] + } else { + return (sorted[mid - 1] + sorted[mid]) / 2.0 + } + } +} diff --git a/Koin/Domain/Model/Land/LandListFilter.swift b/Koin/Domain/Model/Land/LandListFilter.swift new file mode 100644 index 000000000..89427771f --- /dev/null +++ b/Koin/Domain/Model/Land/LandListFilter.swift @@ -0,0 +1,22 @@ +// +// LandListFilter.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import Foundation + +enum LandListFilter: CaseIterable { + case all + case monthly + case charter + + var displayName: String { + switch self { + case .all: "전체" + case .monthly: "월세" + case .charter: "전세" + } + } +} diff --git a/Koin/Domain/Model/Land/LandRow.swift b/Koin/Domain/Model/Land/LandRow.swift new file mode 100644 index 000000000..0583d8966 --- /dev/null +++ b/Koin/Domain/Model/Land/LandRow.swift @@ -0,0 +1,20 @@ +// +// LandRow.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import Foundation + +struct LandRow: Equatable { + let id: Int + let name: String + let isMonthlyAvailable: Bool + let isCharterAvailable: Bool + + let roomType: String? + let address: String? + let coordinate: LandCoordinate? +} + diff --git a/Koin/Domain/Repository/LandRepository.swift b/Koin/Domain/Repository/LandRepository.swift index 7ccb2aa41..8e0f04367 100644 --- a/Koin/Domain/Repository/LandRepository.swift +++ b/Koin/Domain/Repository/LandRepository.swift @@ -8,6 +8,6 @@ import Combine protocol LandRepository { - func fetchLandList() -> AnyPublisher + func fetchLandList(requestModel: FetchLandListRequest) -> AnyPublisher func fetchLandDetail(requestModel: FetchLandDetailRequest) -> AnyPublisher } diff --git a/Koin/Domain/UseCase/Land/FetchLandDetailUseCase.swift b/Koin/Domain/UseCase/Land/FetchLandDetailUseCase.swift index d26ec2d59..c6ff8e58e 100644 --- a/Koin/Domain/UseCase/Land/FetchLandDetailUseCase.swift +++ b/Koin/Domain/UseCase/Land/FetchLandDetailUseCase.swift @@ -8,7 +8,7 @@ import Combine protocol FetchLandDetailUseCase { - func execute(landId: Int) -> AnyPublisher + func execute(landId: Int) -> AnyPublisher } final class DefaultFetchLandDetailUseCase: FetchLandDetailUseCase { @@ -19,7 +19,7 @@ final class DefaultFetchLandDetailUseCase: FetchLandDetailUseCase { self.landRepository = landRepository } - func execute(landId: Int) -> AnyPublisher { + func execute(landId: Int) -> AnyPublisher { return landRepository.fetchLandDetail(requestModel: FetchLandDetailRequest(id: landId)).map { landDetailDto in landDetailDto.toDomain() }.eraseToAnyPublisher() diff --git a/Koin/Domain/UseCase/Land/FetchLandListUseCase.swift b/Koin/Domain/UseCase/Land/FetchLandListUseCase.swift index 1800c6764..e438840d0 100644 --- a/Koin/Domain/UseCase/Land/FetchLandListUseCase.swift +++ b/Koin/Domain/UseCase/Land/FetchLandListUseCase.swift @@ -8,7 +8,7 @@ import Combine protocol FetchLandListUseCase { - func execute() -> AnyPublisher<[LandItem], ErrorResponse> + func execute(query: String?) -> AnyPublisher } final class DefaultFetchLandListUseCase: FetchLandListUseCase { @@ -19,9 +19,9 @@ final class DefaultFetchLandListUseCase: FetchLandListUseCase { self.landRepository = landRepository } - func execute() -> AnyPublisher<[LandItem], ErrorResponse> { - return landRepository.fetchLandList().map { landDto in - landDto.lands?.map { $0.toDomain() } ?? [] + func execute(query: String?) -> AnyPublisher { + return landRepository.fetchLandList(requestModel: FetchLandListRequest(query: query)).map { landListDto in + landListDto.toDomain() }.eraseToAnyPublisher() } } diff --git a/Koin/Presentation/Home/Category/CategoryHostingController.swift b/Koin/Presentation/Home/Category/CategoryHostingController.swift index e2578dfbd..0808058c9 100644 --- a/Koin/Presentation/Home/Category/CategoryHostingController.swift +++ b/Koin/Presentation/Home/Category/CategoryHostingController.swift @@ -47,7 +47,7 @@ final class CategoryHostingController: UIHostingController, Hostin case .showChatList: navigationController?.pushViewController(makeChatListViewController(), animated: true) case .showLand: - navigationController?.pushViewController(makeLandViewController(), animated: true) + navigationController?.pushViewController(makeLandListViewController(), animated: true) case .showBusiness: presentBusiness() case .showRecruit: @@ -206,16 +206,15 @@ extension CategoryHostingController { private func makeChatListViewController() -> UIViewController { return LostItemChatListTableViewController(viewModel: LostItemChatListTableViewModel()) } - - private func makeLandViewController() -> UIViewController { + + private func makeLandListViewController() -> UIViewController { let landService = DefaultLandService() let landRepository = DefaultLandRepository(service: landService) let fetchLandListUseCase = DefaultFetchLandListUseCase(landRepository: landRepository) - let logAnalyticsEventUseCase = DefaultLogAnalyticsEventUseCase(repository: GA4AnalyticsRepository(service: GA4AnalyticsService())) - let viewModel = LandViewModel(fetchLandListUseCase: fetchLandListUseCase, logAnalyticsEventUseCase: logAnalyticsEventUseCase) - return LandViewController(viewModel: viewModel) + let viewModel = LandListViewModel(fetchLandListUseCase: fetchLandListUseCase) + return LandListViewController(viewModel: viewModel) } - + private func makeRecruitListViewController() -> UIViewController { let recruitRepository = DefaultRecruitRepository(service: DefaultRecruitService()) let fetchRecruitListUseCase = DefaultFetchRecruitListUseCase(repository: recruitRepository) diff --git a/Koin/Presentation/Land/Land/LandViewController.swift b/Koin/Presentation/Land/Land/LandViewController.swift deleted file mode 100644 index 27031f5c3..000000000 --- a/Koin/Presentation/Land/Land/LandViewController.swift +++ /dev/null @@ -1,156 +0,0 @@ -// -// LandViewContoller.swift -// Koin -// -// Created by 김나훈 on 3/14/24. -// - -import Combine -import NMapsMap -import UIKit - -final class LandViewController: UIViewController { - // MARK: - Properties - - private let viewModel: LandViewModel - private let inputSubject: PassthroughSubject = .init() - private var subscriptions: Set = [] - - // MARK: - UI Components - - private let mapView: NMFMapView = { - let map = NMFMapView() - return map - }() - - private let landCollectionView: LandCollectionView = { - let flowLayout = UICollectionViewFlowLayout() - flowLayout.minimumLineSpacing = 20 - flowLayout.scrollDirection = .vertical - let cellWidth = UIScreen.main.bounds.width / 2 - 20 - flowLayout.itemSize = CGSize(width: cellWidth, height: 110) - let collectionView = LandCollectionView(frame: .zero, collectionViewLayout: flowLayout) - return collectionView - }() - - // MARK: - Initialization - - init(viewModel: LandViewModel) { - self.viewModel = viewModel - super.init(nibName: nil, bundle: nil) - } - - @available(*, unavailable) - required init?(coder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - // MARK: - Life Cycle - - override func viewDidLoad() { - super.viewDidLoad() - navigationItem.title = "복덕방" - bind() - configureView() - inputSubject.send(.viewDidLoad) - - } - - override func viewWillAppear(_ animated: Bool) { - super.viewWillAppear(true) - configureNavigationBar(style: .fill) - } - - // MARK: - Bind - - private func bind() { - let outputSubject = viewModel.transform(with: inputSubject.eraseToAnyPublisher()) - outputSubject.receive(on: DispatchQueue.main).sink { [weak self] output in - switch output { - case let .showLandList(landList): - self?.showLandList(items: landList) - self?.putMarkers(items: landList) - } - }.store(in: &subscriptions) - - landCollectionView.cellTapPublisher - .sink { [weak self] land in - self?.inputSubject.send(.logEvent(EventParameter.EventLabel.RealEstate.roomListRoomDetailEntryClick, land.landName)) - self?.navigateToLandDetailViewController(id: land.id) - } - .store(in: &subscriptions) - } -} - -extension LandViewController { - - private func navigateToLandDetailViewController(id: Int) { - - let landService = DefaultLandService() - let landRepository = DefaultLandRepository(service: landService) - let fetchLandDetailUseCase = DefaultFetchLandDetailUseCase(landRepository: landRepository) - let logAnalyticsEventUseCase = DefaultLogAnalyticsEventUseCase(repository: GA4AnalyticsRepository(service: GA4AnalyticsService())) - let viewModel = LandDetailViewModel(fetchLandDetailUseCase: fetchLandDetailUseCase, logAnalyticsEventUseCase: logAnalyticsEventUseCase, landId: id) - let landDetailViewController = LandDetailViewController(viewModel: viewModel) - landDetailViewController.title = "복덕방" - navigationController?.pushViewController(landDetailViewController, animated: true) - } - - private func showLandList(items: [LandItem]) { - landCollectionView.setLandList(items) - } - - private func putMarkers(items: [LandItem]) { - for land in items { - let marker = NMFMarker() - marker.position = NMGLatLng(lat: land.latitude, lng: land.longitude) - marker.width = 25 - marker.height = 35 - marker.userInfo = ["id": land.id] - marker.mapView = mapView - - marker.touchHandler = { [weak self] (overlay: NMFOverlay) -> Bool in - if let marker = overlay as? NMFMarker, let id = marker.userInfo["id"] as? Int { - self?.navigateToLandDetailViewController(id: id) - } - return true - } - } - - let targetPosition = NMGLatLng(lat: 36.766205, lng: 127.284638) - let cameraUpdate = NMFCameraUpdate(scrollTo: targetPosition) - mapView.moveCamera(cameraUpdate) - - } - -} - -extension LandViewController { - - private func setUpLayOuts() { - [mapView, landCollectionView].forEach { - view.addSubview($0) - } - } - - private func setUpConstraints() { - mapView.snp.makeConstraints { make in - make.top.equalTo(view.safeAreaLayoutGuide.snp.top) - make.leading.trailing.equalToSuperview() - make.bottom.equalTo(view.snp.centerY) - } - landCollectionView.snp.makeConstraints { make in - make.top.equalTo(view.snp.centerY).offset(10) - make.leading.equalTo(view.snp.leading).offset(10) - make.trailing.equalTo(view.snp.trailing).offset(-10) - make.bottom.equalTo(view.safeAreaLayoutGuide.snp.bottom) - } - } - - private func configureView() { - setUpLayOuts() - setUpConstraints() - self.view.backgroundColor = .systemBackground - } -} - diff --git a/Koin/Presentation/Land/Land/LandViewModel.swift b/Koin/Presentation/Land/Land/LandViewModel.swift deleted file mode 100644 index b073d428d..000000000 --- a/Koin/Presentation/Land/Land/LandViewModel.swift +++ /dev/null @@ -1,54 +0,0 @@ -// -// DiningDetailViewMoel.swift -// Koin -// -// Created by 김나훈 on 3/14/24. -// - -import Combine -import Foundation - -final class LandViewModel: ViewModelProtocol { - - enum Input { - case viewDidLoad - case logEvent(EventLabelType, Any) - } - enum Output { - case showLandList([LandItem]) - } - - private let outputSubject = PassthroughSubject() - private let fetchLandListUseCase: FetchLandListUseCase - private let logAnalyticsEventUseCase: LogAnalyticsEventUseCase - private var subscriptions: Set = [] - - init(fetchLandListUseCase: FetchLandListUseCase, logAnalyticsEventUseCase: LogAnalyticsEventUseCase) { - self.fetchLandListUseCase = fetchLandListUseCase - self.logAnalyticsEventUseCase = logAnalyticsEventUseCase - } - - func transform(with input: AnyPublisher) -> AnyPublisher { - input.sink { [weak self] input in - switch input { - case .viewDidLoad: - self?.getLandList() - case let .logEvent(label, value): - self?.logAnalyticsEventUseCase.execute(label: label, value: value) - } - }.store(in: &subscriptions) - return outputSubject.eraseToAnyPublisher() - } -} - -extension LandViewModel { - - private func getLandList() { - fetchLandListUseCase.execute().sink( - receiveCompletion: { _ in }, - receiveValue: { [weak self] response in - self?.outputSubject.send(.showLandList(response)) - } - ).store(in: &subscriptions) - } -} diff --git a/Koin/Presentation/Land/Land/SubViews/LandCollectionView.swift b/Koin/Presentation/Land/Land/SubViews/LandCollectionView.swift deleted file mode 100644 index 3bd1e4cb3..000000000 --- a/Koin/Presentation/Land/Land/SubViews/LandCollectionView.swift +++ /dev/null @@ -1,56 +0,0 @@ -// -// LandCollectionView.swift -// koin -// -// Created by 김나훈 on 3/16/24. -// - -import Combine -import UIKit - -final class LandCollectionView: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate { - - private var landList = [LandItem]() - let cellTapPublisher = PassthroughSubject() - - override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) { - super.init(frame: frame, collectionViewLayout: layout) - commonInit() - } - - required init?(coder: NSCoder) { - super.init(coder: coder) - commonInit() - } - - private func commonInit() { - register(LandCollectionViewCell.self, forCellWithReuseIdentifier: LandCollectionViewCell.identifier) - dataSource = self - delegate = self - } - - func setLandList(_ list: [LandItem]) { - landList = list - self.reloadData() - } - -} - -extension LandCollectionView { - func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { - return landList.count - } - - func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { - guard let cell = collectionView.dequeueReusableCell(withReuseIdentifier: LandCollectionViewCell.identifier, for: indexPath) as? LandCollectionViewCell else { - return UICollectionViewCell() - } - - cell.configure(info: landList[indexPath.row]) - return cell - } - - func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { - cellTapPublisher.send(landList[indexPath.row]) - } -} diff --git a/Koin/Presentation/Land/Land/SubViews/LandCollectionViewCell.swift b/Koin/Presentation/Land/Land/SubViews/LandCollectionViewCell.swift deleted file mode 100644 index 2bebca88d..000000000 --- a/Koin/Presentation/Land/Land/SubViews/LandCollectionViewCell.swift +++ /dev/null @@ -1,115 +0,0 @@ -// -// LandCollectionViewCell.swift -// koin -// -// Created by 김나훈 on 3/16/24. -// - -import UIKit - -final class LandCollectionViewCell: UICollectionViewCell { - - // MARK: - UI Components - - private let landNameLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardBold, size: 15) - $0.backgroundColor = .systemBackground - $0.textAlignment = .center - } - - private let monthlyFeeGuideLabel = UILabel().then { - $0.text = "월세" - $0.textAlignment = .center - $0.font = UIFont.appFont(.pretendardRegular, size: 12) - $0.textColor = UIColor.appColor(.neutral0) - $0.backgroundColor = UIColor.appColor(.bus3) - $0.layer.cornerRadius = 9 - $0.layer.masksToBounds = true - } - - private let charterFeeGuideLabel = UILabel().then { - $0.text = "전세" - $0.textAlignment = .center - $0.font = UIFont.appFont(.pretendardRegular, size: 12) - $0.textColor = UIColor.appColor(.neutral0) - $0.backgroundColor = UIColor.appColor(.bus1) - $0.layer.cornerRadius = 9 - $0.layer.masksToBounds = true - } - - private let monthlyFeeLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardRegular, size: 12) - $0.textColor = UIColor.appColor(.neutral500) - } - - private let charterFeeLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardRegular, size: 12) - $0.textColor = UIColor.appColor(.neutral500) - } - - override init(frame: CGRect) { - super.init(frame: frame) - configureView() - } - - required init?(coder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - func configure(info: LandItem) { - landNameLabel.text = info.landName - monthlyFeeLabel.text = info.monthlyFee - charterFeeLabel.text = info.charterFee - } -} - -extension LandCollectionViewCell { - private func setUpLayouts() { - [landNameLabel, monthlyFeeGuideLabel, charterFeeGuideLabel, monthlyFeeLabel, charterFeeLabel].forEach { - contentView.addSubview($0) - } - } - - private func setUpConstraints() { - landNameLabel.snp.makeConstraints { make in - make.top.leading.trailing.equalToSuperview() - make.bottom.equalTo(self.snp.centerY) - } - monthlyFeeGuideLabel.snp.makeConstraints { make in - make.top.equalTo(self.snp.centerY).offset(5) - make.leading.equalTo(self.snp.leading).offset(10) - make.width.equalTo(40) - make.height.equalTo(18) - } - charterFeeGuideLabel.snp.makeConstraints { make in - make.top.equalTo(monthlyFeeGuideLabel.snp.bottom).offset(5) - make.leading.equalTo(self.snp.leading).offset(10) - make.width.equalTo(40) - make.height.equalTo(18) - } - monthlyFeeLabel.snp.makeConstraints { make in - make.top.equalTo(self.snp.centerY).offset(5) - make.leading.equalTo(monthlyFeeGuideLabel.snp.trailing).offset(10) - make.trailing.equalTo(self.snp.trailing) - make.height.equalTo(18) - } - charterFeeLabel.snp.makeConstraints { make in - make.top.equalTo(monthlyFeeLabel.snp.bottom).offset(5) - make.leading.equalTo(charterFeeGuideLabel.snp.trailing).offset(10) - make.trailing.equalTo(self.snp.trailing) - make.height.equalTo(18) - } - } - - private func configureView() { - setUpLayouts() - setUpConstraints() - setUpBorder() - self.backgroundColor = UIColor.appColor(.neutral50) - } - - private func setUpBorder() { - self.layer.borderWidth = 1.0 - self.layer.borderColor = UIColor.appColor(.neutral400).cgColor - } -} diff --git a/Koin/Presentation/Land/LandDetail/LandDetailViewController.swift b/Koin/Presentation/Land/LandDetail/LandDetailViewController.swift index 945777531..c128f38b1 100644 --- a/Koin/Presentation/Land/LandDetail/LandDetailViewController.swift +++ b/Koin/Presentation/Land/LandDetail/LandDetailViewController.swift @@ -1,395 +1,278 @@ // -// DiningDetailViewController.swift -// Koin +// LandDetailViewController.swift +// koin // -// Created by 김나훈 on 3/14/24. +// Created by 홍기정 on 11/23/26. // -import Combine -import NMapsMap import UIKit +import Combine +import SnapKit final class LandDetailViewController: UIViewController { + // MARK: - Properties - private let viewModel: LandDetailViewModel - private let inputSubject: PassthroughSubject = .init() + private let inputSubject = PassthroughSubject() private var subscriptions: Set = [] - + private var phone: String? + // MARK: - UI Components - - private let scrollView = UIScrollView().then { _ in - } - - private let landNameLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardMedium, size: 20) - $0.textAlignment = .center - } - - private let infoLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardRegular, size: 15) - $0.text = "원룸 정보" - } - - private let infoView1 = HouseInfoView(frame: .zero, text: "월세").then { _ in - } - - private let infoView2 = HouseInfoView(frame: .zero, text: "방 종류").then { _ in - } - - private let infoView3 = HouseInfoView(frame: .zero, text: "전세").then { _ in - } - - private let infoView4 = HouseInfoView(frame: .zero, text: "보증금").then { _ in - } - - private let infoView5 = HouseInfoView(frame: .zero, text: "층수").then { _ in - } - - private let infoView6 = HouseInfoView(frame: .zero, text: "관리비").then { _ in - } - - private let infoView7 = HouseInfoView(frame: .zero, text: "방 크기").then { _ in - } - - private let infoView8 = HouseInfoView(frame: .zero, text: "연락처").then { _ in - } - - private let nonImageView = UIImageView().then { - $0.image = UIImage.appImage(asset: .nonImage) - } - - private let imageCollectionView = LandImageCollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout().then { $0.scrollDirection = .horizontal }).then { - $0.isScrollEnabled = false - } - - private let indexLabel = UILabel().then { - $0.layer.cornerRadius = 9 - $0.layer.masksToBounds = true - $0.textAlignment = .center - $0.backgroundColor = UIColor.appColor(.neutral800).withAlphaComponent(0.5) - $0.textColor = UIColor.appColor(.neutral0) - $0.font = UIFont.appFont(.pretendardRegular, size: 12) - } - - private let prevButton = UIButton().then { - $0.tintColor = UIColor.appColor(.neutral0) - $0.setImage(UIImage.appImage(symbol: .chevronLeft), for: .normal) - } - - private let nextButton = UIButton().then { - $0.tintColor = UIColor.appColor(.neutral0) - $0.setImage(UIImage.appImage(symbol: .chevronRight), for: .normal) - } - - private let landOptionView = LandOptionView().then { _ in - } - - private let stackView1 = UIStackView().then { - $0.axis = .horizontal - $0.distribution = .fillEqually - } - - private let stackView2 = UIStackView().then { - $0.axis = .horizontal - $0.distribution = .fillEqually - } - - private let stackView3 = UIStackView().then { - $0.axis = .horizontal - $0.distribution = .fillEqually - } - - private let stackView4 = UIStackView().then { - $0.axis = .horizontal - $0.distribution = .fillEqually - } - - private let separateLine1 = UIView().then { - $0.backgroundColor = UIColor.appColor(.primary500) - } - - private let separateLine2 = UIView().then { - $0.backgroundColor = UIColor.appColor(.bus2) - } - - private let separateLine3 = UIView().then { - $0.backgroundColor = UIColor.appColor(.bus2) - } - - private let separateLine4 = UIView().then { - $0.backgroundColor = UIColor.appColor(.bus2) - } - - private let separateLine5 = UIView().then { - $0.backgroundColor = UIColor.appColor(.primary500) - } - - private let locationGuideLabel = UILabel().then { - $0.text = "원룸 위치" - $0.font = UIFont.appFont(.pretendardMedium, size: 14) - } - - private let locationLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardRegular, size: 13) - $0.textColor = UIColor.appColor(.neutral500) - } - - private let mapView = NMFMapView().then { _ in - } - - // MARK: - Initialization - + private let scrollView = UIScrollView() + private let contentStackView = UIStackView() + private let titleStackView = UIStackView() + private let badgeStackView = UIStackView() + private let monthlyBadge = LandListBadgeView(style: .monthly) + private let charterBadge = LandListBadgeView(style: .charter) + private let nameLabel = UILabel() + private let imageView = LandDetailImageView() + private let infoView = LandDetailInfoView() + private let locationStackView = UIStackView() + private let locationTitleLabel = UILabel() + private let mapView = LandMapView() + private let bottomSheetContentView = LandDetailBottomSheetContentView() + private let navigationBarView = UIView() + private let navigationTitleLabel = UILabel() + private let backButton = UIButton(type: .system) + + // MARK: - Initializer init(viewModel: LandDetailViewModel) { self.viewModel = viewModel super.init(nibName: nil, bundle: nil) } - - @available(*, unavailable) required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } - + // MARK: - Life Cycle - override func viewDidLoad() { super.viewDidLoad() - navigationItem.title = "복덕방" - bind() configureView() + configure(landRow: viewModel.landRow) + presentLandDetailBottomSheet() + bind() inputSubject.send(.viewDidLoad) - prevButton.addTarget(self, action: #selector(prevButtonTapped), for: .touchUpInside) - nextButton.addTarget(self, action: #selector(nextButtonTapped), for: .touchUpInside) } - + override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) - configureNavigationBar(style: .fill) + navigationController?.setNavigationBarHidden(true, animated: animated) } - // MARK: - Bind - + override func viewWillDisappear(_ animated: Bool) { + super.viewWillDisappear(animated) + navigationController?.setNavigationBarHidden(false, animated: animated) + } +} + +extension LandDetailViewController { private func bind() { - let outputSubject = viewModel.transform(with: inputSubject.eraseToAnyPublisher()) - outputSubject.receive(on: DispatchQueue.main).sink { [weak self] output in - switch output { - case let .showLandDetail(landDetailItem): - self?.showLandDetail(landDetailItem) + viewModel.transform(with: inputSubject.eraseToAnyPublisher()) + .receive(on: DispatchQueue.main) + .sink { [weak self] output in + guard let self else { return } + switch output { + case let .updateLandDetail(landDetail): + configure(landDetail: landDetail) + case let .showToastMessage(message): + showToastMessage(message: message) + } + } + .store(in: &subscriptions) + + imageView.imageTappedPublisher + .sink { [weak self] imageUrls, indexPath in + self?.presentZoomedImage(imageUrls: imageUrls, indexPath: indexPath) } - }.store(in: &subscriptions) + .store(in: &subscriptions) - imageCollectionView.indexPublisher - .sink { [weak self] text in - self?.indexLabel.text = text + bottomSheetContentView.callTappedPublisher + .sink { [weak self] in + self?.makePhoneCall() } .store(in: &subscriptions) } } extension LandDetailViewController { - - private func showLocationOnMap(latitude: Double, longitude: Double) { - let marker = NMFMarker() - marker.position = NMGLatLng(lat: latitude, lng: longitude) - marker.mapView = mapView - marker.width = 25 - marker.height = 35 - let cameraUpdate = NMFCameraUpdate(scrollTo: NMGLatLng(lat: latitude, lng: longitude)) - let zoomUpdate = NMFCameraUpdate(zoomTo: 16) - mapView.moveCamera(cameraUpdate) - mapView.moveCamera(zoomUpdate) + private func configure(landRow: LandRow) { + monthlyBadge.isHidden = !landRow.isMonthlyAvailable + charterBadge.isHidden = !landRow.isCharterAvailable + badgeStackView.isHidden = !landRow.isMonthlyAvailable && !landRow.isCharterAvailable + nameLabel.text = landRow.name } - - private func showLandDetail(_ item: LandDetailItem) { - landNameLabel.text = item.landName - let infoViews = [infoView1, infoView2, infoView3, infoView4, infoView5, infoView6, infoView7, infoView8] - for (index, infoView) in infoViews.enumerated() { - if index < item.roomOptionInfo.count { - infoView.setText(item.roomOptionInfo[index]) - } - } - if !item.imageUrls.isEmpty { - imageCollectionView.setImageList(item.imageUrls) - nonImageView.isHidden = true - } - else { - [imageCollectionView, prevButton, nextButton, indexLabel].forEach { - $0.isHidden = true - } + private func configure(landDetail: LandDetail) { + phone = landDetail.phone + nameLabel.text = landDetail.name + imageView.configure(imageUrls: landDetail.imageUrls) + infoView.configure(landDetail: landDetail) + bottomSheetContentView.configure(landDetail: landDetail) + if let markerKey = LandMarkerKey(id: landDetail.id, coordinate: landDetail.coordinate), + let coordinate = landDetail.coordinate { + mapView.configure(markerKey) + mapView.focus(on: coordinate, animationDuration: 0) } - locationLabel.text = item.address - - landOptionView.configure(item.isOptionExists) - - showLocationOnMap(latitude: item.latitude, longitude: item.longitude) + } + + private func presentZoomedImage(imageUrls: [String], indexPath: IndexPath) { + let zoomedImageViewController = ZoomedImageViewControllerB() + zoomedImageViewController.configure(urls: imageUrls, initialIndexPath: indexPath) + present(zoomedImageViewController, animated: true) } - @objc func prevButtonTapped() { - if imageCollectionView.scrollToPreviousItem() { - inputSubject.send(.logEvent(EventParameter.EventLabel.RealEstate.roomDetailPhotoViewSlideClick, "이전")) + @objc private func backButtonTapped() { + navigationController?.popViewController(animated: true) + } + + private func makePhoneCall() { + guard let phone, + let url = URL(string: "tel://" + phone.filter(\.isNumber)), + UIApplication.shared.canOpenURL(url) else { + return } + UIApplication.shared.open(url) } +} - @objc func nextButtonTapped() { - if imageCollectionView.scrollToNextItem() { - inputSubject.send(.logEvent(EventParameter.EventLabel.RealEstate.roomDetailPhotoViewSlideClick, "다음")) +extension LandDetailViewController { + private func presentLandDetailBottomSheet() { + var configuration = KoinBottomSheetConfiguration() + configuration.style = .persistent + configuration.behavior.isDraggable = false + configuration.cornerRadius = 16 + configuration.onTargetFrameChange = { [weak self] sheetFrame in + self?.updateScrollViewInset(sheetFrame: sheetFrame) } + presentBottomSheet(bottomSheetContentView, configuration: configuration) + } + + private func updateScrollViewInset(sheetFrame: CGRect) { + let sheetTop = view.convert(sheetFrame, from: nil).minY + let bottomInset = max(0, scrollView.frame.maxY - sheetTop) + 36 + scrollView.contentInset.bottom = bottomInset + scrollView.verticalScrollIndicatorInsets.bottom = bottomInset } } extension LandDetailViewController { - - private func setUpLayOuts() { - view.addSubview(scrollView) - [landNameLabel, infoLabel, stackView1, stackView2, stackView3, stackView4, separateLine1, separateLine2, separateLine3, separateLine4, separateLine5, imageCollectionView, landOptionView, prevButton, nextButton, indexLabel, nonImageView, locationGuideLabel, locationLabel, mapView].forEach { - scrollView.addSubview($0) - } - [infoView1, infoView2].forEach { - stackView1.addArrangedSubview($0) - } - [infoView3, infoView4].forEach { - stackView2.addArrangedSubview($0) + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + view.backgroundColor = .appColor(.neutral0) + additionalSafeAreaInsets.top = 44 + navigationBarView.backgroundColor = .appColor(.neutral0) + navigationTitleLabel.do { + $0.text = "복덕방" + $0.font = .appFont(.pretendardMedium, size: 18) + $0.textColor = .appColor(.neutral800) } - [infoView5, infoView6].forEach { - stackView3.addArrangedSubview($0) + backButton.do { + $0.setImage( + UIImage.appImage(symbol: .chevronLeft)? + .withConfiguration(UIImage.SymbolConfiguration(pointSize: 17, weight: .semibold, scale: .large)), + for: .normal + ) + $0.tintColor = .appColor(.neutral800) + $0.accessibilityLabel = "뒤로가기" + $0.addTarget(self, action: #selector(backButtonTapped), for: .touchUpInside) } - [infoView7, infoView8].forEach { - stackView4.addArrangedSubview($0) + contentStackView.do { + $0.axis = .vertical + $0.spacing = 12 + $0.alignment = .center } - } - - private func setUpConstraints() { - scrollView.snp.makeConstraints { make in - make.top.equalTo(view.safeAreaLayoutGuide.snp.top) - make.leading.equalTo(view.snp.leading) - make.trailing.equalTo(view.snp.trailing) - make.bottom.equalTo(view.snp.bottom) + titleStackView.do { + $0.axis = .vertical + $0.spacing = 8 + $0.alignment = .leading } - landNameLabel.snp.makeConstraints { make in - make.top.equalTo(scrollView.snp.top).offset(30) - make.width.equalTo(view.snp.width) - make.centerX.equalTo(view.snp.centerX) + badgeStackView.do { + $0.axis = .horizontal + $0.spacing = 4 } - infoLabel.snp.makeConstraints { make in - make.top.equalTo(landNameLabel.snp.bottom).offset(30) - make.centerX.equalTo(view.snp.centerX) + nameLabel.do { + $0.font = .appFont(.pretendardMedium, size: 18) + $0.textColor = .appColor(.neutral700) + $0.numberOfLines = 0 } - stackView1.snp.makeConstraints { make in - make.top.equalTo(infoLabel.snp.bottom).offset(30) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.greaterThanOrEqualTo(40) - make.centerX.equalTo(scrollView.snp.centerX) + locationStackView.do { + $0.axis = .vertical + $0.spacing = 16 } - stackView2.snp.makeConstraints { make in - make.top.equalTo(stackView1.snp.bottom) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.greaterThanOrEqualTo(40) - make.centerX.equalTo(scrollView.snp.centerX) + locationTitleLabel.do { + $0.text = "위치 정보" + $0.font = .appFont(.pretendardMedium, size: 16) + $0.textColor = .appColor(.neutral700) } - stackView3.snp.makeConstraints { make in - make.top.equalTo(stackView2.snp.bottom) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.greaterThanOrEqualTo(40) - make.centerX.equalTo(scrollView.snp.centerX) + mapView.isUserInteractionEnabled = false + } + + private func setUpLayouts() { + [scrollView, navigationBarView].forEach { + view.addSubview($0) } - stackView4.snp.makeConstraints { make in - make.top.equalTo(stackView3.snp.bottom) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.greaterThanOrEqualTo(40) - make.centerX.equalTo(scrollView.snp.centerX) + [navigationTitleLabel, backButton].forEach { + navigationBarView.addSubview($0) } - separateLine1.snp.makeConstraints { make in - make.top.equalTo(stackView1.snp.top) - make.leading.equalTo(stackView1.snp.leading) - make.trailing.equalTo(stackView1.snp.trailing) - make.height.equalTo(1) + scrollView.addSubview(contentStackView) + [monthlyBadge, charterBadge].forEach { + badgeStackView.addArrangedSubview($0) } - separateLine2.snp.makeConstraints { make in - make.top.equalTo(stackView2.snp.top) - make.leading.equalTo(stackView1.snp.leading) - make.trailing.equalTo(stackView1.snp.trailing) - make.height.equalTo(1) + [badgeStackView, nameLabel].forEach { + titleStackView.addArrangedSubview($0) } - separateLine3.snp.makeConstraints { make in - make.top.equalTo(stackView3.snp.top) - make.leading.equalTo(stackView1.snp.leading) - make.trailing.equalTo(stackView1.snp.trailing) - make.height.equalTo(1) + [locationTitleLabel, mapView].forEach { + locationStackView.addArrangedSubview($0) } - separateLine4.snp.makeConstraints { make in - make.top.equalTo(stackView4.snp.top) - make.leading.equalTo(stackView1.snp.leading) - make.trailing.equalTo(stackView1.snp.trailing) - make.height.equalTo(1) + [titleStackView, imageView, infoView, locationStackView].forEach { + contentStackView.addArrangedSubview($0) } - separateLine5.snp.makeConstraints { make in - make.top.equalTo(stackView4.snp.bottom) - make.leading.equalTo(stackView1.snp.leading) - make.trailing.equalTo(stackView1.snp.trailing) - make.height.equalTo(1) + contentStackView.setCustomSpacing(24, after: imageView) + contentStackView.setCustomSpacing(24, after: infoView) + } + + private func setUpConstraints() { + scrollView.snp.makeConstraints { + $0.edges.equalTo(view.safeAreaLayoutGuide) } - imageCollectionView.snp.makeConstraints { make in - make.top.equalTo(stackView4.snp.bottom).offset(15) - make.leading.equalTo(view.snp.leading).offset(70) - make.trailing.equalTo(view.snp.trailing).offset(-70) - make.height.equalTo(160) - make.centerX.equalTo(view.snp.centerX) + navigationBarView.snp.makeConstraints { + $0.top.leading.trailing.equalToSuperview() + $0.bottom.equalTo(view.safeAreaLayoutGuide.snp.top) } - indexLabel.snp.makeConstraints { make in - make.centerX.equalTo(imageCollectionView.snp.centerX) - make.bottom.equalTo(imageCollectionView.snp.bottom).offset(-10) - make.width.equalTo(50) - make.height.equalTo(20) + backButton.snp.makeConstraints { + $0.leading.equalToSuperview().offset(8) + $0.bottom.equalToSuperview() + $0.size.equalTo(44) } - prevButton.snp.makeConstraints { make in - make.leading.equalTo(imageCollectionView.snp.leading).offset(10) - make.centerY.equalTo(imageCollectionView.snp.centerY) - make.width.equalTo(30) - make.height.equalTo(50) + navigationTitleLabel.snp.makeConstraints { + $0.centerX.equalToSuperview() + $0.centerY.equalTo(backButton) } - nextButton.snp.makeConstraints { make in - make.trailing.equalTo(imageCollectionView.snp.trailing).offset(-5) - make.centerY.equalTo(imageCollectionView.snp.centerY) - make.width.equalTo(30) - make.height.equalTo(50) + contentStackView.snp.makeConstraints { + $0.edges.equalTo(scrollView.contentLayoutGuide) + $0.width.equalTo(scrollView.frameLayoutGuide) } - nonImageView.snp.makeConstraints { make in - make.top.equalTo(stackView4.snp.bottom).offset(20) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.equalTo(200) + [titleStackView, infoView, locationStackView].forEach { arrangedView in + arrangedView.snp.makeConstraints { + $0.width.equalToSuperview().offset(-48) + } } - landOptionView.snp.makeConstraints { make in - make.top.equalTo(nonImageView.snp.bottom).offset(20) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.equalTo(300) + imageView.snp.makeConstraints { + $0.width.equalToSuperview() } - locationGuideLabel.snp.makeConstraints { make in - make.top.equalTo(landOptionView.snp.bottom).offset(20) - make.centerX.equalTo(view.snp.centerX) + nameLabel.snp.makeConstraints { + $0.height.greaterThanOrEqualTo(29) } - locationLabel.snp.makeConstraints { make in - make.top.equalTo(locationGuideLabel.snp.bottom).offset(20) - make.centerX.equalTo(view.snp.centerX) + locationTitleLabel.snp.makeConstraints { + $0.height.equalTo(26) } - mapView.snp.makeConstraints { make in - make.top.equalTo(locationLabel.snp.bottom).offset(30) - make.leading.equalTo(view.snp.leading).offset(20) - make.trailing.equalTo(view.snp.trailing).offset(-20) - make.height.equalTo(200) - make.bottom.equalTo(scrollView.contentLayoutGuide.snp.bottom).offset(-30) + mapView.snp.makeConstraints { + $0.height.equalTo(mapView.snp.width).multipliedBy(9.0 / 16.0) } } - - private func configureView() { - setUpLayOuts() - setUpConstraints() - self.view.backgroundColor = .systemBackground - } } diff --git a/Koin/Presentation/Land/LandDetail/LandDetailViewModel.swift b/Koin/Presentation/Land/LandDetail/LandDetailViewModel.swift index 521692e19..46f285a6d 100644 --- a/Koin/Presentation/Land/LandDetail/LandDetailViewModel.swift +++ b/Koin/Presentation/Land/LandDetail/LandDetailViewModel.swift @@ -1,53 +1,59 @@ // -// DiningDetailViewMoel.swift -// Koin +// LandDetailViewModel.swift +// koin // -// Created by 김나훈 on 3/14/24. +// Created by 홍기정 on 11/23/26. // import Combine final class LandDetailViewModel: ViewModelProtocol { - - private let outputSubject = PassthroughSubject() - private let fetchLandDetailUseCase: FetchLandDetailUseCase - private let logAnalyticsEventUseCase: LogAnalyticsEventUseCase - private var subscriptions: Set = [] - private let landId: Int - - init(fetchLandDetailUseCase: FetchLandDetailUseCase, logAnalyticsEventUseCase: LogAnalyticsEventUseCase, landId: Int) { - self.fetchLandDetailUseCase = fetchLandDetailUseCase - self.logAnalyticsEventUseCase = logAnalyticsEventUseCase - self.landId = landId - } - enum Input { case viewDidLoad - case logEvent(EventLabelType, Any) } enum Output { - case showLandDetail(LandDetailItem) + case updateLandDetail(LandDetail) + case showToastMessage(String) + } + + // MARK: - Properties + let landRow: LandRow + private let fetchLandDetailUseCase: FetchLandDetailUseCase + private let outputSubject = PassthroughSubject() + private var subscriptions: Set = [] + + // MARK: - Initializer + init(landRow: LandRow, fetchLandDetailUseCase: FetchLandDetailUseCase) { + self.landRow = landRow + self.fetchLandDetailUseCase = fetchLandDetailUseCase } - +} + +extension LandDetailViewModel { func transform(with input: AnyPublisher) -> AnyPublisher { input.sink { [weak self] input in + guard let self else { return } switch input { case .viewDidLoad: - self?.getLandDetail() - case let .logEvent(label, value): - self?.logAnalyticsEventUseCase.execute(label: label, value: value) + fetchLandDetail() } - }.store(in: &subscriptions) + } + .store(in: &subscriptions) + return outputSubject.eraseToAnyPublisher() } } extension LandDetailViewModel { - private func getLandDetail() { - fetchLandDetailUseCase.execute(landId: landId).sink( - receiveCompletion: { _ in }, - receiveValue: { [weak self] response in - self?.outputSubject.send(.showLandDetail(response)) + private func fetchLandDetail() { + fetchLandDetailUseCase.execute(landId: landRow.id).sink( + receiveCompletion: { [weak self] completion in + if case .failure(let error) = completion { + self?.outputSubject.send(.showToastMessage(error.message)) + } + }, + receiveValue: { [weak self] landDetail in + self?.outputSubject.send(.updateLandDetail(landDetail)) } ).store(in: &subscriptions) } diff --git a/Koin/Presentation/Land/LandDetail/SubViews/HouseInfoView.swift b/Koin/Presentation/Land/LandDetail/SubViews/HouseInfoView.swift deleted file mode 100644 index 62cffa2d3..000000000 --- a/Koin/Presentation/Land/LandDetail/SubViews/HouseInfoView.swift +++ /dev/null @@ -1,73 +0,0 @@ -// -// HouseInfoView.swift -// Koin -// -// Created by 김나훈 on 3/15/24. -// - -import UIKit - -final class HouseInfoView: UIView { - - // MARK: - UI Components - - private let infoLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardMedium, size: 12) - $0.textColor = UIColor.appColor(.neutral400) - } - - private let detailLabel = UILabel().then { - $0.font = UIFont.appFont(.pretendardRegular, size: 12) - $0.numberOfLines = 0 - } - - // MARK: Init - - override init(frame: CGRect) { - super.init(frame: frame) - configureView() - } - - required init?(coder: NSCoder) { - super.init(coder: coder) - } - - convenience init(frame: CGRect, text: String) { - self.init(frame: frame) - infoLabel.text = text - } - - func setText(_ text: String) { - detailLabel.text = text - } -} - -// MARK: UI Settings - -extension HouseInfoView { - private func setUpLayOuts() { - [infoLabel, detailLabel].forEach { - self.addSubview($0) - } - } - - private func setUpConstraints() { - infoLabel.snp.makeConstraints { make in - make.centerY.equalTo(self.snp.centerY) - make.leading.equalTo(self.snp.leading).offset(20) - make.width.equalTo(50) - make.height.equalTo(self.snp.height) - } - detailLabel.snp.makeConstraints { make in - make.leading.equalTo(infoLabel.snp.trailing).offset(10) - make.centerY.equalTo(self.snp.centerY) - make.trailing.equalTo(self.snp.trailing).offset(-5) - make.height.equalTo(self.snp.height) - } - } - - private func configureView() { - setUpLayOuts() - setUpConstraints() - } -} diff --git a/Koin/Presentation/Land/LandDetail/SubViews/LandImageCollectionView/LandImageCollectionView.swift b/Koin/Presentation/Land/LandDetail/SubViews/LandImageCollectionView/LandImageCollectionView.swift deleted file mode 100644 index 7c6c5e461..000000000 --- a/Koin/Presentation/Land/LandDetail/SubViews/LandImageCollectionView/LandImageCollectionView.swift +++ /dev/null @@ -1,84 +0,0 @@ -// -// LandImageCollectionView.swift -// koin -// -// Created by 김나훈 on 3/17/24. -// - -import Combine -import UIKit - -final class LandImageCollectionView: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout { - - private var imageList: [String] = [] - let indexPublisher = PassthroughSubject() - private var currentIndex: Int { - let visibleRect = CGRect(origin: self.contentOffset, size: self.bounds.size) - let visiblePoint = CGPoint(x: visibleRect.midX, y: visibleRect.midY) - let visibleIndexPath = self.indexPathForItem(at: visiblePoint) - return visibleIndexPath?.row ?? 0 - } - - override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) { - super.init(frame: frame, collectionViewLayout: layout) - commonInit() - } - - required init?(coder: NSCoder) { - super.init(coder: coder) - commonInit() - } - - private func commonInit() { - register(LandImageCollectionViewCell.self, forCellWithReuseIdentifier: LandImageCollectionViewCell.identifier) - dataSource = self - delegate = self - } - - func setImageList(_ list: [String]) { - imageList = list - indexPublisher.send("\(1)/\(imageList.count)") - self.reloadData() - } - /// 실제로 사진이 넘어가면 true를 돌려준다. - func scrollToPreviousItem() -> Bool { - guard currentIndex > 0 else { return false } - let indexPath = IndexPath(item: currentIndex - 1, section: 0) - self.scrollToItem(at: indexPath, at: .centeredHorizontally, animated: true) - return true - } - - func scrollToNextItem() -> Bool { - guard currentIndex < self.numberOfItems(inSection: 0) - 1 else { return false } - let indexPath = IndexPath(item: currentIndex + 1, section: 0) - self.scrollToItem(at: indexPath, at: .centeredHorizontally, animated: true) - return true - } -} - -extension LandImageCollectionView { - func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { - return imageList.count - } - - func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { - guard let cell = collectionView.dequeueReusableCell(withReuseIdentifier: LandImageCollectionViewCell.identifier, for: indexPath) as? LandImageCollectionViewCell else { - return UICollectionViewCell() - } - let imageItem = imageList[indexPath.row] - cell.configure(imageString: imageItem) - return cell - } - func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { - return CGSize(width: collectionView.frame.width, height: collectionView.frame.height) - } - - func scrollViewDidScroll(_ scrollView: UIScrollView) { - let width = scrollView.frame.width - (scrollView.contentInset.left*2) - let index = (scrollView.contentOffset.x + scrollView.contentInset.left) / width - let roundedIndex = round(index) - let cellIndex = Int(roundedIndex) - - indexPublisher.send("\(cellIndex+1)/\(imageList.count)") - } -} diff --git a/Koin/Presentation/Land/LandDetail/SubViews/LandImageCollectionView/LandImageCollectionViewCell.swift b/Koin/Presentation/Land/LandDetail/SubViews/LandImageCollectionView/LandImageCollectionViewCell.swift deleted file mode 100644 index 761807055..000000000 --- a/Koin/Presentation/Land/LandDetail/SubViews/LandImageCollectionView/LandImageCollectionViewCell.swift +++ /dev/null @@ -1,50 +0,0 @@ -// -// LandImageCollectionViewCell.swift -// koin -// -// Created by 김나훈 on 3/17/24. -// - -import Combine -import UIKit - -final class LandImageCollectionViewCell: UICollectionViewCell { - - // MARK: - UI Components - private let landImageView = UIImageView().then { _ in - } - - override init(frame: CGRect) { - super.init(frame: frame) - configureView() - } - - required init?(coder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - func configure(imageString: String) { - landImageView.loadImage(from: imageString) - } -} - -extension LandImageCollectionViewCell { - private func setUpLayouts() { - [landImageView].forEach { - contentView.addSubview($0) - } - } - - private func setUpConstraints() { - landImageView.snp.makeConstraints { make in - make.edges.equalToSuperview() - } - } - - private func configureView() { - setUpLayouts() - setUpConstraints() - self.backgroundColor = UIColor.appColor(.neutral400) - } - -} diff --git a/Koin/Presentation/Land/LandDetail/SubViews/LandOptionCollectionView/LandOptionCollectionView.swift b/Koin/Presentation/Land/LandDetail/SubViews/LandOptionCollectionView/LandOptionCollectionView.swift deleted file mode 100644 index 42e2e8a70..000000000 --- a/Koin/Presentation/Land/LandDetail/SubViews/LandOptionCollectionView/LandOptionCollectionView.swift +++ /dev/null @@ -1,55 +0,0 @@ -// -// LandOptionCollectionView.swift -// koin -// -// Created by 김나훈 on 3/17/24. -// - - -import UIKit - -final class LandOptionCollectionView: UICollectionView, UICollectionViewDataSource { - - // ???: 두개를 같이 가지고있는 타입을 만들어야할까? 투머치인것 같아서 그냥 따로 가지고 있다.. - private let optionImages: [ImageAsset] = [.option1, .option2, .option3, .option4, .option5, .option6, .option7, .option8, .option9, .option10, .option11, .option12, .option13, .option14, .option15, .option16] - private let descriptiontext: [String] = ["에어컨", "냉장고", "옷장", "TV", "전자렌지", "가스렌지", "인덕션", "정수기", "세탁기", "침대", "책상", "신발장", "도어락", "비데", "베란다", "엘리베이터"] - private var isOptionExists: [Bool] = [false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false] - - override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) { - super.init(frame: frame, collectionViewLayout: layout) - commonInit() - } - - required init?(coder: NSCoder) { - super.init(coder: coder) - commonInit() - } - - private func commonInit() { - register(LandOptionCollectionViewCell.self, forCellWithReuseIdentifier: LandOptionCollectionViewCell.identifier) - dataSource = self - } - - func setOptionExists(_ exists: [Bool]) { - isOptionExists = exists - reloadData() - } - -} - -extension LandOptionCollectionView { - func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { - return optionImages.count - } - - func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { - guard let cell = collectionView.dequeueReusableCell(withReuseIdentifier: LandOptionCollectionViewCell.identifier, for: indexPath) as? LandOptionCollectionViewCell else { - return UICollectionViewCell() - } - let imageItem = optionImages[indexPath.row] - let description = descriptiontext[indexPath.row] - let exist = isOptionExists[indexPath.row] - cell.configure(image: imageItem, text: description, exist: exist) - return cell - } -} diff --git a/Koin/Presentation/Land/LandDetail/SubViews/LandOptionCollectionView/LandOptionCollectionViewCell.swift b/Koin/Presentation/Land/LandDetail/SubViews/LandOptionCollectionView/LandOptionCollectionViewCell.swift deleted file mode 100644 index 6b3844c48..000000000 --- a/Koin/Presentation/Land/LandDetail/SubViews/LandOptionCollectionView/LandOptionCollectionViewCell.swift +++ /dev/null @@ -1,68 +0,0 @@ -// -// LandOptionCollectionViewCell.swift -// koin -// -// Created by 김나훈 on 3/17/24. -// - -import UIKit - -final class LandOptionCollectionViewCell: UICollectionViewCell { - - // MARK: - UI Components - private let imageView = UIImageView().then { _ in - } - - private let descriptionLabel = UILabel().then { - $0.textAlignment = .center - $0.font = UIFont.appFont(.pretendardRegular, size: 10) - $0.textColor = UIColor.appColor(.neutral500) - } - - override init(frame: CGRect) { - super.init(frame: frame) - configureView() - } - - required init?(coder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - func configure(image: ImageAsset, text: String, exist: Bool) { - imageView.image = UIImage.appImage(asset: image) - descriptionLabel.text = text - - imageView.alpha = exist ? 1.0 : 0.3 - descriptionLabel.alpha = exist ? 1.0 : 0.3 - - } -} - -extension LandOptionCollectionViewCell { - private func setUpLayouts() { - [imageView, descriptionLabel].forEach { - $0.translatesAutoresizingMaskIntoConstraints = false - contentView.addSubview($0) - } - } - - private func setUpConstraints() { - imageView.snp.makeConstraints { make in - make.centerX.equalTo(self.snp.centerX) - make.width.equalTo(20) - make.height.equalTo(20) - make.centerY.equalTo(self.snp.centerY).offset(-10) - } - descriptionLabel.snp.makeConstraints { make in - make.top.equalTo(imageView.snp.bottom).offset(10) - make.width.equalTo(self.snp.width) - make.centerX.equalTo(self.snp.centerX) - } - } - - private func configureView() { - setUpLayouts() - setUpConstraints() - } - -} diff --git a/Koin/Presentation/Land/LandDetail/SubViews/LandOptionView.swift b/Koin/Presentation/Land/LandDetail/SubViews/LandOptionView.swift deleted file mode 100644 index d9183ff6e..000000000 --- a/Koin/Presentation/Land/LandDetail/SubViews/LandOptionView.swift +++ /dev/null @@ -1,83 +0,0 @@ -// -// LandOptionView.swift -// koin -// -// Created by 김나훈 on 3/17/24. -// - -import UIKit - -final class LandOptionView: UIView { - - // MARK: - UI Components - - private let optionGuideLabel = UILabel().then { - $0.textAlignment = .center - $0.text = "원룸옵션" - $0.font = UIFont.appFont(.pretendardMedium, size: 14) - } - - private let optionCollectionView = LandOptionCollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout().then{ - $0.scrollDirection = .vertical - $0.itemSize = CGSize(width: 50, height: 50) - $0.minimumInteritemSpacing = ( UIScreen.main.bounds.width - (240)) / 6 - $0.sectionInset = UIEdgeInsets(top: 0, left: 20, bottom: 0, right: 20) - } - ).then { - $0.isScrollEnabled = false - } - - // MARK: Init - - override init(frame: CGRect) { - super.init(frame: frame) - configureView() - } - - required init?(coder: NSCoder) { - super.init(coder: coder) - } - - convenience init(frame: CGRect, text: String) { - self.init(frame: frame) - } - - func configure(_ list: [Bool]) { - optionCollectionView.setOptionExists(list) - } -} - -// MARK: UI Settings - -extension LandOptionView { - private func setUpLayOuts() { - [optionGuideLabel, optionCollectionView].forEach { - $0.translatesAutoresizingMaskIntoConstraints = false - self.addSubview($0) - } - } - - private func setUpConstraints() { - optionGuideLabel.snp.makeConstraints { make in - make.top.equalTo(self.snp.top).offset(15) - make.width.equalTo(self.snp.width) - } - optionCollectionView.snp.makeConstraints { make in - make.top.equalTo(optionGuideLabel.snp.bottom).offset(15) - make.leading.equalTo(self.snp.leading) - make.trailing.equalTo(self.snp.trailing) - make.bottom.equalTo(self.snp.bottom) - } - } - - private func setUpBorder() { - self.layer.borderWidth = 1.0 - self.layer.borderColor = UIColor.appColor(.neutral500).cgColor - } - - private func configureView() { - setUpLayOuts() - setUpConstraints() - setUpBorder() - } -} diff --git a/Koin/Presentation/Land/LandDetail/Subviews/LandDetailBottomSheetContentView.swift b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailBottomSheetContentView.swift new file mode 100644 index 000000000..ec6a1f2da --- /dev/null +++ b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailBottomSheetContentView.swift @@ -0,0 +1,112 @@ +// +// LandDetailBottomSheetContentView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandDetailBottomSheetContentView: UIView, KoinBottomSheetContent { + + // MARK: - Properties + weak var delegate: KoinBottomSheetDelegate? + let callTappedPublisher = PassthroughSubject() + + // MARK: - UI Components + private let contactStackView = UIStackView() + private let contactTitleLabel = UILabel() + private let phoneLabel = UILabel() + private let callButton = UIButton() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + callButton.addTarget(self, action: #selector(callButtonTapped), for: .touchUpInside) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandDetailBottomSheetContentView { + func configure(landDetail: LandDetail) { + phoneLabel.text = landDetail.phoneText + callButton.isEnabled = landDetail.phone != nil + } +} + +extension LandDetailBottomSheetContentView { + @objc private func callButtonTapped() { + callTappedPublisher.send() + } +} + +extension LandDetailBottomSheetContentView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = .appColor(.neutral0) + contactStackView.axis = .vertical + contactTitleLabel.do { + $0.text = "연락처" + $0.font = .appFont(.pretendardRegular, size: 12) + $0.textColor = .appColor(.neutral800) + } + phoneLabel.do { + $0.text = " " + $0.font = .appFont(.pretendardMedium, size: 14) + $0.textColor = .appColor(.neutral800) + } + callButton.do { + $0.isEnabled = false + $0.configurationUpdateHandler = { button in + var configuration = UIButton.Configuration.plain() + configuration.attributedTitle = AttributedString("전화 문의하기", attributes: AttributeContainer([ + .font: UIFont.appFont(.pretendardSemiBold, size: 15), + .foregroundColor: UIColor.appColor(.neutral0) + ])) + configuration.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 24, bottom: 0, trailing: 24) + configuration.background.backgroundColor = button.isEnabled ? .appColor(.new500) : .appColor(.neutral400) + configuration.background.cornerRadius = 8 + configuration.cornerStyle = .fixed + button.configuration = configuration + } + } + } + + private func setUpLayouts() { + [contactTitleLabel, phoneLabel].forEach { + contactStackView.addArrangedSubview($0) + } + [contactStackView, callButton].forEach { + addSubview($0) + } + } + + private func setUpConstraints() { + contactStackView.snp.makeConstraints { + $0.top.bottom.equalToSuperview().inset(16) + $0.leading.equalToSuperview().offset(24) + $0.trailing.lessThanOrEqualTo(callButton.snp.leading).offset(-8) + } + contactTitleLabel.snp.makeConstraints { + $0.height.equalTo(19) + } + phoneLabel.snp.makeConstraints { + $0.height.equalTo(22) + } + callButton.snp.makeConstraints { + $0.centerY.equalTo(contactStackView) + $0.trailing.equalToSuperview().offset(-24) + $0.height.equalTo(42) + } + } +} diff --git a/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageCollectionViewCell.swift b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageCollectionViewCell.swift new file mode 100644 index 000000000..4d374d3d0 --- /dev/null +++ b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageCollectionViewCell.swift @@ -0,0 +1,54 @@ +// +// LandDetailImageCollectionViewCell.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import SnapKit +import Kingfisher + +final class LandDetailImageCollectionViewCell: UICollectionViewCell { + + // MARK: - UI Components + private let imageView = UIImageView() + + // MARK: - Initializer + override init(frame: CGRect) { + super.init(frame: frame) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandDetailImageCollectionViewCell { + func configure(imageUrl: String) { + imageView.kf.setImage(with: URL(string: imageUrl)) + } +} + +extension LandDetailImageCollectionViewCell { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + clipsToBounds = true + imageView.contentMode = .scaleAspectFill + } + + private func setUpLayouts() { + contentView.addSubview(imageView) + } + + private func setUpConstraints() { + imageView.snp.makeConstraints { + $0.edges.equalToSuperview() + } + } +} diff --git a/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageEmptyView.swift b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageEmptyView.swift new file mode 100644 index 000000000..615b66e31 --- /dev/null +++ b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageEmptyView.swift @@ -0,0 +1,72 @@ +// +// LandDetailImageEmptyView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import SnapKit + +final class LandDetailImageEmptyView: UIView { + + // MARK: - UI Components + private let stackView = UIStackView() + private let imageView = UIImageView() + private let messageLabel = UILabel() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandDetailImageEmptyView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = UIColor(hexCode: "F8F8F8") + stackView.do { + $0.axis = .vertical + $0.spacing = 12 + $0.alignment = .center + } + imageView.do { + $0.image = .appImage(asset: .sleepBcsdSymbol) + $0.contentMode = .scaleAspectFit + } + messageLabel.do { + $0.text = "이미지 준비 중입니다." + $0.font = .appFont(.pretendardRegular, size: 14) + $0.textColor = .appColor(.neutral500) + } + } + + private func setUpLayouts() { + addSubview(stackView) + [imageView, messageLabel].forEach { + stackView.addArrangedSubview($0) + } + } + + private func setUpConstraints() { + stackView.snp.makeConstraints { + $0.center.equalToSuperview() + } + imageView.snp.makeConstraints { + $0.width.equalTo(98) + $0.height.equalTo(75) + } + messageLabel.snp.makeConstraints { + $0.height.equalTo(22) + } + } +} diff --git a/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageView.swift b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageView.swift new file mode 100644 index 000000000..996f0279b --- /dev/null +++ b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailImageView.swift @@ -0,0 +1,139 @@ +// +// LandDetailImageView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandDetailImageView: UIView { + + // MARK: - Properties + let imageTappedPublisher = PassthroughSubject<([String], IndexPath), Never>() + private var imageUrls: [String] = [] + + // MARK: - UI Components + private let stackView = UIStackView() + private let imageContainerView = UIView() + private let collectionViewLayout = UICollectionViewFlowLayout() + private lazy var collectionView = UICollectionView(frame: .zero, collectionViewLayout: collectionViewLayout) + private let emptyView = LandDetailImageEmptyView() + private let pageControl = UIPageControl() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + override func layoutSubviews() { + super.layoutSubviews() + if collectionViewLayout.itemSize != collectionView.bounds.size { + collectionViewLayout.itemSize = collectionView.bounds.size + collectionViewLayout.invalidateLayout() + } + } +} + +extension LandDetailImageView { + func configure(imageUrls: [String]) { + self.imageUrls = imageUrls + collectionView.reloadData() + collectionView.isHidden = imageUrls.isEmpty + emptyView.isHidden = !imageUrls.isEmpty + pageControl.numberOfPages = imageUrls.count + pageControl.currentPage = 0 + pageControl.isHidden = imageUrls.count <= 1 + } +} + +extension LandDetailImageView: UICollectionViewDataSource { + func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { + imageUrls.count + } + + func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { + guard let cell = collectionView.dequeueReusableCell(withReuseIdentifier: LandDetailImageCollectionViewCell.identifier, for: indexPath) as? LandDetailImageCollectionViewCell else { + return UICollectionViewCell() + } + cell.configure(imageUrl: imageUrls[indexPath.item]) + return cell + } +} + +extension LandDetailImageView: UICollectionViewDelegate { + func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { + imageTappedPublisher.send((imageUrls, indexPath)) + } + + func scrollViewDidScroll(_ scrollView: UIScrollView) { + guard scrollView.bounds.width > 0 else { return } + pageControl.currentPage = Int((scrollView.contentOffset.x / scrollView.bounds.width).rounded()) + } +} + +extension LandDetailImageView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + stackView.axis = .vertical + imageContainerView.backgroundColor = UIColor(hexCode: "F8F8F8") + collectionViewLayout.do { + $0.scrollDirection = .horizontal + $0.minimumLineSpacing = 0 + } + collectionView.do { + $0.register(LandDetailImageCollectionViewCell.self, forCellWithReuseIdentifier: LandDetailImageCollectionViewCell.identifier) + $0.dataSource = self + $0.delegate = self + $0.isPagingEnabled = true + $0.showsHorizontalScrollIndicator = false + $0.backgroundColor = UIColor(hexCode: "F8F8F8") + $0.isHidden = true + } + emptyView.isHidden = true + pageControl.do { + $0.pageIndicatorTintColor = .appColor(.neutral300) + $0.currentPageIndicatorTintColor = .appColor(.new400) + $0.isUserInteractionEnabled = false + $0.isHidden = true + } + } + + private func setUpLayouts() { + addSubview(stackView) + [imageContainerView, pageControl].forEach { + stackView.addArrangedSubview($0) + } + [collectionView, emptyView].forEach { + imageContainerView.addSubview($0) + } + } + + private func setUpConstraints() { + stackView.snp.makeConstraints { + $0.edges.equalToSuperview() + } + imageContainerView.snp.makeConstraints { + $0.height.equalTo(imageContainerView.snp.width).multipliedBy(9.0 / 16.0) + } + [collectionView, emptyView].forEach { + $0.snp.makeConstraints { + $0.edges.equalToSuperview() + } + } + pageControl.snp.makeConstraints { + $0.height.equalTo(30) + } + } +} diff --git a/Koin/Presentation/Land/LandDetail/Subviews/LandDetailInfoView.swift b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailInfoView.swift new file mode 100644 index 000000000..aa37414f1 --- /dev/null +++ b/Koin/Presentation/Land/LandDetail/Subviews/LandDetailInfoView.swift @@ -0,0 +1,118 @@ +// +// LandDetailInfoView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import SnapKit + +final class LandDetailInfoView: UIView { + + // MARK: - UI Components + private let stackView = UIStackView() + private let titleLabel = UILabel() + private let rowStackView = UIStackView() + private let rentValueLabel = UILabel() + private let depositValueLabel = UILabel() + private let sizeValueLabel = UILabel() + private let roomTypeValueLabel = UILabel() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandDetailInfoView { + func configure(landDetail: LandDetail) { + rentValueLabel.text = landDetail.rentText + depositValueLabel.text = landDetail.depositText + sizeValueLabel.text = landDetail.sizeText + roomTypeValueLabel.text = landDetail.roomTypeText + } +} + +extension LandDetailInfoView { + private func makeRow(title: String, valueLabel: UILabel) -> UIView { + let titleLabel = UILabel() + titleLabel.do { + $0.text = title + $0.font = .appFont(.pretendardRegular, size: 12) + $0.textColor = UIColor.ColorSystem.Neutral.gray600 + } + valueLabel.do { + $0.font = .appFont(.pretendardRegular, size: 12) + $0.textColor = .appColor(.neutral700) + $0.numberOfLines = 0 + } + let rowView = UIView() + [titleLabel, valueLabel].forEach { + rowView.addSubview($0) + } + titleLabel.snp.makeConstraints { + $0.leading.top.equalToSuperview() + $0.width.equalTo(100) + $0.height.equalTo(19) + } + valueLabel.snp.makeConstraints { + $0.leading.equalTo(titleLabel.snp.trailing) + $0.trailing.top.bottom.equalToSuperview() + $0.height.greaterThanOrEqualTo(19) + } + return rowView + } +} + +extension LandDetailInfoView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + stackView.do { + $0.axis = .vertical + $0.spacing = 8 + } + titleLabel.do { + $0.text = "원룸 정보" + $0.font = .appFont(.pretendardMedium, size: 16) + $0.textColor = .appColor(.neutral700) + } + rowStackView.do { + $0.axis = .vertical + $0.spacing = 8 + } + } + + private func setUpLayouts() { + addSubview(stackView) + [titleLabel, rowStackView].forEach { + stackView.addArrangedSubview($0) + } + [ + makeRow(title: "월세/ 전세", valueLabel: rentValueLabel), + makeRow(title: "보증금/ 관리비", valueLabel: depositValueLabel), + makeRow(title: "방크기", valueLabel: sizeValueLabel), + makeRow(title: "방종류", valueLabel: roomTypeValueLabel) + ].forEach { + rowStackView.addArrangedSubview($0) + } + } + + private func setUpConstraints() { + stackView.snp.makeConstraints { + $0.edges.equalToSuperview() + } + titleLabel.snp.makeConstraints { + $0.height.equalTo(26) + } + } +} diff --git a/Koin/Presentation/Land/LandList/LandListViewController.swift b/Koin/Presentation/Land/LandList/LandListViewController.swift new file mode 100644 index 000000000..013ece116 --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandListViewController.swift @@ -0,0 +1,272 @@ +// +// LandListViewController.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandListViewController: UIViewController { + + // MARK: - Properties + private var landList: LandList = LandList.empty + private let viewModel: LandListViewModel + private let inputSubject = PassthroughSubject() + private var subscriptions: Set = [] + private weak var bottomSheetController: KoinBottomSheetController? + private var zoomControlBottomConstraint: Constraint? + + // MARK: - State + private var focusedMarkerKey: LandMarkerKey? { + didSet { + if let focusedMarkerKey, + let focusedRow = landList.rows.first(where: { $0.id == focusedMarkerKey.identifier }), + let coordinate = focusedRow.coordinate { + mapView.configure(focusedMarkerKey) + bottomSheetController?.configuration.behavior.expandToFullScreenOnDrag = false + bottomSheetContentView.showFocused(row: focusedRow) + mapView.focus(on: coordinate) + } else { + let listFilter = listFilter + self.listFilter = listFilter + bottomSheetController?.configuration.behavior.expandToFullScreenOnDrag = true + bottomSheetContentView.showList() + } + } + } + private var listFilter: LandListFilter = .all { + didSet { + let filteredList: LandList + switch listFilter { + case .all: + filteredList = landList + case .monthly: + filteredList = LandList(rows: landList.rows.filter(\.isMonthlyAvailable)) + case .charter: + filteredList = LandList(rows: landList.rows.filter(\.isCharterAvailable)) + } + mapView.configure(filteredList.rows.compactMap { + LandMarkerKey(id: $0.id, coordinate: $0.coordinate) + }) + bottomSheetContentView.configure(filter: listFilter, rows: filteredList.rows) + } + } + + // MARK: - UI Components + private let mapView = LandMapView() + private let bottomSheetContentView = LandListBottomSheetContentView() + private let zoomControlView = LandMapZoomControlView() + private let navigationBarView = UIView() + private let navigationTitleLabel = UILabel() + private let backButton = UIButton(type: .system) + private let searchButton = UIButton(type: .system) + + + // MARK: - Initializer + init(viewModel: LandListViewModel) { + self.viewModel = viewModel + super.init(nibName: nil, bundle: nil) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + // MARK: - Life Cycle + override func viewDidLoad() { + super.viewDidLoad() + configureView() + presentLandListBottomSheet() + bind() + inputSubject.send(.viewDidLoad) + } + + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + navigationController?.setNavigationBarHidden(true, animated: animated) + } + + override func viewWillDisappear(_ animated: Bool) { + super.viewWillDisappear(animated) + navigationController?.setNavigationBarHidden(false, animated: animated) + } +} + +extension LandListViewController { + private func bind() { + viewModel.transform(with: inputSubject.eraseToAnyPublisher()) + .receive(on: DispatchQueue.main) + .sink { [weak self] output in + guard let self else { return } + switch output { + case let .updateLandList(landList): + self.landList = landList + let listFilter = listFilter + self.listFilter = listFilter + if let medianCoordinate = landList.medianCoordinate { + mapView.focus(on: medianCoordinate, animationDuration: 0) + } + case let .showToastMessage(message): + showToastMessage(message: message) + } + } + .store(in: &subscriptions) + + mapView.markerTappedPublisher + .receive(on: DispatchQueue.main) + .sink { [weak self] focusedMarkerKey in + self?.focusedMarkerKey = focusedMarkerKey + } + .store(in: &subscriptions) + + bottomSheetContentView.filterTappedPublisher + .sink { [weak self] listFilter in + self?.listFilter = listFilter + } + .store(in: &subscriptions) + + bottomSheetContentView.closeTappedPublisher + .sink { [weak self] in + self?.focusedMarkerKey = nil + } + .store(in: &subscriptions) + + bottomSheetContentView.rowTappedPublisher + .merge(with: bottomSheetContentView.detailTappedPublisher) + .sink { [weak self] landRow in + self?.pushLandDetailViewController(landRow: landRow) + } + .store(in: &subscriptions) + + zoomControlView.zoomInTappedPublisher + .sink { [weak self] in + self?.mapView.zoomIn() + } + .store(in: &subscriptions) + + zoomControlView.zoomOutTappedPublisher + .sink { [weak self] in + self?.mapView.zoomOut() + } + .store(in: &subscriptions) + } +} + +extension LandListViewController { + private func presentLandListBottomSheet() { + var configuration = KoinBottomSheetConfiguration() + configuration.style = .persistent + configuration.behavior.expandToFullScreenOnDrag = true + configuration.onTargetFrameChange = { [weak self] sheetFrame in + self?.layoutAboveBottomSheet(sheetFrame: sheetFrame) + } + bottomSheetController = presentBottomSheet(bottomSheetContentView, configuration: configuration) + } + + private func layoutAboveBottomSheet(sheetFrame: CGRect) { + let sheetTop = view.convert(sheetFrame, from: nil).minY + let isFullScreen = sheetTop <= mapView.frame.minY + 0.5 + zoomControlView.alpha = isFullScreen ? 0 : 1 + guard !isFullScreen else { return } + mapView.setContentInset(bottom: max(0, mapView.frame.maxY - sheetTop)) + zoomControlBottomConstraint?.update(offset: sheetTop - view.bounds.height - 18) + view.layoutIfNeeded() + } +} + +extension LandListViewController { + private func pushLandDetailViewController(landRow: LandRow) { + let landService = DefaultLandService() + let landRepository = DefaultLandRepository(service: landService) + let fetchLandDetailUseCase = DefaultFetchLandDetailUseCase(landRepository: landRepository) + let viewModel = LandDetailViewModel(landRow: landRow, fetchLandDetailUseCase: fetchLandDetailUseCase) + let viewController = LandDetailViewController(viewModel: viewModel) + navigationController?.pushViewController(viewController, animated: true) + } +} + +extension LandListViewController { + private func pushLandSearchViewController() { + let landService = DefaultLandService() + let landRepository = DefaultLandRepository(service: landService) + let fetchLandListUseCase = DefaultFetchLandListUseCase(landRepository: landRepository) + let viewModel = LandSearchViewModel(fetchLandListUseCase: fetchLandListUseCase) + let viewController = LandSearchViewController(viewModel: viewModel) + navigationController?.pushViewController(viewController, animated: true) + } + + @objc private func searchButtonTapped() { + pushLandSearchViewController() + } + + @objc private func backButtonTapped() { + navigationController?.popViewController(animated: true) + } +} + +extension LandListViewController { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + additionalSafeAreaInsets.top = 44 + + navigationBarView.backgroundColor = .appColor(.neutral0) + + navigationTitleLabel.text = "복덕방" + navigationTitleLabel.font = .appFont(.pretendardMedium, size: 18) + navigationTitleLabel.textColor = .appColor(.neutral800) + + let backImage = UIImage.appImage(symbol: .chevronLeft)? + .withConfiguration(UIImage.SymbolConfiguration(pointSize: 17, weight: .semibold, scale: .large)) + backButton.setImage(backImage, for: .normal) + backButton.tintColor = .appColor(.neutral800) + backButton.accessibilityLabel = "뒤로가기" + backButton.addTarget(self, action: #selector(backButtonTapped), for: .touchUpInside) + searchButton.setImage(UIImage.appImage(asset: .landSearch)?.withRenderingMode(.alwaysOriginal), for: .normal) + searchButton.accessibilityLabel = "검색" + searchButton.addTarget(self, action: #selector(searchButtonTapped), for: .touchUpInside) + } + + private func setUpLayouts() { + [mapView, navigationBarView, zoomControlView].forEach { + view.addSubview($0) + } + [navigationTitleLabel, backButton, searchButton].forEach { + navigationBarView.addSubview($0) + } + } + + private func setUpConstraints() { + mapView.snp.makeConstraints { + $0.edges.equalTo(view.safeAreaLayoutGuide) + } + navigationBarView.snp.makeConstraints { + $0.top.leading.trailing.equalToSuperview() + $0.bottom.equalTo(view.safeAreaLayoutGuide.snp.top) + } + backButton.snp.makeConstraints { + $0.leading.equalToSuperview().offset(8) + $0.bottom.equalToSuperview() + $0.size.equalTo(44) + } + searchButton.snp.makeConstraints { + $0.trailing.equalToSuperview().offset(-8) + $0.bottom.equalToSuperview() + $0.size.equalTo(44) + } + navigationTitleLabel.snp.makeConstraints { + $0.centerX.equalToSuperview() + $0.centerY.equalTo(backButton) + } + zoomControlView.snp.makeConstraints { + $0.trailing.equalToSuperview().offset(-12) + zoomControlBottomConstraint = $0.bottom.equalToSuperview().constraint + } + } +} diff --git a/Koin/Presentation/Land/LandList/LandListViewModel.swift b/Koin/Presentation/Land/LandList/LandListViewModel.swift new file mode 100644 index 000000000..63ea72f04 --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandListViewModel.swift @@ -0,0 +1,59 @@ +// +// LandListViewModel.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import Combine + +final class LandListViewModel: ViewModelProtocol { + enum Input { + case viewDidLoad + } + enum Output { + case updateLandList(LandList) + case showToastMessage(String) + } + + // MARK: - Properties + private let fetchLandListUseCase: DefaultFetchLandListUseCase + + let outputSubject = PassthroughSubject() + private var subscriptions: Set = [] + + // MARK: - Initializer + init(fetchLandListUseCase: DefaultFetchLandListUseCase) { + self.fetchLandListUseCase = fetchLandListUseCase + } +} + +extension LandListViewModel { + func transform(with input: AnyPublisher) -> AnyPublisher { + input.sink { [weak self] input in + guard let self else { return } + switch input { + case .viewDidLoad: + fetchLandList() + } + } + .store(in: &subscriptions) + + return outputSubject.eraseToAnyPublisher() + } +} + +extension LandListViewModel { + private func fetchLandList() { + fetchLandListUseCase.execute(query: nil).sink( + receiveCompletion: { [weak self] completion in + if case .failure(let error) = completion { + self?.outputSubject.send(.showToastMessage(error.message)) + } + }, + receiveValue: { [weak self] landList in + self?.outputSubject.send(.updateLandList(landList)) + } + ).store(in: &subscriptions) + } +} diff --git a/Koin/Presentation/Land/LandList/LandMapView/LandMapView+ClusterMarkerUpdater.swift b/Koin/Presentation/Land/LandList/LandMapView/LandMapView+ClusterMarkerUpdater.swift new file mode 100644 index 000000000..6adf215ba --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandMapView/LandMapView+ClusterMarkerUpdater.swift @@ -0,0 +1,34 @@ +// +// LandMapView+ClusterMarkerUpdater.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import NMapsMap + +final class LandMapViewClusterMarkerUpdater: NMCDefaultClusterMarkerUpdater { + typealias ItemKey = LandMarkerKey + + override func updateClusterMarker(_ info: NMCClusterMarkerInfo, _ marker: NMFMarker) { + super.updateClusterMarker(info, marker) + + marker.captionText = "" + + switch info.size { + case 1: + marker.iconImage = .LandMarker + case 2...3: + marker.iconImage = .LandCluster2to3 + case 4...6: + marker.iconImage = .LandCluster4to6 + case 7...9: + marker.iconImage = .LandCluster7to9 + case 10...12: + marker.iconImage = .LandCluster10to12 + default: + marker.iconImage = .LandCluster10to12 // FIXME: 디자인 추가 필요 + } + } +} + diff --git a/Koin/Presentation/Land/LandList/LandMapView/LandMapView+LeafMarkerUpdater.swift b/Koin/Presentation/Land/LandList/LandMapView/LandMapView+LeafMarkerUpdater.swift new file mode 100644 index 000000000..90a7d812d --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandMapView/LandMapView+LeafMarkerUpdater.swift @@ -0,0 +1,27 @@ +// +// LandMapView+LeafMarkerUpdater.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import NMapsMap +import Combine + +final class LandMapViewLeafMarkerUpdater: NMCDefaultLeafMarkerUpdater { + typealias ItemKey = LandMarkerKey + + let markerTappedPublisher = PassthroughSubject() + + override func updateLeafMarker(_ info: NMCLeafMarkerInfo, _ marker: NMFMarker) { + super.updateLeafMarker(info, marker) + + if let key = info.key as? ItemKey { + marker.iconImage = .LandMarker + marker.touchHandler = { [weak self] _ in + self?.markerTappedPublisher.send(key) + return true + } + } + } +} diff --git a/Koin/Presentation/Land/LandList/LandMapView/LandMapView+OverlayImage.swift b/Koin/Presentation/Land/LandList/LandMapView/LandMapView+OverlayImage.swift new file mode 100644 index 000000000..5d7072762 --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandMapView/LandMapView+OverlayImage.swift @@ -0,0 +1,31 @@ +// +// LandMapView+OverlayImage.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import NMapsMap + +extension NMFOverlayImage { + static let LandMarker = NMFOverlayImage( + image: UIImage.appImage(asset: .landMarker) ?? UIImage(), + reuseIdentifier: ImageAsset.landMarker.rawValue + ) + static let LandCluster2to3 = NMFOverlayImage( + image: UIImage.appImage(asset: .landCluster2to3) ?? UIImage(), + reuseIdentifier: ImageAsset.landCluster2to3.rawValue + ) + static let LandCluster4to6 = NMFOverlayImage( + image: UIImage.appImage(asset: .landCluster4to6) ?? UIImage(), + reuseIdentifier: ImageAsset.landCluster4to6.rawValue + ) + static let LandCluster7to9 = NMFOverlayImage( + image: UIImage.appImage(asset: .landCluster7to9) ?? UIImage(), + reuseIdentifier: ImageAsset.landCluster7to9.rawValue + ) + static let LandCluster10to12 = NMFOverlayImage( + image: UIImage.appImage(asset: .landCluster10to12) ?? UIImage(), + reuseIdentifier: ImageAsset.landCluster10to12.rawValue + ) +} diff --git a/Koin/Presentation/Land/LandList/LandMapView/LandMapView.swift b/Koin/Presentation/Land/LandList/LandMapView/LandMapView.swift new file mode 100644 index 000000000..8874e290a --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandMapView/LandMapView.swift @@ -0,0 +1,114 @@ +// +// LandMapView.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import UIKit +import NMapsMap +import Combine +import SnapKit + +final class LandMapView: UIView { + typealias ItemKey = LandMarkerKey + + private static let initialCoordinate = LandCoordinate(latitude: 36.766205, longitude: 127.284638) + + // MARK: - Properties + var markerTappedPublisher: AnyPublisher { + leafMarkerUpdater.markerTappedPublisher.eraseToAnyPublisher() + } + + // MARK: - Cluster + private let leafMarkerUpdater = LandMapViewLeafMarkerUpdater() + private lazy var builder = NMCBuilder().then { + $0.leafMarkerUpdater = leafMarkerUpdater + $0.clusterMarkerUpdater = LandMapViewClusterMarkerUpdater() + } + private lazy var clusterer = builder.build().then { + $0.mapView = mapView + } + + // MARK: - UI Components + private let mapView = NMFMapView().then { + $0.mapType = .basic + $0.minZoomLevel = 12 + } + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + focus(on: Self.initialCoordinate, animationDuration: 0) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandMapView { + func configure(_ markerKeys: [ItemKey]) { + let keyTagMap = markerKeys.reduce(into: [ItemKey: NSNull]()) { result, markerKey in + result[markerKey] = NSNull() + } + clusterer.clear() + clusterer.addAll(keyTagMap) + } + + func configure(_ markerKey: ItemKey) { + configure([markerKey]) + } +} + +extension LandMapView { + /// safeAreaInsets.bottom 을 제외한 바텀시트 콘텐츠 높이만큼 contentInset.bottom 을 적용한다 + func setContentInset(bottom: CGFloat) { + mapView.contentInset = UIEdgeInsets( + top: 0, + left: 0, + bottom: bottom, + right: 0 + ) + } +} + +extension LandMapView { + func focus( + on coordinate: LandCoordinate, + animationDuration: TimeInterval = 0.2 + ) { + let cameraUpdate = NMFCameraUpdate( + scrollTo: NMGLatLng( + lat: coordinate.latitude, + lng: coordinate.longitude + ) + ) + cameraUpdate.animation = .easeOut + cameraUpdate.animationDuration = animationDuration + mapView.moveCamera(cameraUpdate) + } +} + +extension LandMapView { + func zoomIn() { + let cameraUpdate = NMFCameraUpdate.withZoomIn() + cameraUpdate.animation = .easeOut + mapView.moveCamera(cameraUpdate) + } + + func zoomOut() { + let cameraUpdate = NMFCameraUpdate.withZoomOut() + cameraUpdate.animation = .easeOut + mapView.moveCamera(cameraUpdate) + } +} + +extension LandMapView { + private func configureView() { + addSubview(mapView) + mapView.snp.makeConstraints { + $0.edges.equalToSuperview() + } + } +} diff --git a/Koin/Presentation/Land/LandList/LandMapView/LandMarkerKey.swift b/Koin/Presentation/Land/LandList/LandMapView/LandMarkerKey.swift new file mode 100644 index 000000000..6fff40ccc --- /dev/null +++ b/Koin/Presentation/Land/LandList/LandMapView/LandMarkerKey.swift @@ -0,0 +1,63 @@ +// +// LandMarkerKey.swift +// koin +// +// Created by 홍기정 on 11/22/26. +// + +import Foundation +import NMapsMap + +final class LandMarkerKey: NSObject { + // MARK: - Properties + let identifier: Int + let position: NMGLatLng + + // MARK: - Initializer + convenience init?( + id identifier: Int, + coordinate: LandCoordinate? + ) { + guard let coordinate else { + return nil + } + self.init( + id: identifier, + position: NMGLatLng( + lat: coordinate.latitude, + lng: coordinate.longitude + ) + ) + } + + init( + id identifier: Int, + position: NMGLatLng + ) { + self.identifier = identifier + self.position = position + } +} + +extension LandMarkerKey: NMCClusteringKey { + override func isEqual(_ object: Any?) -> Bool { + guard let object = object as? Self else { + return false + } + if object === self { + return true + } + return object.identifier == self.identifier + } + + override var hash: Int { + self.identifier + } + + func copy(with zone: NSZone? = nil) -> Any { + return Self.init( + id: identifier, + position: self.position + ) + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListBadgeView.swift b/Koin/Presentation/Land/LandList/Subviews/LandListBadgeView.swift new file mode 100644 index 000000000..b0d170b10 --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListBadgeView.swift @@ -0,0 +1,84 @@ +// +// LandListBadgeView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import SnapKit + +final class LandListBadgeView: UIView { + enum Style { + case monthly + case charter + + var title: String { + switch self { + case .monthly: LandListFilter.monthly.displayName + case .charter: LandListFilter.charter.displayName + } + } + var textColor: ColorAsset { + switch self { + case .monthly: .success700 + case .charter: .warning600 + } + } + var backgroundColor: ColorAsset { + switch self { + case .monthly: .success200 + case .charter: .warning100 + } + } + } + + // MARK: - Properties + private let style: Style + + // MARK: - UI Components + private let titleLabel = UILabel() + + // MARK: - Initializer + init(style: Style) { + self.style = style + super.init(frame: .zero) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListBadgeView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = .appColor(style.backgroundColor) + layer.cornerRadius = 9 + clipsToBounds = true + titleLabel.do { + $0.text = style.title + $0.font = .appFont(.pretendardMedium, size: 10) + $0.textColor = .appColor(style.textColor) + } + } + + private func setUpLayouts() { + addSubview(titleLabel) + } + + private func setUpConstraints() { + snp.makeConstraints { + $0.height.equalTo(18) + } + titleLabel.snp.makeConstraints { + $0.centerY.equalToSuperview() + $0.leading.trailing.equalToSuperview().inset(8) + } + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListBottomSheetContentView.swift b/Koin/Presentation/Land/LandList/Subviews/LandListBottomSheetContentView.swift new file mode 100644 index 000000000..f828f4010 --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListBottomSheetContentView.swift @@ -0,0 +1,135 @@ +// +// LandListBottomSheetContentView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandListBottomSheetContentView: UIView, KoinBottomSheetContent { + // MARK: - Properties + weak var delegate: KoinBottomSheetDelegate? + var filterTappedPublisher: PassthroughSubject { + filterView.filterTappedPublisher + } + var closeTappedPublisher: PassthroughSubject { + focusedView.closeTappedPublisher + } + var rowTappedPublisher: PassthroughSubject { + tableView.rowTappedPublisher + } + var detailTappedPublisher: PassthroughSubject { + focusedView.detailTappedPublisher + } + + // MARK: - UI Components + private let titleLabel = UILabel() + private let filterView = LandListFilterView() + private let tableView = LandListTableView() + private let listView = UIView() + + private let focusedView = LandListFocusedView() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListBottomSheetContentView { + func sheetHeight(in context: KoinBottomSheetContext) -> CGFloat { + if focusedView.isHidden { + return context.maximumHeight / 2 + } + let focusedHeight = focusedView.systemLayoutSizeFitting( + CGSize(width: context.width, height: 0), + withHorizontalFittingPriority: .required, + verticalFittingPriority: .fittingSizeLevel + ).height + return min(focusedHeight, context.maximumHeight) + } +} + +extension LandListBottomSheetContentView { + func configure( + filter: LandListFilter, + rows: [LandRow] + ) { + titleLabel.text = "\(LandListFilter.all.displayName)(\(rows.count))" + filterView.configure(selectedFilter: filter) + tableView.configure(rows: rows) + } + + func showFocused(row: LandRow) { + focusedView.configure(row: row) + listView.isHidden = true + focusedView.isHidden = false + delegate?.invalidateHeight(animated: true) + } + + func showList() { + guard listView.isHidden else { return } + listView.isHidden = false + focusedView.isHidden = true + delegate?.invalidateHeight(animated: true) + } +} + +extension LandListBottomSheetContentView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = .appColor(.neutral0) + + titleLabel.do { + $0.font = .appFont(.pretendardSemiBold, size: 18) + $0.textColor = UIColor.ColorSystem.Neutral.gray800 + } + focusedView.do { + $0.isHidden = true + } + } + + private func setUpLayouts() { + [listView, focusedView].forEach { + addSubview($0) + } + [titleLabel, filterView, tableView].forEach { + listView.addSubview($0) + } + } + + private func setUpConstraints() { + listView.snp.makeConstraints { + $0.edges.equalToSuperview() + } + focusedView.snp.makeConstraints { + $0.top.leading.trailing.equalToSuperview() + $0.bottom.lessThanOrEqualToSuperview() + } + titleLabel.snp.makeConstraints { + $0.top.equalToSuperview().offset(12) + $0.leading.trailing.equalToSuperview().inset(32) + $0.height.equalTo(54) + } + filterView.snp.makeConstraints { + $0.top.equalTo(titleLabel.snp.bottom) + $0.leading.trailing.equalToSuperview() + } + tableView.snp.makeConstraints { + $0.top.equalTo(filterView.snp.bottom) + $0.leading.trailing.bottom.equalToSuperview() + } + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListFilterButton.swift b/Koin/Presentation/Land/LandList/Subviews/LandListFilterButton.swift new file mode 100644 index 000000000..938df374f --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListFilterButton.swift @@ -0,0 +1,60 @@ +// +// LandListFilterButton.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit + +final class LandListFilterButton: UIButton { + enum Style { + case selected + case deselected + + var textColor: ColorAsset { + switch self { + case .selected: .neutral0 + case .deselected: .new500 + } + } + var backgroundColor: ColorAsset { + switch self { + case .selected: .new500 + case .deselected: .neutral0 + } + } + var borderColor: ColorAsset { + .new500 + } + } + + init(title: String) { + super.init(frame: .zero) + self.configurationUpdateHandler = { [weak self] button in + guard let self else { return } + let configuration = configuration(title: title, isSelected: button.isSelected) + self.configuration = configuration + } + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListFilterButton { + private func configuration(title: String, isSelected: Bool) -> UIButton.Configuration { + let style: Style = isSelected ? .selected : .deselected + var configuration = UIButton.Configuration.plain() + configuration.attributedTitle = AttributedString(title, attributes: AttributeContainer([ + .font: UIFont.appFont(.pretendardSemiBold, size: 14), + .foregroundColor: UIColor.appColor(style.textColor) + ])) + configuration.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 18.5, bottom: 0, trailing: 18.5) + configuration.background.backgroundColor = .appColor(style.backgroundColor) + configuration.background.strokeColor = .appColor(style.borderColor) + configuration.background.strokeWidth = 1 + configuration.cornerStyle = .capsule + return configuration + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListFilterView.swift b/Koin/Presentation/Land/LandList/Subviews/LandListFilterView.swift new file mode 100644 index 000000000..4ff1a8efc --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListFilterView.swift @@ -0,0 +1,89 @@ +// +// LandListFilterView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandListFilterView: UIView { + + // MARK: - Properties + let filterTappedPublisher = PassthroughSubject() + private let filters = LandListFilter.allCases + + // MARK: - UI Components + private let stackView = UIStackView() + private lazy var buttons = filters.map { + LandListFilterButton(title: $0.displayName) + } + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + setAddTargets() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListFilterView { + func configure(selectedFilter: LandListFilter) { + zip(filters, buttons).forEach { filter, button in + button.isSelected = filter == selectedFilter + } + } +} + +extension LandListFilterView { + private func setAddTargets() { + buttons.forEach { + $0.addTarget(self, action: #selector(filterButtonTapped(_:)), for: .touchUpInside) + } + } + + @objc private func filterButtonTapped(_ sender: LandListFilterButton) { + guard let index = buttons.firstIndex(of: sender) else { return } + filterTappedPublisher.send(filters[index]) + } +} + +extension LandListFilterView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + stackView.axis = .horizontal + stackView.spacing = 8 + stackView.alignment = .center + } + + private func setUpLayouts() { + addSubview(stackView) + buttons.forEach { + stackView.addArrangedSubview($0) + } + } + + private func setUpConstraints() { + stackView.snp.makeConstraints { + $0.top.equalToSuperview().offset(12) + $0.bottom.equalToSuperview().offset(-8) + $0.leading.equalToSuperview().offset(24) + $0.trailing.lessThanOrEqualToSuperview().offset(-24) + } + buttons.forEach { button in + button.snp.makeConstraints { + $0.height.equalTo(34) + } + } + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListFocusedView.swift b/Koin/Presentation/Land/LandList/Subviews/LandListFocusedView.swift new file mode 100644 index 000000000..acfa1dd57 --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListFocusedView.swift @@ -0,0 +1,152 @@ +// +// LandListFocusedView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandListFocusedView: UIView { + + // MARK: - Properties + let closeTappedPublisher = PassthroughSubject() + let detailTappedPublisher = PassthroughSubject() + private var row: LandRow? + + // MARK: - UI Components + private let nameLabel = UILabel() + private let roomTypeLabel = UILabel() + private let closeButton = UIButton(type: .system) + private let addressLabel = UILabel() + private let monthlyBadge = LandListBadgeView(style: .monthly) + private let charterBadge = LandListBadgeView(style: .charter) + private let titleStackView = UIStackView() + private let badgeStackView = UIStackView() + private let detailButton = UIButton() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + closeButton.addTarget(self, action: #selector(closeButtonTapped), for: .touchUpInside) + detailButton.addTarget(self, action: #selector(detailButtonTapped), for: .touchUpInside) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListFocusedView { + func configure(row: LandRow) { + self.row = row + nameLabel.text = row.name + roomTypeLabel.text = row.roomType + addressLabel.text = row.address + monthlyBadge.isHidden = !row.isMonthlyAvailable + charterBadge.isHidden = !row.isCharterAvailable + badgeStackView.isHidden = !row.isMonthlyAvailable && !row.isCharterAvailable + } +} + +extension LandListFocusedView { + @objc private func closeButtonTapped() { + closeTappedPublisher.send() + } + + @objc private func detailButtonTapped() { + guard let row else { return } + detailTappedPublisher.send(row) + } +} + +extension LandListFocusedView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = .appColor(.neutral0) + nameLabel.do { + $0.font = .appFont(.pretendardSemiBold, size: 16) + $0.textColor = .appColor(.neutral800) + $0.setContentCompressionResistancePriority(.required, for: .horizontal) + } + roomTypeLabel.do { + $0.font = .appFont(.pretendardRegular, size: 10) + $0.textColor = UIColor.ColorSystem.Neutral.gray600 + } + closeButton.do { + $0.setImage(UIImage.appImage(asset: .cancel)?.withRenderingMode(.alwaysTemplate), for: .normal) + $0.tintColor = .appColor(.neutral800) + $0.accessibilityLabel = "닫기" + } + addressLabel.do { + $0.font = .appFont(.pretendardRegular, size: 12) + $0.textColor = UIColor.ColorSystem.Neutral.gray600 + } + titleStackView.do { + $0.axis = .horizontal + $0.spacing = 8 + $0.alignment = .center + } + badgeStackView.do { + $0.axis = .horizontal + $0.spacing = 4 + $0.alignment = .center + } + var detailConfiguration = UIButton.Configuration.plain() + detailConfiguration.attributedTitle = AttributedString("매물 상세보기", attributes: AttributeContainer([ + .font: UIFont.appFont(.pretendardMedium, size: 14), + .foregroundColor: UIColor.appColor(.neutral0) + ])) + detailConfiguration.background.backgroundColor = .appColor(.new500) + detailConfiguration.background.cornerRadius = 8 + detailConfiguration.cornerStyle = .fixed + detailButton.configuration = detailConfiguration + } + + private func setUpLayouts() { + [nameLabel, roomTypeLabel].forEach { + titleStackView.addArrangedSubview($0) + } + [monthlyBadge, charterBadge].forEach { + badgeStackView.addArrangedSubview($0) + } + [titleStackView, closeButton, addressLabel, badgeStackView, detailButton].forEach { + addSubview($0) + } + } + + private func setUpConstraints() { + titleStackView.snp.makeConstraints { + $0.top.equalToSuperview().offset(20) + $0.leading.equalToSuperview().offset(24) + $0.trailing.lessThanOrEqualTo(closeButton.snp.leading).offset(-8) + $0.height.equalTo(26) + } + closeButton.snp.makeConstraints { + $0.centerY.equalTo(titleStackView) + $0.trailing.equalToSuperview().offset(-24) + $0.size.equalTo(24) + } + addressLabel.snp.makeConstraints { + $0.top.equalTo(titleStackView.snp.bottom).offset(4) + $0.leading.trailing.equalToSuperview().inset(24) + } + badgeStackView.snp.makeConstraints { + $0.top.equalTo(addressLabel.snp.bottom).offset(12) + $0.leading.equalToSuperview().offset(24) + } + detailButton.snp.makeConstraints { + $0.height.equalTo(38) + $0.top.equalTo(badgeStackView.snp.bottom).offset(18) + $0.leading.trailing.equalToSuperview().inset(24) + $0.bottom.equalToSuperview().offset(-16) + } + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListTableView.swift b/Koin/Presentation/Land/LandList/Subviews/LandListTableView.swift new file mode 100644 index 000000000..a181c03d1 --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListTableView.swift @@ -0,0 +1,70 @@ +// +// LandListTableView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine + +final class LandListTableView: UITableView { + + // MARK: - Properties + let rowTappedPublisher = PassthroughSubject() + private var rows: [LandRow] = [] + + // MARK: - Initializer + init() { + super.init(frame: .zero, style: .plain) + commonInit() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListTableView { + func configure(rows: [LandRow]) { + self.rows = rows + reloadData() + } +} + +extension LandListTableView: UITableViewDataSource { + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + rows.count + } + + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + guard let cell = tableView.dequeueReusableCell(withIdentifier: LandListTableViewCell.identifier, for: indexPath) as? LandListTableViewCell else { + return UITableViewCell() + } + cell.configure(row: rows[indexPath.row]) + return cell + } +} + +extension LandListTableView: UITableViewDelegate { + func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + rowTappedPublisher.send(rows[indexPath.row]) + } +} + +extension LandListTableView { + private func commonInit() { + register(LandListTableViewCell.self, forCellReuseIdentifier: LandListTableViewCell.identifier) + dataSource = self + delegate = self + setUpStyles() + } + + private func setUpStyles() { + separatorStyle = .none + backgroundColor = .appColor(.neutral0) + rowHeight = UITableView.automaticDimension + let footerView = UIView(frame: CGRect(x: 0, y: 0, width: 0, height: 1)) + footerView.backgroundColor = .appColor(.neutral100) + tableFooterView = footerView + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandListTableViewCell.swift b/Koin/Presentation/Land/LandList/Subviews/LandListTableViewCell.swift new file mode 100644 index 000000000..444752eb8 --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandListTableViewCell.swift @@ -0,0 +1,147 @@ +// +// LandListTableViewCell.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import SnapKit + +final class LandListTableViewCell: UITableViewCell { + + // MARK: - UI Components + private let nameLabel = UILabel() + private let roomTypeLabel = UILabel() + private let addressLabel = UILabel() + private let chevronImageView = UIImageView() + private let monthlyBadge = LandListBadgeView(style: .monthly) + private let charterBadge = LandListBadgeView(style: .charter) + private let badgeStackView = UIStackView() + private let separatorView = UIView() + private let titleStackView = UIStackView() + private let addressStackView = UIStackView() + private let infoStackView = UIStackView() + private let contentStackView = UIStackView() + + // MARK: - Initializer + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { + super.init(style: style, reuseIdentifier: reuseIdentifier) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandListTableViewCell { + func configure(row: LandRow) { + nameLabel.text = row.name + roomTypeLabel.text = row.roomType + addressLabel.text = row.address + monthlyBadge.isHidden = !row.isMonthlyAvailable + charterBadge.isHidden = !row.isCharterAvailable + badgeStackView.isHidden = !row.isMonthlyAvailable && !row.isCharterAvailable + } +} + +extension LandListTableViewCell { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + selectionStyle = .none + nameLabel.do { + $0.font = .appFont(.pretendardSemiBold, size: 16) + $0.textColor = UIColor.ColorSystem.Neutral.gray800 + $0.setContentCompressionResistancePriority(.required, for: .horizontal) + } + roomTypeLabel.do { + $0.font = .appFont(.pretendardRegular, size: 10) + $0.textColor = UIColor.ColorSystem.Neutral.gray600 + } + addressLabel.do { + $0.font = .appFont(.pretendardRegular, size: 12) + $0.textColor = UIColor.ColorSystem.Neutral.gray600 + $0.setContentHuggingPriority(.defaultLow, for: .horizontal) + } + chevronImageView.do { + $0.image = UIImage.appImage(asset: .chevronRightHome)?.withRenderingMode(.alwaysTemplate) + $0.tintColor = UIColor.ColorSystem.Neutral.gray600 + } + separatorView.backgroundColor = .appColor(.neutral100) + titleStackView.do { + $0.axis = .horizontal + $0.spacing = 8 + $0.alignment = .center + } + addressStackView.do { + $0.axis = .horizontal + $0.alignment = .center + } + badgeStackView.do { + $0.axis = .horizontal + $0.spacing = 4 + $0.alignment = .center + } + infoStackView.do { + $0.axis = .vertical + $0.spacing = 4 + $0.alignment = .leading + } + contentStackView.do { + $0.axis = .vertical + $0.spacing = 8 + $0.alignment = .leading + } + } + + private func setUpLayouts() { + [nameLabel, roomTypeLabel].forEach { + titleStackView.addArrangedSubview($0) + } + [addressLabel, chevronImageView].forEach { + addressStackView.addArrangedSubview($0) + } + [monthlyBadge, charterBadge].forEach { + badgeStackView.addArrangedSubview($0) + } + [titleStackView, addressStackView].forEach { + infoStackView.addArrangedSubview($0) + } + [infoStackView, badgeStackView].forEach { + contentStackView.addArrangedSubview($0) + } + [separatorView, contentStackView].forEach { + contentView.addSubview($0) + } + } + + private func setUpConstraints() { + separatorView.snp.makeConstraints { + $0.top.leading.trailing.equalToSuperview() + $0.height.equalTo(1) + } + contentStackView.snp.makeConstraints { + $0.top.equalTo(separatorView.snp.bottom).offset(8) + $0.leading.trailing.equalToSuperview().inset(24) + $0.bottom.equalToSuperview().offset(-8) + } + infoStackView.snp.makeConstraints { + $0.width.equalToSuperview() + } + titleStackView.snp.makeConstraints { + $0.height.equalTo(26) + $0.width.lessThanOrEqualToSuperview() + } + addressStackView.snp.makeConstraints { + $0.width.equalToSuperview() + } + chevronImageView.snp.makeConstraints { + $0.size.equalTo(24) + } + } +} diff --git a/Koin/Presentation/Land/LandList/Subviews/LandMapZoomControlView.swift b/Koin/Presentation/Land/LandList/Subviews/LandMapZoomControlView.swift new file mode 100644 index 000000000..1523b2d58 --- /dev/null +++ b/Koin/Presentation/Land/LandList/Subviews/LandMapZoomControlView.swift @@ -0,0 +1,88 @@ +// +// LandMapZoomControlView.swift +// koin +// +// Created by 홍기정 on 11/23/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandMapZoomControlView: UIView { + + // MARK: - Properties + let zoomInTappedPublisher = PassthroughSubject() + let zoomOutTappedPublisher = PassthroughSubject() + + // MARK: - UI Components + private let zoomInButton = UIButton() + private let zoomOutButton = UIButton() + private let stackView = UIStackView() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + zoomInButton.addTarget(self, action: #selector(zoomInButtonTapped), for: .touchUpInside) + zoomOutButton.addTarget(self, action: #selector(zoomOutButtonTapped), for: .touchUpInside) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandMapZoomControlView { + @objc private func zoomInButtonTapped() { + zoomInTappedPublisher.send() + } + + @objc private func zoomOutButtonTapped() { + zoomOutTappedPublisher.send() + } +} + +extension LandMapZoomControlView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = .appColor(.neutral0) + layer.cornerRadius = 8 + layer.borderWidth = 0.5 + layer.borderColor = UIColor.appColor(.neutral400).cgColor + layer.shadowColor = UIColor.black.cgColor + layer.shadowOpacity = 0.08 + layer.shadowOffset = CGSize(width: 0, height: 4) + layer.shadowRadius = 5 + + zoomInButton.setImage(UIImage.appImage(asset: .landZoomIn), for: .normal) + zoomInButton.accessibilityLabel = "확대" + zoomOutButton.setImage(UIImage.appImage(asset: .landZoomOut), for: .normal) + zoomOutButton.accessibilityLabel = "축소" + + stackView.axis = .vertical + stackView.spacing = 8 + } + + private func setUpLayouts() { + addSubview(stackView) + [zoomInButton, zoomOutButton].forEach { + stackView.addArrangedSubview($0) + } + } + + private func setUpConstraints() { + stackView.snp.makeConstraints { + $0.edges.equalToSuperview().inset(8) + } + [zoomInButton, zoomOutButton].forEach { + $0.snp.makeConstraints { + $0.size.equalTo(24) + } + } + } +} diff --git a/Koin/Presentation/Land/LandSearch/LandSearchViewController.swift b/Koin/Presentation/Land/LandSearch/LandSearchViewController.swift new file mode 100644 index 000000000..5b6214c9b --- /dev/null +++ b/Koin/Presentation/Land/LandSearch/LandSearchViewController.swift @@ -0,0 +1,193 @@ +// +// LandSearchViewController.swift +// koin +// +// Created by 홍기정 on 11/24/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandSearchViewController: UIViewController { + + // MARK: - Properties + private let viewModel: LandSearchViewModel + private let inputSubject = PassthroughSubject() + private var subscriptions: Set = [] + + // MARK: - UI Components + private let navigationBarView = UIView() + private let navigationTitleLabel = UILabel() + private let backButton = UIButton(type: .system) + private let searchBarView = LandSearchBarView() + private let countLabel = UILabel() + private let tableView = LandListTableView() + private let emptyView = LandSearchEmptyView() + + // MARK: - Initializer + init(viewModel: LandSearchViewModel) { + self.viewModel = viewModel + super.init(nibName: nil, bundle: nil) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + // MARK: - Life Cycle + override func viewDidLoad() { + super.viewDidLoad() + configureView() + bind() + hideKeyboardWhenTappedAround() + } + + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + navigationController?.setNavigationBarHidden(true, animated: animated) + } + + override func viewWillDisappear(_ animated: Bool) { + super.viewWillDisappear(animated) + view.endEditing(true) + navigationController?.setNavigationBarHidden(false, animated: animated) + } +} + +extension LandSearchViewController { + private func bind() { + viewModel.transform(with: inputSubject.eraseToAnyPublisher()) + .receive(on: DispatchQueue.main) + .sink { [weak self] output in + guard let self else { return } + switch output { + case let .updateLandList(landList): + configure(landList: landList) + case let .showToastMessage(message): + showToastMessage(message: message) + } + } + .store(in: &subscriptions) + + searchBarView.textChangedPublisher + .sink { [weak self] text in + self?.inputSubject.send(.searchTextChanged(text)) + } + .store(in: &subscriptions) + + tableView.rowTappedPublisher + .sink { [weak self] landRow in + self?.pushLandDetailViewController(landRow: landRow) + } + .store(in: &subscriptions) + } +} + +extension LandSearchViewController { + private func configure(landList: LandList) { + let isEmpty = landList.rows.isEmpty + countLabel.text = "\(LandListFilter.all.displayName)(\(landList.rows.count))" + countLabel.isHidden = isEmpty + tableView.isHidden = isEmpty + emptyView.isHidden = !isEmpty + tableView.configure(rows: landList.rows) + } + + private func pushLandDetailViewController(landRow: LandRow) { + let landService = DefaultLandService() + let landRepository = DefaultLandRepository(service: landService) + let fetchLandDetailUseCase = DefaultFetchLandDetailUseCase(landRepository: landRepository) + let viewModel = LandDetailViewModel(landRow: landRow, fetchLandDetailUseCase: fetchLandDetailUseCase) + let viewController = LandDetailViewController(viewModel: viewModel) + navigationController?.pushViewController(viewController, animated: true) + } + + @objc private func backButtonTapped() { + navigationController?.popViewController(animated: true) + } +} + +extension LandSearchViewController { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + view.backgroundColor = .appColor(.neutral0) + additionalSafeAreaInsets.top = 44 + view.keyboardLayoutGuide.usesBottomSafeArea = false + navigationBarView.backgroundColor = .appColor(.neutral0) + navigationTitleLabel.do { + $0.text = "복덕방" + $0.font = .appFont(.pretendardMedium, size: 18) + $0.textColor = .appColor(.neutral800) + } + backButton.do { + $0.setImage( + UIImage.appImage(symbol: .chevronLeft)? + .withConfiguration(UIImage.SymbolConfiguration(pointSize: 17, weight: .semibold, scale: .large)), + for: .normal + ) + $0.tintColor = .appColor(.neutral800) + $0.accessibilityLabel = "뒤로가기" + $0.addTarget(self, action: #selector(backButtonTapped), for: .touchUpInside) + } + countLabel.do { + $0.font = .appFont(.pretendardMedium, size: 12) + $0.textColor = UIColor.ColorSystem.Neutral.gray500 + $0.isHidden = true + } + tableView.do { + $0.keyboardDismissMode = .interactive + $0.isHidden = true + } + emptyView.isHidden = true + } + + private func setUpLayouts() { + [navigationBarView, searchBarView, countLabel, tableView, emptyView].forEach { + view.addSubview($0) + } + [navigationTitleLabel, backButton].forEach { + navigationBarView.addSubview($0) + } + } + + private func setUpConstraints() { + navigationBarView.snp.makeConstraints { + $0.top.leading.trailing.equalToSuperview() + $0.bottom.equalTo(view.safeAreaLayoutGuide.snp.top) + } + backButton.snp.makeConstraints { + $0.leading.equalToSuperview().offset(8) + $0.bottom.equalToSuperview() + $0.size.equalTo(44) + } + navigationTitleLabel.snp.makeConstraints { + $0.centerX.equalToSuperview() + $0.centerY.equalTo(backButton) + } + searchBarView.snp.makeConstraints { + $0.top.equalTo(view.safeAreaLayoutGuide).offset(24) + $0.leading.trailing.equalToSuperview().inset(24) + $0.height.equalTo(36) + } + countLabel.snp.makeConstraints { + $0.top.equalTo(searchBarView.snp.bottom).offset(12) + $0.leading.equalToSuperview().offset(24) + $0.height.equalTo(19) + } + tableView.snp.makeConstraints { + $0.top.equalTo(countLabel.snp.bottom).offset(12) + $0.leading.trailing.equalToSuperview() + $0.bottom.equalTo(view.keyboardLayoutGuide.snp.top) + } + emptyView.snp.makeConstraints { + $0.top.equalTo(searchBarView.snp.bottom) + $0.leading.trailing.equalToSuperview() + $0.bottom.equalTo(view.keyboardLayoutGuide.snp.top) + } + } +} diff --git a/Koin/Presentation/Land/LandSearch/LandSearchViewModel.swift b/Koin/Presentation/Land/LandSearch/LandSearchViewModel.swift new file mode 100644 index 000000000..dd4981e11 --- /dev/null +++ b/Koin/Presentation/Land/LandSearch/LandSearchViewModel.swift @@ -0,0 +1,66 @@ +// +// LandSearchViewModel.swift +// koin +// +// Created by 홍기정 on 11/24/26. +// + +import Foundation +import Combine + +final class LandSearchViewModel: ViewModelProtocol { + enum Input { + case searchTextChanged(String) + } + enum Output { + case updateLandList(LandList) + case showToastMessage(String) + } + + // MARK: - Properties + private let fetchLandListUseCase: FetchLandListUseCase + private let outputSubject = PassthroughSubject() + private var subscriptions: Set = [] + + // MARK: - Initializer + init(fetchLandListUseCase: FetchLandListUseCase) { + self.fetchLandListUseCase = fetchLandListUseCase + } +} + +extension LandSearchViewModel { + func transform(with input: AnyPublisher) -> AnyPublisher { + input + .compactMap { input -> String? in + guard case let .searchTextChanged(text) = input else { return nil } + return text.trimmingCharacters(in: .whitespacesAndNewlines) + } + .filter { !$0.isEmpty } + .debounce(for: .milliseconds(300), scheduler: DispatchQueue.main) + .removeDuplicates() + .map { [weak self] query -> AnyPublisher in + guard let self else { + return Empty().eraseToAnyPublisher() + } + return fetchLandList(query: query) + } + .switchToLatest() + .sink { [weak self] landList in + self?.outputSubject.send(.updateLandList(landList)) + } + .store(in: &subscriptions) + + return outputSubject.eraseToAnyPublisher() + } +} + +extension LandSearchViewModel { + private func fetchLandList(query: String) -> AnyPublisher { + fetchLandListUseCase.execute(query: query) + .catch { [weak self] error -> Empty in + self?.outputSubject.send(.showToastMessage(error.message)) + return Empty() + } + .eraseToAnyPublisher() + } +} diff --git a/Koin/Presentation/Land/LandSearch/Subviews/LandSearchBarView.swift b/Koin/Presentation/Land/LandSearch/Subviews/LandSearchBarView.swift new file mode 100644 index 000000000..c51cd2bfd --- /dev/null +++ b/Koin/Presentation/Land/LandSearch/Subviews/LandSearchBarView.swift @@ -0,0 +1,92 @@ +// +// LandSearchBarView.swift +// koin +// +// Created by 홍기정 on 11/24/26. +// + +import UIKit +import Combine +import SnapKit + +final class LandSearchBarView: UIView { + + // MARK: - Properties + let textChangedPublisher = PassthroughSubject() + + // MARK: - UI Components + private let textField = UITextField() + private let searchImageView = UIImageView() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + textField.delegate = self + textField.addTarget(self, action: #selector(textFieldEditingChanged), for: .editingChanged) + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandSearchBarView: UITextFieldDelegate { + func textFieldShouldReturn(_ textField: UITextField) -> Bool { + textField.resignFirstResponder() + return true + } +} + +extension LandSearchBarView { + @objc private func textFieldEditingChanged() { + textChangedPublisher.send(textField.text ?? "") + } +} + +extension LandSearchBarView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + backgroundColor = .appColor(.neutral0) + layer.cornerRadius = 18 + layer.borderWidth = 1 + layer.borderColor = UIColor.appColor(.neutral300).cgColor + textField.do { + $0.font = .appFont(.pretendardRegular, size: 12) + $0.textColor = .appColor(.neutral800) + $0.attributedPlaceholder = NSAttributedString( + string: "건물 명을 입력해주세요.", + attributes: [ + .font: UIFont.appFont(.pretendardRegular, size: 12), + .foregroundColor: UIColor.appColor(.neutral500) + ] + ) + $0.returnKeyType = .search + $0.clearButtonMode = .never + } + searchImageView.image = .appImage(asset: .noticeSearch) + } + + private func setUpLayouts() { + [textField, searchImageView].forEach { + addSubview($0) + } + } + + private func setUpConstraints() { + textField.snp.makeConstraints { + $0.leading.equalToSuperview().offset(20) + $0.top.bottom.equalToSuperview() + $0.trailing.equalTo(searchImageView.snp.leading).offset(-8) + } + searchImageView.snp.makeConstraints { + $0.trailing.equalToSuperview().offset(-20) + $0.centerY.equalToSuperview() + $0.size.equalTo(21) + } + } +} diff --git a/Koin/Presentation/Land/LandSearch/Subviews/LandSearchEmptyView.swift b/Koin/Presentation/Land/LandSearch/Subviews/LandSearchEmptyView.swift new file mode 100644 index 000000000..8aad3f6fe --- /dev/null +++ b/Koin/Presentation/Land/LandSearch/Subviews/LandSearchEmptyView.swift @@ -0,0 +1,73 @@ +// +// LandSearchEmptyView.swift +// koin +// +// Created by 홍기정 on 11/24/26. +// + +import UIKit +import SnapKit + +final class LandSearchEmptyView: UIView { + + // MARK: - UI Components + private let stackView = UIStackView() + private let imageView = UIImageView() + private let messageLabel = UILabel() + + // MARK: - Initializer + init() { + super.init(frame: .zero) + configureView() + } + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + +extension LandSearchEmptyView { + private func configureView() { + setUpStyles() + setUpLayouts() + setUpConstraints() + } + + private func setUpStyles() { + stackView.do { + $0.axis = .vertical + $0.spacing = 12 + $0.alignment = .center + } + imageView.do { + $0.image = .appImage(asset: .sleepBcsdSymbol) + $0.contentMode = .scaleAspectFit + } + messageLabel.do { + $0.text = "검색결과가 없습니다.\n다른 검색어로 다시 검색해주세요." + $0.font = .appFont(.pretendardRegular, size: 14) + $0.textColor = .appColor(.neutral500) + $0.textAlignment = .center + $0.numberOfLines = 0 + } + } + + private func setUpLayouts() { + addSubview(stackView) + [imageView, messageLabel].forEach { + stackView.addArrangedSubview($0) + } + } + + private func setUpConstraints() { + stackView.snp.makeConstraints { + $0.center.equalToSuperview() + } + imageView.snp.makeConstraints { + $0.width.equalTo(98) + $0.height.equalTo(75) + } + messageLabel.snp.makeConstraints { + $0.height.equalTo(44) + } + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster10to12.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landCluster10to12.imageset/Contents.json new file mode 100644 index 000000000..e4898a19e --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster10to12.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landCluster10to12.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster10to12.imageset/landCluster10to12.svg b/Koin/Resources/Assets.xcassets/Land/landCluster10to12.imageset/landCluster10to12.svg new file mode 100644 index 000000000..5701898e6 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster10to12.imageset/landCluster10to12.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster2to3.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landCluster2to3.imageset/Contents.json new file mode 100644 index 000000000..a3187d010 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster2to3.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landCluster2to3.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster2to3.imageset/landCluster2to3.svg b/Koin/Resources/Assets.xcassets/Land/landCluster2to3.imageset/landCluster2to3.svg new file mode 100644 index 000000000..b572a534d --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster2to3.imageset/landCluster2to3.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster4to6.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landCluster4to6.imageset/Contents.json new file mode 100644 index 000000000..2e4a15e3c --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster4to6.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landCluster4to6.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster4to6.imageset/landCluster4to6.svg b/Koin/Resources/Assets.xcassets/Land/landCluster4to6.imageset/landCluster4to6.svg new file mode 100644 index 000000000..b5a981cdb --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster4to6.imageset/landCluster4to6.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster7to9.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landCluster7to9.imageset/Contents.json new file mode 100644 index 000000000..73d6a3004 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster7to9.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landCluster7to9.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landCluster7to9.imageset/landCluster7to9.svg b/Koin/Resources/Assets.xcassets/Land/landCluster7to9.imageset/landCluster7to9.svg new file mode 100644 index 000000000..8ac79e5cc --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landCluster7to9.imageset/landCluster7to9.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landMarker.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landMarker.imageset/Contents.json new file mode 100644 index 000000000..3e6b5d873 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landMarker.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landMarker.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landMarker.imageset/landMarker.svg b/Koin/Resources/Assets.xcassets/Land/landMarker.imageset/landMarker.svg new file mode 100644 index 000000000..147c7a389 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landMarker.imageset/landMarker.svg @@ -0,0 +1,4 @@ + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landSearch.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landSearch.imageset/Contents.json new file mode 100644 index 000000000..4c8227acc --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landSearch.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landSearch.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landSearch.imageset/landSearch.svg b/Koin/Resources/Assets.xcassets/Land/landSearch.imageset/landSearch.svg new file mode 100644 index 000000000..35f741810 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landSearch.imageset/landSearch.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landZoomIn.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landZoomIn.imageset/Contents.json new file mode 100644 index 000000000..06c58622e --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landZoomIn.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landZoomIn.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landZoomIn.imageset/landZoomIn.svg b/Koin/Resources/Assets.xcassets/Land/landZoomIn.imageset/landZoomIn.svg new file mode 100644 index 000000000..737d3af46 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landZoomIn.imageset/landZoomIn.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/landZoomOut.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/landZoomOut.imageset/Contents.json new file mode 100644 index 000000000..1a81e3498 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landZoomOut.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "landZoomOut.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Koin/Resources/Assets.xcassets/Land/landZoomOut.imageset/landZoomOut.svg b/Koin/Resources/Assets.xcassets/Land/landZoomOut.imageset/landZoomOut.svg new file mode 100644 index 000000000..c041115e2 --- /dev/null +++ b/Koin/Resources/Assets.xcassets/Land/landZoomOut.imageset/landZoomOut.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Koin/Resources/Assets.xcassets/Land/option1.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option1.imageset/Contents.json deleted file mode 100644 index bb17b53eb..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option1.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option1.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option1@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option1@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1.png b/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1.png deleted file mode 100644 index af5202972..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1@2x.png b/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1@2x.png deleted file mode 100644 index 90d41c809..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1@3x.png b/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1@3x.png deleted file mode 100644 index 3f8e1e469..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option1.imageset/option1@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option10.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option10.imageset/Contents.json deleted file mode 100644 index 7be444dac..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option10.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option10.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option10@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option10@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10.png b/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10.png deleted file mode 100644 index dfe52907b..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10@2x.png b/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10@2x.png deleted file mode 100644 index bfda8bcb0..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10@3x.png b/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10@3x.png deleted file mode 100644 index ba1419d6c..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option10.imageset/option10@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option11.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option11.imageset/Contents.json deleted file mode 100644 index eed709560..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option11.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option11.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option11@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option11@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11.png b/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11.png deleted file mode 100644 index 4c8192528..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11@2x.png b/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11@2x.png deleted file mode 100644 index 704d10e62..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11@3x.png b/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11@3x.png deleted file mode 100644 index 590403654..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option11.imageset/option11@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option12.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option12.imageset/Contents.json deleted file mode 100644 index 0303b7c63..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option12.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option12.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option12@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option12@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12.png b/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12.png deleted file mode 100644 index 6186b8b36..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12@2x.png b/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12@2x.png deleted file mode 100644 index 93a8c03f9..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12@3x.png b/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12@3x.png deleted file mode 100644 index 33afdce55..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option12.imageset/option12@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option13.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option13.imageset/Contents.json deleted file mode 100644 index 35b058e2e..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option13.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option13.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option13@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option13@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13.png b/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13.png deleted file mode 100644 index 2ca5ca12f..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13@2x.png b/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13@2x.png deleted file mode 100644 index d41e7a65a..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13@3x.png b/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13@3x.png deleted file mode 100644 index a0c11f834..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option13.imageset/option13@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option14.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option14.imageset/Contents.json deleted file mode 100644 index e81c0e16c..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option14.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option14.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option14@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option14@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14.png b/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14.png deleted file mode 100644 index 7df254405..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14@2x.png b/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14@2x.png deleted file mode 100644 index d955e28ce..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14@3x.png b/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14@3x.png deleted file mode 100644 index fb7cd1eb1..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option14.imageset/option14@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option15.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option15.imageset/Contents.json deleted file mode 100644 index 95a72d9da..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option15.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option15.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option15@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option15@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15.png b/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15.png deleted file mode 100644 index 6173db606..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15@2x.png b/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15@2x.png deleted file mode 100644 index 6d6d6c31d..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15@3x.png b/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15@3x.png deleted file mode 100644 index 3fee19328..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option15.imageset/option15@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option16.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option16.imageset/Contents.json deleted file mode 100644 index 3ec9306aa..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option16.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option16.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option16@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option16@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16.png b/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16.png deleted file mode 100644 index 0ec1d323c..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16@2x.png b/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16@2x.png deleted file mode 100644 index 6abacea4b..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16@3x.png b/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16@3x.png deleted file mode 100644 index 747ba9873..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option16.imageset/option16@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option2.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option2.imageset/Contents.json deleted file mode 100644 index be6552296..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option2.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option2.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option2@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option2@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2.png b/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2.png deleted file mode 100644 index 1126bb045..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2@2x.png b/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2@2x.png deleted file mode 100644 index 574256b6b..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2@3x.png b/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2@3x.png deleted file mode 100644 index 449b62830..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option2.imageset/option2@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option3.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option3.imageset/Contents.json deleted file mode 100644 index 0187a0f16..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option3.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option3.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option3@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option3@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3.png b/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3.png deleted file mode 100644 index 6b1918426..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3@2x.png b/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3@2x.png deleted file mode 100644 index d2ccc1c4a..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3@3x.png b/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3@3x.png deleted file mode 100644 index f0d904811..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option3.imageset/option3@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option4.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option4.imageset/Contents.json deleted file mode 100644 index 413b3f616..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option4.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option4.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option4@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option4@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4.png b/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4.png deleted file mode 100644 index e76dc360f..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4@2x.png b/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4@2x.png deleted file mode 100644 index 18cf5dfb5..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4@3x.png b/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4@3x.png deleted file mode 100644 index 353c915c5..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option4.imageset/option4@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option5.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option5.imageset/Contents.json deleted file mode 100644 index 7a53b4334..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option5.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option5.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option5@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option5@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5.png b/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5.png deleted file mode 100644 index f0393ae7c..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5@2x.png b/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5@2x.png deleted file mode 100644 index ad52ca366..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5@3x.png b/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5@3x.png deleted file mode 100644 index 90e6890b5..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option5.imageset/option5@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option6.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option6.imageset/Contents.json deleted file mode 100644 index b20d27582..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option6.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option6.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option6@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option6@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6.png b/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6.png deleted file mode 100644 index 4ad98eb60..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6@2x.png b/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6@2x.png deleted file mode 100644 index 0a9da9b14..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6@3x.png b/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6@3x.png deleted file mode 100644 index a7d020a07..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option6.imageset/option6@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option7.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option7.imageset/Contents.json deleted file mode 100644 index 78f99f5b6..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option7.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option7.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option7@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option7@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7.png b/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7.png deleted file mode 100644 index 90e916411..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7@2x.png b/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7@2x.png deleted file mode 100644 index ee5bd9c83..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7@3x.png b/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7@3x.png deleted file mode 100644 index b87bba9ff..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option7.imageset/option7@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option8.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option8.imageset/Contents.json deleted file mode 100644 index 6b0c7ed76..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option8.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option8.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option8@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option8@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8.png b/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8.png deleted file mode 100644 index e82bdd237..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8@2x.png b/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8@2x.png deleted file mode 100644 index 2567a60b1..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8@3x.png b/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8@3x.png deleted file mode 100644 index 8a27d2d2d..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option8.imageset/option8@3x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option9.imageset/Contents.json b/Koin/Resources/Assets.xcassets/Land/option9.imageset/Contents.json deleted file mode 100644 index 7124bff0d..000000000 --- a/Koin/Resources/Assets.xcassets/Land/option9.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "option9.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "option9@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "option9@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9.png b/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9.png deleted file mode 100644 index 63c328314..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9@2x.png b/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9@2x.png deleted file mode 100644 index da1bceab7..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9@2x.png and /dev/null differ diff --git a/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9@3x.png b/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9@3x.png deleted file mode 100644 index dcf098f79..000000000 Binary files a/Koin/Resources/Assets.xcassets/Land/option9.imageset/option9@3x.png and /dev/null differ diff --git a/koin.xcodeproj/project.pbxproj b/koin.xcodeproj/project.pbxproj index 5b1e13bf0..4e0a7cfda 100644 --- a/koin.xcodeproj/project.pbxproj +++ b/koin.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - A83115679000000000000008 /* LostItemListEmptyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83115679000000000000009 /* LostItemListEmptyView.swift */; }; 004A06CB3468BBA8DCB4CB44 /* RecruitPostViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82F7EBAB20247086024B51CB /* RecruitPostViewController.swift */; }; 0A6D1C1BA5922E1A28882034 /* BusRouteTagLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71B13E077479AB081D3DB06C /* BusRouteTagLabel.swift */; }; 0D3DC4E723268AE45A326D07 /* RecruitChatDataDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = C398DC463A148F3E7ADB7ADE /* RecruitChatDataDto.swift */; }; @@ -95,6 +94,32 @@ 7C17EEAE2EBF7031008BCA89 /* FetchShopSearchRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C17EEAD2EBF7031008BCA89 /* FetchShopSearchRequest.swift */; }; 7C17EEB02EBF708B008BCA89 /* ShopSearchDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C17EEAF2EBF708B008BCA89 /* ShopSearchDto.swift */; }; 7C17EEB22EBF7175008BCA89 /* FetchSearchShopUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C17EEB12EBF7175008BCA89 /* FetchSearchShopUseCase.swift */; }; + 7C18782430B307EC007ADB97 /* LandList.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18782330B307EC007ADB97 /* LandList.swift */; }; + 7C18783130B32AF8007ADB97 /* LandMapView+ClusterMarkerUpdater.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783030B32AF8007ADB97 /* LandMapView+ClusterMarkerUpdater.swift */; }; + 7C18783330B32BAA007ADB97 /* LandMapView+LeafMarkerUpdater.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783230B32BAA007ADB97 /* LandMapView+LeafMarkerUpdater.swift */; }; + 7C18783530B33441007ADB97 /* LandMapView+OverlayImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783430B33441007ADB97 /* LandMapView+OverlayImage.swift */; }; + 7C18783930B3452C007ADB97 /* LandRowDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783830B3452C007ADB97 /* LandRowDto.swift */; }; + 7C18783B30B345FB007ADB97 /* LandListBottomSheetContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783A30B345FB007ADB97 /* LandListBottomSheetContentView.swift */; }; + 7C18783D30B34782007ADB97 /* LandListFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783C30B34782007ADB97 /* LandListFilter.swift */; }; + 7C18783F30B3479B007ADB97 /* LandListFilterView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18783E30B3479B007ADB97 /* LandListFilterView.swift */; }; + 7C18784130B347C9007ADB97 /* LandListFilterButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18784030B347C9007ADB97 /* LandListFilterButton.swift */; }; + 7C18785130B3600000ADB970 /* LandListTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785030B3600000ADB970 /* LandListTableView.swift */; }; + 7C18785330B3600000ADB970 /* LandListTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785230B3600000ADB970 /* LandListTableViewCell.swift */; }; + 7C18785530B3600000ADB970 /* LandListFocusedView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785430B3600000ADB970 /* LandListFocusedView.swift */; }; + 7C18785730B3600000ADB970 /* LandMapZoomControlView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785630B3600000ADB970 /* LandMapZoomControlView.swift */; }; + 7C18785930B3600000ADB970 /* LandListBadgeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785830B3600000ADB970 /* LandListBadgeView.swift */; }; + 7C18785D30B3600000ADB970 /* LandDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785C30B3600000ADB970 /* LandDetailViewController.swift */; }; + 7C18785F30B3600000ADB970 /* LandDetailViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785E30B3600000ADB970 /* LandDetailViewModel.swift */; }; + 7C18786130B3600000ADB970 /* LandDetailImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786030B3600000ADB970 /* LandDetailImageView.swift */; }; + 7C18786330B3600000ADB970 /* LandDetailImageCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786230B3600000ADB970 /* LandDetailImageCollectionViewCell.swift */; }; + 7C18786530B3600000ADB970 /* LandDetailImageEmptyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786430B3600000ADB970 /* LandDetailImageEmptyView.swift */; }; + 7C18786730B3600000ADB970 /* LandDetailInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786630B3600000ADB970 /* LandDetailInfoView.swift */; }; + 7C18786930B3600000ADB970 /* LandDetailBottomSheetContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786830B3600000ADB970 /* LandDetailBottomSheetContentView.swift */; }; + 7C18786D30B3600000ADB970 /* LandSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786C30B3600000ADB970 /* LandSearchViewController.swift */; }; + 7C18786F30B3600000ADB970 /* LandSearchViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18786E30B3600000ADB970 /* LandSearchViewModel.swift */; }; + 7C18787130B3600000ADB970 /* LandSearchBarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18787030B3600000ADB970 /* LandSearchBarView.swift */; }; + 7C18787330B3600000ADB970 /* LandSearchEmptyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18787230B3600000ADB970 /* LandSearchEmptyView.swift */; }; + 7C18787530B3600000ADB970 /* FetchLandListRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18787430B3600000ADB970 /* FetchLandListRequest.swift */; }; 7C281CFD2EB3ED4B00BD6B4E /* FetchOrderShopDetailFromShopUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C281CFC2EB3ED4B00BD6B4E /* FetchOrderShopDetailFromShopUseCase.swift */; }; 7C333E7C302E285B009D2B89 /* KoinModalAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C333E7B302E285B009D2B89 /* KoinModalAnimator.swift */; }; 7C333E7E302E28AA009D2B89 /* KoinModalPresentationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C333E7D302E28AA009D2B89 /* KoinModalPresentationController.swift */; }; @@ -550,32 +575,27 @@ 7CED90C12EF2D1F900457128 /* ShopSummaryMenuGroupCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FD32EF2D1F900457128 /* ShopSummaryMenuGroupCollectionView.swift */; }; 7CED90C32EF2D1F900457128 /* ShopSummaryPriceTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FCC2EF2D1F900457128 /* ShopSummaryPriceTableViewCell.swift */; }; 7CED90C62EF2D1F900457128 /* TimetableCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED909A2EF2D1F900457128 /* TimetableCollectionViewCell.swift */; }; - 7CED90CA2EF2D1F900457128 /* LandOptionCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90B02EF2D1F900457128 /* LandOptionCollectionViewCell.swift */; }; 7CED90CB2EF2D1F900457128 /* LostItemChatListTableViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EF92EF2D1F900457128 /* LostItemChatListTableViewModel.swift */; }; 7CED90CE2EF2D1F900457128 /* ForceModifyUserViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8ED42EF2D1F900457128 /* ForceModifyUserViewController.swift */; }; 7CED90CF2EF2D1F900457128 /* ChangeMyProfileViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F0C2EF2D1F900457128 /* ChangeMyProfileViewModel.swift */; }; 7CED90D12EF2D1F900457128 /* NoticeSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F572EF2D1F900457128 /* NoticeSearchViewController.swift */; }; 7CED90D22EF2D1F900457128 /* TagCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90152EF2D1F900457128 /* TagCollectionViewCell.swift */; }; - 7CED90D32EF2D1F900457128 /* LandCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90A92EF2D1F900457128 /* LandCollectionView.swift */; }; 7CED90D52EF2D1F900457128 /* SelectDeptModalViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED908E2EF2D1F900457128 /* SelectDeptModalViewController.swift */; }; 7CED90D72EF2D1F900457128 /* RecommendedKeywordCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F5A2EF2D1F900457128 /* RecommendedKeywordCollectionView.swift */; }; 7CED90DA2EF2D1F900457128 /* RecentSearchTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F532EF2D1F900457128 /* RecentSearchTableView.swift */; }; 7CED90DC2EF2D1F900457128 /* ShopSummaryDeliveryButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FC42EF2D1F900457128 /* ShopSummaryDeliveryButton.swift */; }; 7CED90DD2EF2D1F900457128 /* AddDirectCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90912EF2D1F900457128 /* AddDirectCollectionViewCell.swift */; }; - 7CED90DF2EF2D1F900457128 /* LandDetailViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90B72EF2D1F900457128 /* LandDetailViewModel.swift */; }; 7CED90E02EF2D1F900457128 /* ShopSummaryTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FCF2EF2D1F900457128 /* ShopSummaryTableViewCell.swift */; }; 7CED90E22EF2D1F900457128 /* PointLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90892EF2D1F900457128 /* PointLabel.swift */; }; 7CED90E32EF2D1F900457128 /* FindPhoneIdViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F2F2EF2D1F900457128 /* FindPhoneIdViewController.swift */; }; 7CED90E42EF2D1F900457128 /* SubstituteTimetableModalViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED908D2EF2D1F900457128 /* SubstituteTimetableModalViewController.swift */; }; 7CED90E72EF2D1F900457128 /* ForceUpdateViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EE02EF2D1F900457128 /* ForceUpdateViewController.swift */; }; - 7CED90EB2EF2D1F900457128 /* LandViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90AC2EF2D1F900457128 /* LandViewController.swift */; }; 7CED90EF2EF2D1F900457128 /* ShopReviewReportViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90212EF2D1F900457128 /* ShopReviewReportViewModel.swift */; }; 7CED90F02EF2D1F900457128 /* RevokeModalViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F0B2EF2D1F900457128 /* RevokeModalViewController.swift */; }; 7CED90F12EF2D1F900457128 /* ForceUpdateViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EDF2EF2D1F900457128 /* ForceUpdateViewModel.swift */; }; 7CED90F22EF2D1F900457128 /* ShopSearchViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FBF2EF2D1F900457128 /* ShopSearchViewModel.swift */; }; 7CED90F42EF2D1F900457128 /* LostItemChatListTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EFA2EF2D1F900457128 /* LostItemChatListTableViewController.swift */; }; 7CED90F72EF2D1F900457128 /* ReviewImageCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90032EF2D1F900457128 /* ReviewImageCollectionViewCell.swift */; }; - 7CED90FA2EF2D1F900457128 /* LandDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90B82EF2D1F900457128 /* LandDetailViewController.swift */; }; 7CED90FB2EF2D1F900457128 /* NoticeTabBarCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F3E2EF2D1F900457128 /* NoticeTabBarCollectionViewCell.swift */; }; 7CED90FD2EF2D1F900457128 /* ReviewImageUploadCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90182EF2D1F900457128 /* ReviewImageUploadCollectionViewCell.swift */; }; 7CED90FE2EF2D1F900457128 /* SelectTimeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED908B2EF2D1F900457128 /* SelectTimeView.swift */; }; @@ -590,7 +610,6 @@ 7CED91092EF2D1F900457128 /* FacilityInfoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90A42EF2D1F900457128 /* FacilityInfoViewController.swift */; }; 7CED910A2EF2D1F900457128 /* LeftAlignedFlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90132EF2D1F900457128 /* LeftAlignedFlowLayout.swift */; }; 7CED910B2EF2D1F900457128 /* AddClassCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90952EF2D1F900457128 /* AddClassCollectionView.swift */; }; - 7CED910C2EF2D1F900457128 /* LandImageCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90B22EF2D1F900457128 /* LandImageCollectionView.swift */; }; 7CED910D2EF2D1F900457128 /* RecommendedSearchCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F502EF2D1F900457128 /* RecommendedSearchCollectionView.swift */; }; 7CED910E2EF2D1F900457128 /* ShopSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FBE2EF2D1F900457128 /* ShopSearchViewController.swift */; }; 7CED910F2EF2D1F900457128 /* ShopCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EC32EF2D1F900457128 /* ShopCollectionView.swift */; }; @@ -599,7 +618,6 @@ 7CED91152EF2D1F900457128 /* LoginViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F232EF2D1F900457128 /* LoginViewModel.swift */; }; 7CED91162EF2D1F900457128 /* ShopSortOptionSheetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FB52EF2D1F900457128 /* ShopSortOptionSheetView.swift */; }; 7CED91172EF2D1F900457128 /* TimetableText+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90A02EF2D1F900457128 /* TimetableText+.swift */; }; - 7CED91182EF2D1F900457128 /* LandViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90AB2EF2D1F900457128 /* LandViewModel.swift */; }; 7CED911C2EF2D1F900457128 /* DiningOperatingTimeCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90772EF2D1F900457128 /* DiningOperatingTimeCollectionViewCell.swift */; }; 7CED911D2EF2D1F900457128 /* NoticeListTableViewFooter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F432EF2D1F900457128 /* NoticeListTableViewFooter.swift */; }; 7CED911E2EF2D1F900457128 /* ShopReadyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FAF2EF2D1F900457128 /* ShopReadyView.swift */; }; @@ -642,7 +660,6 @@ 7CED915D2EF2D1F900457128 /* ShopSearchTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FBA2EF2D1F900457128 /* ShopSearchTableView.swift */; }; 7CED915E2EF2D1F900457128 /* SettingsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F072EF2D1F900457128 /* SettingsViewModel.swift */; }; 7CED91602EF2D1F900457128 /* CategoryCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FAA2EF2D1F900457128 /* CategoryCollectionViewCell.swift */; }; - 7CED91632EF2D1F900457128 /* HouseInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90AE2EF2D1F900457128 /* HouseInfoView.swift */; }; 7CED91642EF2D1F900457128 /* ShopSummaryViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FD92EF2D1F900457128 /* ShopSummaryViewModel.swift */; }; 7CED91652EF2D1F900457128 /* NoticeListHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F452EF2D1F900457128 /* NoticeListHeaderView.swift */; }; 7CED91662EF2D1F900457128 /* CertificationFormViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F272EF2D1F900457128 /* CertificationFormViewController.swift */; }; @@ -650,7 +667,6 @@ 7CED916A2EF2D1F900457128 /* MyKeywordCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F5E2EF2D1F900457128 /* MyKeywordCollectionViewCell.swift */; }; 7CED916F2EF2D1F900457128 /* AddDirectFooterView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90932EF2D1F900457128 /* AddDirectFooterView.swift */; }; 7CED91702EF2D1F900457128 /* DashedBorderButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90122EF2D1F900457128 /* DashedBorderButton.swift */; }; - 7CED91732EF2D1F900457128 /* LandOptionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90B52EF2D1F900457128 /* LandOptionView.swift */; }; 7CED91752EF2D1F900457128 /* ShopReviewReportViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90222EF2D1F900457128 /* ShopReviewReportViewController.swift */; }; 7CED91782EF2D1F900457128 /* DiningOperatingTimeHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90782EF2D1F900457128 /* DiningOperatingTimeHeaderView.swift */; }; 7CED917A2EF2D1F900457128 /* ShopSummaryTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FCE2EF2D1F900457128 /* ShopSummaryTableView.swift */; }; @@ -697,7 +713,6 @@ 7CED91CD2EF2D1F900457128 /* LostItemChatViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F022EF2D1F900457128 /* LostItemChatViewModel.swift */; }; 7CED91CE2EF2D1F900457128 /* NotiViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F142EF2D1F900457128 /* NotiViewModel.swift */; }; 7CED91CF2EF2D1F900457128 /* ManageNoticeKeywordViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F622EF2D1F900457128 /* ManageNoticeKeywordViewModel.swift */; }; - 7CED91D22EF2D1F900457128 /* LandImageCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90B32EF2D1F900457128 /* LandImageCollectionViewCell.swift */; }; 7CED91D72EF2D1F900457128 /* ShopDetailViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FE82EF2D1F900457128 /* ShopDetailViewModel.swift */; }; 7CED91D82EF2D1F900457128 /* ClassComponentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED908A2EF2D1F900457128 /* ClassComponentView.swift */; }; 7CED91DD2EF2D1F900457128 /* ShopDetailTableViewNameCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FE02EF2D1F900457128 /* ShopDetailTableViewNameCell.swift */; }; @@ -712,7 +727,6 @@ 7CED91F42EF2D1F900457128 /* NonReviewListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED900B2EF2D1F900457128 /* NonReviewListView.swift */; }; 7CED91F52EF2D1F900457128 /* PolicyContentCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F182EF2D1F900457128 /* PolicyContentCollectionViewCell.swift */; }; 7CED91F82EF2D1F900457128 /* TimetableViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED909E2EF2D1F900457128 /* TimetableViewModel.swift */; }; - 7CED91F92EF2D1F900457128 /* LandOptionCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90AF2EF2D1F900457128 /* LandOptionCollectionView.swift */; }; 7CED91FA2EF2D1F900457128 /* DeliveryTipsCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FDD2EF2D1F900457128 /* DeliveryTipsCollectionViewCell.swift */; }; 7CED91FE2EF2D1F900457128 /* LostArticleImageCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EE92EF2D1F900457128 /* LostArticleImageCollectionViewCell.swift */; }; 7CED91FF2EF2D1F900457128 /* FoundIdViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F302EF2D1F900457128 /* FoundIdViewController.swift */; }; @@ -730,7 +744,6 @@ 7CED92112EF2D1F900457128 /* AddDirectCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90902EF2D1F900457128 /* AddDirectCollectionView.swift */; }; 7CED92122EF2D1F900457128 /* SortTypeBottomSheetCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FFD2EF2D1F900457128 /* SortTypeBottomSheetCell.swift */; }; 7CED92132EF2D1F900457128 /* SettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8F082EF2D1F900457128 /* SettingsViewController.swift */; }; - 7CED92142EF2D1F900457128 /* LandCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90A82EF2D1F900457128 /* LandCollectionViewCell.swift */; }; 7CED92172EF2D1F900457128 /* DiningOperatingTimeFooterView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED90792EF2D1F900457128 /* DiningOperatingTimeFooterView.swift */; }; 7CED92192EF2D1F900457128 /* ReportLostItemViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8EE52EF2D1F900457128 /* ReportLostItemViewModel.swift */; }; 7CED921A2EF2D1F900457128 /* ShopViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED8FB82EF2D1F900457128 /* ShopViewController.swift */; }; @@ -749,6 +762,13 @@ 7CED923B2EF2D26000457128 /* Coordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED923A2EF2D26000457128 /* Coordinator.swift */; }; 7CED92462EF3DC2800457128 /* OrderCategoryCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED92442EF3DC2800457128 /* OrderCategoryCollectionViewCell.swift */; }; 7CED92472EF3DC2800457128 /* OrderCategoryCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CED92432EF3DC2800457128 /* OrderCategoryCollectionView.swift */; }; + 7CF09F8A30B2E790000F6CDD /* LandListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF09F8930B2E790000F6CDD /* LandListViewController.swift */; }; + 7CF09F8E30B2E79B000F6CDD /* LandListViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF09F8D30B2E79B000F6CDD /* LandListViewModel.swift */; }; + 7CF09F9130B2E7D5000F6CDD /* LandMapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF09F9030B2E7D5000F6CDD /* LandMapView.swift */; }; + 7CF09F9330B2E85B000F6CDD /* LandMarkerKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF09F9230B2E85B000F6CDD /* LandMarkerKey.swift */; }; + 7C18785B30B3600000ADB970 /* LandCoordinate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C18785A30B3600000ADB970 /* LandCoordinate.swift */; }; + 7CF09F9730B2EB11000F6CDD /* LandRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF09F9630B2EB11000F6CDD /* LandRow.swift */; }; + 7CF09F9B30B2F67C000F6CDD /* LandDetail.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF09F9A30B2F67C000F6CDD /* LandDetail.swift */; }; 7CF1D58B30695E7900295ED9 /* RecruitMyPostViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF1D58A30695E7900295ED9 /* RecruitMyPostViewModel.swift */; }; 7CF1D58D30695E8A00295ED9 /* RecruitMyPostHostingController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF1D58C30695E8A00295ED9 /* RecruitMyPostHostingController.swift */; }; 7CF1D58F3069772700295ED9 /* RecruitApplicantRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CF1D58E3069772700295ED9 /* RecruitApplicantRow.swift */; }; @@ -889,6 +909,8 @@ A51C00000000000000000006 /* RecruitProfilePostActivityEditTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A51B00000000000000000006 /* RecruitProfilePostActivityEditTableViewCell.swift */; }; A5F8FD7A714E689BC4F3321B /* RecruitMyApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645CEE62E516B130B4E2D784 /* RecruitMyApplication.swift */; }; A83115679000000000000001 /* LostItemColorAsset.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83115679000000000000002 /* LostItemColorAsset.swift */; }; + A83115679000000000000008 /* LostItemListEmptyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83115679000000000000009 /* LostItemListEmptyView.swift */; }; + A83115679000000000000010 /* ChatListModel+LostItemChat.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83115679000000000000011 /* ChatListModel+LostItemChat.swift */; }; AA20000000000000000001 /* Publisher+.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000001 /* Publisher+.swift */; }; AA20000000000000000002 /* DiningFixtures.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000002 /* DiningFixtures.swift */; }; AA20000000000000000003 /* SpyDiningRepository.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000003 /* SpyDiningRepository.swift */; }; @@ -906,7 +928,6 @@ AA20000000000000000024 /* RegisterFormViewModelStubs.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000024 /* RegisterFormViewModelStubs.swift */; }; AA20000000000000000030 /* CertificationInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000030 /* CertificationInput.swift */; }; AA20000000000000000031 /* VerificationSession.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000031 /* VerificationSession.swift */; }; - AA200000000000000000F1 /* VerificationInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F1 /* VerificationInput.swift */; }; AA20000000000000000032 /* CertificationInputTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000032 /* CertificationInputTests.swift */; }; AA20000000000000000033 /* VerificationSessionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000033 /* VerificationSessionTests.swift */; }; AA20000000000000000034 /* RegisterFormViewModelCertificationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000034 /* RegisterFormViewModelCertificationTests.swift */; }; @@ -918,6 +939,11 @@ AA20000000000000000040 /* EnterFormUseCaseSpies.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000040 /* EnterFormUseCaseSpies.swift */; }; AA20000000000000000041 /* EnterFormState.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000041 /* EnterFormState.swift */; }; AA20000000000000000042 /* EnterFormStateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA10000000000000000042 /* EnterFormStateTests.swift */; }; + AA200000000000000000F1 /* VerificationInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F1 /* VerificationInput.swift */; }; + AA200000000000000000F2 /* MatchIdPhoneRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F2 /* MatchIdPhoneRequest.swift */; }; + AA200000000000000000F3 /* MatchIdEmailRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F3 /* MatchIdEmailRequest.swift */; }; + AA200000000000000000F4 /* MatchIdPhoneUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F4 /* MatchIdPhoneUseCase.swift */; }; + AA200000000000000000F5 /* MatchIdEmailUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F5 /* MatchIdEmailUseCase.swift */; }; AB2000000000000000000061 /* MainTimetableFrame.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB1000000000000000000061 /* MainTimetableFrame.swift */; }; B0495459FC164809B16A96B6 /* RecruitPostTextViewView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54351A8A0C1A4046C3155481 /* RecruitPostTextViewView.swift */; }; B438AEE42E756AB600E889C4 /* ShopImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B438AEE32E756AB600E889C4 /* ShopImage.swift */; }; @@ -1033,10 +1059,6 @@ D20AD6FD2E02A49A0067760A /* FindIdSmsUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20AD6FC2E02A49A0067760A /* FindIdSmsUseCase.swift */; }; D20AD6FF2E02A4AB0067760A /* FindIdEmailUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20AD6FE2E02A4AB0067760A /* FindIdEmailUseCase.swift */; }; D20AD7052E0367E00067760A /* ResetPasswordSmsRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20AD7042E0367E00067760A /* ResetPasswordSmsRequest.swift */; }; - AA200000000000000000F5 /* MatchIdEmailUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F5 /* MatchIdEmailUseCase.swift */; }; - AA200000000000000000F4 /* MatchIdPhoneUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F4 /* MatchIdPhoneUseCase.swift */; }; - AA200000000000000000F3 /* MatchIdEmailRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F3 /* MatchIdEmailRequest.swift */; }; - AA200000000000000000F2 /* MatchIdPhoneRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA100000000000000000F2 /* MatchIdPhoneRequest.swift */; }; D20AD7072E0367F10067760A /* ResetPasswordEmailRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20AD7062E0367F10067760A /* ResetPasswordEmailRequest.swift */; }; D20AD7092E036BBB0067760A /* ResetPasswordSmsUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20AD7082E036BBB0067760A /* ResetPasswordSmsUseCase.swift */; }; D20AD70B2E036BC60067760A /* ResetPasswordEmailUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20AD70A2E036BC60067760A /* ResetPasswordEmailUseCase.swift */; }; @@ -1101,7 +1123,7 @@ D27DD0D12BA608310081FD36 /* ImageCacher.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0852BA608310081FD36 /* ImageCacher.swift */; }; D27DD0D22BA608310081FD36 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0872BA608310081FD36 /* AppDelegate.swift */; }; D27DD0D32BA608310081FD36 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0882BA608310081FD36 /* SceneDelegate.swift */; }; - D27DD0D82BA6089D0081FD36 /* LandDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0D72BA6089D0081FD36 /* LandDto.swift */; }; + D27DD0D82BA6089D0081FD36 /* LandListDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0D72BA6089D0081FD36 /* LandListDto.swift */; }; D27DD0E22BA609740081FD36 /* MenuDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0E12BA609740081FD36 /* MenuDto.swift */; }; D27DD0E42BA609F30081FD36 /* ShopDataDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0E32BA609F30081FD36 /* ShopDataDto.swift */; }; D27DD0F62BA614400081FD36 /* LandDetailDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27DD0F52BA614400081FD36 /* LandDetailDto.swift */; }; @@ -1128,8 +1150,6 @@ D29F21E22C4F303400994554 /* FetchDiningListRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21E12C4F303400994554 /* FetchDiningListRequest.swift */; }; D29F21E52C4F4C3700994554 /* AgreementText.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21E42C4F4C3700994554 /* AgreementText.swift */; }; D29F21EC2C4F609000994554 /* LoginUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21EB2C4F609000994554 /* LoginUseCase.swift */; }; - D29F21F12C4FD23600994554 /* LandDetailItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21F02C4FD23600994554 /* LandDetailItem.swift */; }; - D29F21F32C4FD23F00994554 /* LandItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21F22C4FD23F00994554 /* LandItem.swift */; }; D29F21F62C4FD2C700994554 /* FetchLandDetailRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21F52C4FD2C700994554 /* FetchLandDetailRequest.swift */; }; D29F21F82C5085B900994554 /* RefreshTokenRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21F72C5085B900994554 /* RefreshTokenRequest.swift */; }; D29F21FC2C508A9C00994554 /* CheckPasswordRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29F21FB2C508A9C00994554 /* CheckPasswordRequest.swift */; }; @@ -1255,7 +1275,6 @@ FE0100000000000000002B /* KoinDropdownViewController+Scroll.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE0100000000000000001B /* KoinDropdownViewController+Scroll.swift */; }; FE0100000000000000002C /* KoinDropdownViewController+Layout.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE0100000000000000001C /* KoinDropdownViewController+Layout.swift */; }; FE0B6B2358364622BC242C74 /* RecruitDataButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6AB6864692D44B9849E0447 /* RecruitDataButton.swift */; }; - A83115679000000000000010 /* ChatListModel+LostItemChat.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83115679000000000000011 /* ChatListModel+LostItemChat.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -1290,7 +1309,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - A83115679000000000000009 /* LostItemListEmptyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LostItemListEmptyView.swift; sourceTree = ""; }; 0FCD163C2BA80EAA00C23A2F /* KeychainWorker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KeychainWorker.swift; sourceTree = ""; }; 135CA058C5A41FBC30F6DD2F /* RecruitChatPostRequestDto.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RecruitChatPostRequestDto.swift; sourceTree = ""; }; 13EEDE9C4E0CA4F9CF7AB1F8 /* RecruitActivityPeriod.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecruitActivityPeriod.swift; sourceTree = ""; }; @@ -1375,6 +1393,32 @@ 7C17EEAD2EBF7031008BCA89 /* FetchShopSearchRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchShopSearchRequest.swift; sourceTree = ""; }; 7C17EEAF2EBF708B008BCA89 /* ShopSearchDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopSearchDto.swift; sourceTree = ""; }; 7C17EEB12EBF7175008BCA89 /* FetchSearchShopUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchSearchShopUseCase.swift; sourceTree = ""; }; + 7C18782330B307EC007ADB97 /* LandList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandList.swift; sourceTree = ""; }; + 7C18783030B32AF8007ADB97 /* LandMapView+ClusterMarkerUpdater.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "LandMapView+ClusterMarkerUpdater.swift"; sourceTree = ""; }; + 7C18783230B32BAA007ADB97 /* LandMapView+LeafMarkerUpdater.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "LandMapView+LeafMarkerUpdater.swift"; sourceTree = ""; }; + 7C18783430B33441007ADB97 /* LandMapView+OverlayImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "LandMapView+OverlayImage.swift"; sourceTree = ""; }; + 7C18783830B3452C007ADB97 /* LandRowDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandRowDto.swift; sourceTree = ""; }; + 7C18783A30B345FB007ADB97 /* LandListBottomSheetContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListBottomSheetContentView.swift; sourceTree = ""; }; + 7C18783C30B34782007ADB97 /* LandListFilter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListFilter.swift; sourceTree = ""; }; + 7C18783E30B3479B007ADB97 /* LandListFilterView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListFilterView.swift; sourceTree = ""; }; + 7C18784030B347C9007ADB97 /* LandListFilterButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListFilterButton.swift; sourceTree = ""; }; + 7C18785030B3600000ADB970 /* LandListTableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListTableView.swift; sourceTree = ""; }; + 7C18785230B3600000ADB970 /* LandListTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListTableViewCell.swift; sourceTree = ""; }; + 7C18785430B3600000ADB970 /* LandListFocusedView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListFocusedView.swift; sourceTree = ""; }; + 7C18785630B3600000ADB970 /* LandMapZoomControlView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandMapZoomControlView.swift; sourceTree = ""; }; + 7C18785830B3600000ADB970 /* LandListBadgeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListBadgeView.swift; sourceTree = ""; }; + 7C18785C30B3600000ADB970 /* LandDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailViewController.swift; sourceTree = ""; }; + 7C18785E30B3600000ADB970 /* LandDetailViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailViewModel.swift; sourceTree = ""; }; + 7C18786030B3600000ADB970 /* LandDetailImageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailImageView.swift; sourceTree = ""; }; + 7C18786230B3600000ADB970 /* LandDetailImageCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailImageCollectionViewCell.swift; sourceTree = ""; }; + 7C18786430B3600000ADB970 /* LandDetailImageEmptyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailImageEmptyView.swift; sourceTree = ""; }; + 7C18786630B3600000ADB970 /* LandDetailInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailInfoView.swift; sourceTree = ""; }; + 7C18786830B3600000ADB970 /* LandDetailBottomSheetContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailBottomSheetContentView.swift; sourceTree = ""; }; + 7C18786C30B3600000ADB970 /* LandSearchViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandSearchViewController.swift; sourceTree = ""; }; + 7C18786E30B3600000ADB970 /* LandSearchViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandSearchViewModel.swift; sourceTree = ""; }; + 7C18787030B3600000ADB970 /* LandSearchBarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandSearchBarView.swift; sourceTree = ""; }; + 7C18787230B3600000ADB970 /* LandSearchEmptyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandSearchEmptyView.swift; sourceTree = ""; }; + 7C18787430B3600000ADB970 /* FetchLandListRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchLandListRequest.swift; sourceTree = ""; }; 7C281CFC2EB3ED4B00BD6B4E /* FetchOrderShopDetailFromShopUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchOrderShopDetailFromShopUseCase.swift; sourceTree = ""; }; 7C333E7B302E285B009D2B89 /* KoinModalAnimator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KoinModalAnimator.swift; sourceTree = ""; }; 7C333E7D302E28AA009D2B89 /* KoinModalPresentationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KoinModalPresentationController.swift; sourceTree = ""; }; @@ -1981,18 +2025,6 @@ 7CED909F2EF2D1F900457128 /* TimetableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimetableViewController.swift; sourceTree = ""; }; 7CED90A02EF2D1F900457128 /* TimetableText+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "TimetableText+.swift"; sourceTree = ""; }; 7CED90A42EF2D1F900457128 /* FacilityInfoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FacilityInfoViewController.swift; sourceTree = ""; }; - 7CED90A82EF2D1F900457128 /* LandCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandCollectionViewCell.swift; sourceTree = ""; }; - 7CED90A92EF2D1F900457128 /* LandCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandCollectionView.swift; sourceTree = ""; }; - 7CED90AB2EF2D1F900457128 /* LandViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandViewModel.swift; sourceTree = ""; }; - 7CED90AC2EF2D1F900457128 /* LandViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandViewController.swift; sourceTree = ""; }; - 7CED90AE2EF2D1F900457128 /* HouseInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HouseInfoView.swift; sourceTree = ""; }; - 7CED90AF2EF2D1F900457128 /* LandOptionCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandOptionCollectionView.swift; sourceTree = ""; }; - 7CED90B02EF2D1F900457128 /* LandOptionCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandOptionCollectionViewCell.swift; sourceTree = ""; }; - 7CED90B22EF2D1F900457128 /* LandImageCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandImageCollectionView.swift; sourceTree = ""; }; - 7CED90B32EF2D1F900457128 /* LandImageCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandImageCollectionViewCell.swift; sourceTree = ""; }; - 7CED90B52EF2D1F900457128 /* LandOptionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandOptionView.swift; sourceTree = ""; }; - 7CED90B72EF2D1F900457128 /* LandDetailViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailViewModel.swift; sourceTree = ""; }; - 7CED90B82EF2D1F900457128 /* LandDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailViewController.swift; sourceTree = ""; }; 7CED921B2EF2D25900457128 /* DIContainer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DIContainer.swift; sourceTree = ""; }; 7CED921C2EF2D25900457128 /* DIContainer+Home.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DIContainer+Home.swift"; sourceTree = ""; }; 7CED921D2EF2D25900457128 /* DIContainer+LostItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DIContainer+LostItem.swift"; sourceTree = ""; }; @@ -2008,6 +2040,13 @@ 7CED923A2EF2D26000457128 /* Coordinator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Coordinator.swift; sourceTree = ""; }; 7CED92432EF3DC2800457128 /* OrderCategoryCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderCategoryCollectionView.swift; sourceTree = ""; }; 7CED92442EF3DC2800457128 /* OrderCategoryCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderCategoryCollectionViewCell.swift; sourceTree = ""; }; + 7CF09F8930B2E790000F6CDD /* LandListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListViewController.swift; sourceTree = ""; }; + 7CF09F8D30B2E79B000F6CDD /* LandListViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandListViewModel.swift; sourceTree = ""; }; + 7CF09F9030B2E7D5000F6CDD /* LandMapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandMapView.swift; sourceTree = ""; }; + 7CF09F9230B2E85B000F6CDD /* LandMarkerKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandMarkerKey.swift; sourceTree = ""; }; + 7C18785A30B3600000ADB970 /* LandCoordinate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandCoordinate.swift; sourceTree = ""; }; + 7CF09F9630B2EB11000F6CDD /* LandRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandRow.swift; sourceTree = ""; }; + 7CF09F9A30B2F67C000F6CDD /* LandDetail.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetail.swift; sourceTree = ""; }; 7CF1D58A30695E7900295ED9 /* RecruitMyPostViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecruitMyPostViewModel.swift; sourceTree = ""; }; 7CF1D58C30695E8A00295ED9 /* RecruitMyPostHostingController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecruitMyPostHostingController.swift; sourceTree = ""; }; 7CF1D58E3069772700295ED9 /* RecruitApplicantRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecruitApplicantRow.swift; sourceTree = ""; }; @@ -2150,6 +2189,8 @@ A51B00000000000000000006 /* RecruitProfilePostActivityEditTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecruitProfilePostActivityEditTableViewCell.swift; sourceTree = ""; }; A644536454EB046B5895D793 /* PickerColumnsDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PickerColumnsDataSource.swift; sourceTree = ""; }; A83115679000000000000002 /* LostItemColorAsset.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LostItemColorAsset.swift; sourceTree = ""; }; + A83115679000000000000009 /* LostItemListEmptyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LostItemListEmptyView.swift; sourceTree = ""; }; + A83115679000000000000011 /* ChatListModel+LostItemChat.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ChatListModel+LostItemChat.swift"; sourceTree = ""; }; AA10000000000000000001 /* Publisher+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Publisher+.swift"; sourceTree = ""; }; AA10000000000000000002 /* DiningFixtures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiningFixtures.swift; sourceTree = ""; }; AA10000000000000000003 /* SpyDiningRepository.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpyDiningRepository.swift; sourceTree = ""; }; @@ -2167,7 +2208,6 @@ AA10000000000000000024 /* RegisterFormViewModelStubs.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RegisterFormViewModelStubs.swift; sourceTree = ""; }; AA10000000000000000030 /* CertificationInput.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CertificationInput.swift; sourceTree = ""; }; AA10000000000000000031 /* VerificationSession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VerificationSession.swift; sourceTree = ""; }; - AA100000000000000000F1 /* VerificationInput.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VerificationInput.swift; sourceTree = ""; }; AA10000000000000000032 /* CertificationInputTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CertificationInputTests.swift; sourceTree = ""; }; AA10000000000000000033 /* VerificationSessionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VerificationSessionTests.swift; sourceTree = ""; }; AA10000000000000000034 /* RegisterFormViewModelCertificationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RegisterFormViewModelCertificationTests.swift; sourceTree = ""; }; @@ -2179,6 +2219,11 @@ AA10000000000000000040 /* EnterFormUseCaseSpies.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EnterFormUseCaseSpies.swift; sourceTree = ""; }; AA10000000000000000041 /* EnterFormState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EnterFormState.swift; sourceTree = ""; }; AA10000000000000000042 /* EnterFormStateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EnterFormStateTests.swift; sourceTree = ""; }; + AA100000000000000000F1 /* VerificationInput.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VerificationInput.swift; sourceTree = ""; }; + AA100000000000000000F2 /* MatchIdPhoneRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdPhoneRequest.swift; sourceTree = ""; }; + AA100000000000000000F3 /* MatchIdEmailRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdEmailRequest.swift; sourceTree = ""; }; + AA100000000000000000F4 /* MatchIdPhoneUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdPhoneUseCase.swift; sourceTree = ""; }; + AA100000000000000000F5 /* MatchIdEmailUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdEmailUseCase.swift; sourceTree = ""; }; AB1000000000000000000061 /* MainTimetableFrame.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainTimetableFrame.swift; sourceTree = ""; }; B2FBEEB767094CE8B219095B /* RecruitDataTextSectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecruitDataTextSectionView.swift; sourceTree = ""; }; B438AEE32E756AB600E889C4 /* ShopImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopImage.swift; sourceTree = ""; }; @@ -2297,10 +2342,6 @@ D20AD6FC2E02A49A0067760A /* FindIdSmsUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FindIdSmsUseCase.swift; sourceTree = ""; }; D20AD6FE2E02A4AB0067760A /* FindIdEmailUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FindIdEmailUseCase.swift; sourceTree = ""; }; D20AD7042E0367E00067760A /* ResetPasswordSmsRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResetPasswordSmsRequest.swift; sourceTree = ""; }; - AA100000000000000000F5 /* MatchIdEmailUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdEmailUseCase.swift; sourceTree = ""; }; - AA100000000000000000F4 /* MatchIdPhoneUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdPhoneUseCase.swift; sourceTree = ""; }; - AA100000000000000000F3 /* MatchIdEmailRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdEmailRequest.swift; sourceTree = ""; }; - AA100000000000000000F2 /* MatchIdPhoneRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatchIdPhoneRequest.swift; sourceTree = ""; }; D20AD7062E0367F10067760A /* ResetPasswordEmailRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResetPasswordEmailRequest.swift; sourceTree = ""; }; D20AD7082E036BBB0067760A /* ResetPasswordSmsUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResetPasswordSmsUseCase.swift; sourceTree = ""; }; D20AD70A2E036BC60067760A /* ResetPasswordEmailUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResetPasswordEmailUseCase.swift; sourceTree = ""; }; @@ -2367,7 +2408,7 @@ D27DD0852BA608310081FD36 /* ImageCacher.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageCacher.swift; sourceTree = ""; }; D27DD0872BA608310081FD36 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; D27DD0882BA608310081FD36 /* SceneDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; - D27DD0D72BA6089D0081FD36 /* LandDto.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LandDto.swift; sourceTree = ""; }; + D27DD0D72BA6089D0081FD36 /* LandListDto.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LandListDto.swift; sourceTree = ""; }; D27DD0E12BA609740081FD36 /* MenuDto.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MenuDto.swift; sourceTree = ""; }; D27DD0E32BA609F30081FD36 /* ShopDataDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopDataDto.swift; sourceTree = ""; }; D27DD0F52BA614400081FD36 /* LandDetailDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailDto.swift; sourceTree = ""; }; @@ -2394,8 +2435,6 @@ D29F21E12C4F303400994554 /* FetchDiningListRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchDiningListRequest.swift; sourceTree = ""; }; D29F21E42C4F4C3700994554 /* AgreementText.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AgreementText.swift; sourceTree = ""; }; D29F21EB2C4F609000994554 /* LoginUseCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoginUseCase.swift; sourceTree = ""; }; - D29F21F02C4FD23600994554 /* LandDetailItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandDetailItem.swift; sourceTree = ""; }; - D29F21F22C4FD23F00994554 /* LandItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LandItem.swift; sourceTree = ""; }; D29F21F52C4FD2C700994554 /* FetchLandDetailRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchLandDetailRequest.swift; sourceTree = ""; }; D29F21F72C5085B900994554 /* RefreshTokenRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RefreshTokenRequest.swift; sourceTree = ""; }; D29F21FB2C508A9C00994554 /* CheckPasswordRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckPasswordRequest.swift; sourceTree = ""; }; @@ -2526,7 +2565,6 @@ FE0100000000000000001A /* KoinDropdownViewController+Present.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "KoinDropdownViewController+Present.swift"; sourceTree = ""; }; FE0100000000000000001B /* KoinDropdownViewController+Scroll.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "KoinDropdownViewController+Scroll.swift"; sourceTree = ""; }; FE0100000000000000001C /* KoinDropdownViewController+Layout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "KoinDropdownViewController+Layout.swift"; sourceTree = ""; }; - A83115679000000000000011 /* ChatListModel+LostItemChat.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ChatListModel+LostItemChat.swift"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -2753,6 +2791,59 @@ path = CoreData; sourceTree = ""; }; + 7C18782B30B32020007ADB97 /* LandMapView */ = { + isa = PBXGroup; + children = ( + 7CF09F9030B2E7D5000F6CDD /* LandMapView.swift */, + 7C18783030B32AF8007ADB97 /* LandMapView+ClusterMarkerUpdater.swift */, + 7C18783230B32BAA007ADB97 /* LandMapView+LeafMarkerUpdater.swift */, + 7C18783430B33441007ADB97 /* LandMapView+OverlayImage.swift */, + 7CF09F9230B2E85B000F6CDD /* LandMarkerKey.swift */, + ); + path = LandMapView; + sourceTree = ""; + }; + 7C18786A30B3600000ADB970 /* LandDetail */ = { + isa = PBXGroup; + children = ( + 7C18786B30B3600000ADB970 /* Subviews */, + 7C18785C30B3600000ADB970 /* LandDetailViewController.swift */, + 7C18785E30B3600000ADB970 /* LandDetailViewModel.swift */, + ); + path = LandDetail; + sourceTree = ""; + }; + 7C18786B30B3600000ADB970 /* Subviews */ = { + isa = PBXGroup; + children = ( + 7C18786030B3600000ADB970 /* LandDetailImageView.swift */, + 7C18786230B3600000ADB970 /* LandDetailImageCollectionViewCell.swift */, + 7C18786430B3600000ADB970 /* LandDetailImageEmptyView.swift */, + 7C18786630B3600000ADB970 /* LandDetailInfoView.swift */, + 7C18786830B3600000ADB970 /* LandDetailBottomSheetContentView.swift */, + ); + path = Subviews; + sourceTree = ""; + }; + 7C18787630B3600000ADB970 /* LandSearch */ = { + isa = PBXGroup; + children = ( + 7C18787730B3600000ADB970 /* Subviews */, + 7C18786C30B3600000ADB970 /* LandSearchViewController.swift */, + 7C18786E30B3600000ADB970 /* LandSearchViewModel.swift */, + ); + path = LandSearch; + sourceTree = ""; + }; + 7C18787730B3600000ADB970 /* Subviews */ = { + isa = PBXGroup; + children = ( + 7C18787030B3600000ADB970 /* LandSearchBarView.swift */, + 7C18787230B3600000ADB970 /* LandSearchEmptyView.swift */, + ); + path = Subviews; + sourceTree = ""; + }; 7C333E7A302E280C009D2B89 /* KoinModalViewController */ = { isa = PBXGroup; children = ( @@ -5196,73 +5287,6 @@ path = Facility; sourceTree = ""; }; - 7CED90AA2EF2D1F900457128 /* SubViews */ = { - isa = PBXGroup; - children = ( - 7CED90A82EF2D1F900457128 /* LandCollectionViewCell.swift */, - 7CED90A92EF2D1F900457128 /* LandCollectionView.swift */, - ); - path = SubViews; - sourceTree = ""; - }; - 7CED90AD2EF2D1F900457128 /* Land */ = { - isa = PBXGroup; - children = ( - 7CED90AA2EF2D1F900457128 /* SubViews */, - 7CED90AB2EF2D1F900457128 /* LandViewModel.swift */, - 7CED90AC2EF2D1F900457128 /* LandViewController.swift */, - ); - path = Land; - sourceTree = ""; - }; - 7CED90B12EF2D1F900457128 /* LandOptionCollectionView */ = { - isa = PBXGroup; - children = ( - 7CED90AF2EF2D1F900457128 /* LandOptionCollectionView.swift */, - 7CED90B02EF2D1F900457128 /* LandOptionCollectionViewCell.swift */, - ); - path = LandOptionCollectionView; - sourceTree = ""; - }; - 7CED90B42EF2D1F900457128 /* LandImageCollectionView */ = { - isa = PBXGroup; - children = ( - 7CED90B22EF2D1F900457128 /* LandImageCollectionView.swift */, - 7CED90B32EF2D1F900457128 /* LandImageCollectionViewCell.swift */, - ); - path = LandImageCollectionView; - sourceTree = ""; - }; - 7CED90B62EF2D1F900457128 /* SubViews */ = { - isa = PBXGroup; - children = ( - 7CED90AE2EF2D1F900457128 /* HouseInfoView.swift */, - 7CED90B12EF2D1F900457128 /* LandOptionCollectionView */, - 7CED90B42EF2D1F900457128 /* LandImageCollectionView */, - 7CED90B52EF2D1F900457128 /* LandOptionView.swift */, - ); - path = SubViews; - sourceTree = ""; - }; - 7CED90B92EF2D1F900457128 /* LandDetail */ = { - isa = PBXGroup; - children = ( - 7CED90B62EF2D1F900457128 /* SubViews */, - 7CED90B72EF2D1F900457128 /* LandDetailViewModel.swift */, - 7CED90B82EF2D1F900457128 /* LandDetailViewController.swift */, - ); - path = LandDetail; - sourceTree = ""; - }; - 7CED90BA2EF2D1F900457128 /* Land */ = { - isa = PBXGroup; - children = ( - 7CED90AD2EF2D1F900457128 /* Land */, - 7CED90B92EF2D1F900457128 /* LandDetail */, - ); - path = Land; - sourceTree = ""; - }; 7CED90BB2EF2D1F900457128 /* Presentation */ = { isa = PBXGroup; children = ( @@ -5278,9 +5302,9 @@ 7C7ECDB53073D67900C7E768 /* Dining */, 7CED90A22EF2D1F900457128 /* TimeTable */, 7CED90A62EF2D1F900457128 /* Facility */, - 7CED90BA2EF2D1F900457128 /* Land */, 7CC42B082F56AAAD00940CE1 /* CallVan */, 7C50A1B53041A25D00897A6F /* Recruit */, + 7CF09F8730B2E77F000F6CDD /* Land */, ); path = Presentation; sourceTree = ""; @@ -5314,6 +5338,42 @@ path = OrderCategoryCollectionView; sourceTree = ""; }; + 7CF09F8730B2E77F000F6CDD /* Land */ = { + isa = PBXGroup; + children = ( + 7CF09F8830B2E789000F6CDD /* LandList */, + 7C18786A30B3600000ADB970 /* LandDetail */, + 7C18787630B3600000ADB970 /* LandSearch */, + ); + path = Land; + sourceTree = ""; + }; + 7CF09F8830B2E789000F6CDD /* LandList */ = { + isa = PBXGroup; + children = ( + 7C18782B30B32020007ADB97 /* LandMapView */, + 7CF09F8F30B2E79E000F6CDD /* Subviews */, + 7CF09F8930B2E790000F6CDD /* LandListViewController.swift */, + 7CF09F8D30B2E79B000F6CDD /* LandListViewModel.swift */, + ); + path = LandList; + sourceTree = ""; + }; + 7CF09F8F30B2E79E000F6CDD /* Subviews */ = { + isa = PBXGroup; + children = ( + 7C18783A30B345FB007ADB97 /* LandListBottomSheetContentView.swift */, + 7C18783E30B3479B007ADB97 /* LandListFilterView.swift */, + 7C18784030B347C9007ADB97 /* LandListFilterButton.swift */, + 7C18785030B3600000ADB970 /* LandListTableView.swift */, + 7C18785230B3600000ADB970 /* LandListTableViewCell.swift */, + 7C18785430B3600000ADB970 /* LandListFocusedView.swift */, + 7C18785630B3600000ADB970 /* LandMapZoomControlView.swift */, + 7C18785830B3600000ADB970 /* LandListBadgeView.swift */, + ); + path = Subviews; + sourceTree = ""; + }; 7CF77B38300254AA003642C1 /* Profile */ = { isa = PBXGroup; children = ( @@ -5961,7 +6021,8 @@ D23479D82BDB5EEF00FA91BD /* Land */ = { isa = PBXGroup; children = ( - D27DD0D72BA6089D0081FD36 /* LandDto.swift */, + D27DD0D72BA6089D0081FD36 /* LandListDto.swift */, + 7C18783830B3452C007ADB97 /* LandRowDto.swift */, D27DD0F52BA614400081FD36 /* LandDetailDto.swift */, ); path = Land; @@ -6315,8 +6376,11 @@ D29F21EF2C4FD22900994554 /* Land */ = { isa = PBXGroup; children = ( - D29F21F02C4FD23600994554 /* LandDetailItem.swift */, - D29F21F22C4FD23F00994554 /* LandItem.swift */, + 7C18782330B307EC007ADB97 /* LandList.swift */, + 7C18783C30B34782007ADB97 /* LandListFilter.swift */, + 7CF09F9630B2EB11000F6CDD /* LandRow.swift */, + 7CF09F9A30B2F67C000F6CDD /* LandDetail.swift */, + 7C18785A30B3600000ADB970 /* LandCoordinate.swift */, ); path = Land; sourceTree = ""; @@ -6325,6 +6389,7 @@ isa = PBXGroup; children = ( D29F21F52C4FD2C700994554 /* FetchLandDetailRequest.swift */, + 7C18787430B3600000ADB970 /* FetchLandListRequest.swift */, ); path = Land; sourceTree = ""; @@ -6949,9 +7014,12 @@ A2C120000000000000000005 /* FetchRecruitChatMessagesUseCase.swift in Sources */, A2C120000000000000000007 /* PostRecruitChatMessageUseCase.swift in Sources */, F0F216EDAA69B52CBEC0E606 /* RecruitPostViewModel.swift in Sources */, + 7CF09F8E30B2E79B000F6CDD /* LandListViewModel.swift in Sources */, 004A06CB3468BBA8DCB4CB44 /* RecruitPostViewController.swift in Sources */, E5DD3F6BE6C501B7B3BD659C /* RecruitPostRoleView.swift in Sources */, A1E000010000000000000001 /* RecruitPostRoleTableView.swift in Sources */, + 7CF09F9330B2E85B000F6CDD /* LandMarkerKey.swift in Sources */, + 7C18785B30B3600000ADB970 /* LandCoordinate.swift in Sources */, 0E2253358E42231BE436FA27 /* RecruitPostScheduleView.swift in Sources */, 1537B6CFD3D7AF52A2E9E944 /* RecruitPostMeetingTypeView.swift in Sources */, C1838F7A4424DEA14DB2D107 /* RecruitPostCategoryView.swift in Sources */, @@ -7127,6 +7195,7 @@ 7CF7D0DF30853D8D009AFDCB /* DiningNoti.swift in Sources */, 83DD0DE62C57406600278ABD /* GetBusFiltersUseCase.swift in Sources */, D22C54732C6A2A73000826DA /* FetchMyReviewUseCase.swift in Sources */, + 7C18783930B3452C007ADB97 /* LandRowDto.swift in Sources */, D29F21D52C4E1A8300994554 /* RegisterUseCase.swift in Sources */, 83B7457D2C9B2EBB005868BD /* IndicatorView.swift in Sources */, D2A513412C59FE860064941A /* ShareDiningMenu.swift in Sources */, @@ -7143,7 +7212,6 @@ D2D422752BB2AB3A00A8AF04 /* PasswordConfirmer.swift in Sources */, 7C58FEA22F5FE4E100A2737B /* CallVanReportEvidenceViewController.swift in Sources */, 7C0C18A12F68FC89001781B3 /* FetchCallVanSummaryUseCase.swift in Sources */, - D29F21F12C4FD23600994554 /* LandDetailItem.swift in Sources */, 83DD0DC62C554D3F00278ABD /* BusCourseInfo.swift in Sources */, 7C58FE902F5FA4D600A2737B /* CallVanDataTableViewCell.swift in Sources */, 835DC1F92C849ECD00488506 /* FetchRecommendedKeywordUseCase.swift in Sources */, @@ -7161,7 +7229,6 @@ D27DD0CD2BA608310081FD36 /* Log.swift in Sources */, 7C01656B300ABE9E0013DD7B /* DepartmentFooterView.swift in Sources */, 7C05D0782FBC29ED00F4D825 /* ShopBenefitViewModel.swift in Sources */, - D29F21F32C4FD23F00994554 /* LandItem.swift in Sources */, 7C7F56B72FFB9FE000847151 /* NotificationHistoryRecord.swift in Sources */, 7C50A1FD3042E9AB00897A6F /* FetchRecruitListUseCase.swift in Sources */, BEEF20000000000000000001 /* RecruitMyPostList.swift in Sources */, @@ -7213,6 +7280,7 @@ D837FB122E254BD8002BFB9F /* CustomSessionManager.swift in Sources */, D2DCB2922CE5D639005CABEE /* PostCallNotificationUseCase.swift in Sources */, 83DD0DCA2C5651D900278ABD /* FetchExpressTimetableUseCase.swift in Sources */, + 7CF09F9130B2E7D5000F6CDD /* LandMapView.swift in Sources */, D8B4E0042DBFAD1A001FBC89 /* CheckVerificationCodeRequest.swift in Sources */, D23944862C3C3ADB00048F45 /* FetchShopReviewListUseCase.swift in Sources */, 7C0C18972F68A91A001781B3 /* PostCallVanChatUseCase.swift in Sources */, @@ -7261,7 +7329,9 @@ 7CACF86730436D2600AC2828 /* RecruitNotificationListViewModel.swift in Sources */, D29F21D32C4E17C300994554 /* TimetableAPI.swift in Sources */, 83E770FE2D05D76200EB3F84 /* ShuttleBusTimetableDto.swift in Sources */, + 7CF09F9B30B2F67C000F6CDD /* LandDetail.swift in Sources */, D29F21E22C4F303400994554 /* FetchDiningListRequest.swift in Sources */, + 7C18783B30B345FB007ADB97 /* LandListBottomSheetContentView.swift in Sources */, 7C0C18A32F68FD3D001781B3 /* CallVanSummaryDto.swift in Sources */, D2D4225D2BAAEE0900A8AF04 /* DeptDto.swift in Sources */, D2D380FB2BA73162009AD5A9 /* TokenDto.swift in Sources */, @@ -7339,7 +7409,6 @@ 7CF1D58D30695E8A00295ED9 /* RecruitMyPostHostingController.swift in Sources */, 7CED90C62EF2D1F900457128 /* TimetableCollectionViewCell.swift in Sources */, 7C016556300AA2E10013DD7B /* DepartmentCategory.swift in Sources */, - 7CED90CA2EF2D1F900457128 /* LandOptionCollectionViewCell.swift in Sources */, 7CED90CB2EF2D1F900457128 /* LostItemChatListTableViewModel.swift in Sources */, 7CED90CE2EF2D1F900457128 /* ForceModifyUserViewController.swift in Sources */, 7CED90CF2EF2D1F900457128 /* ChangeMyProfileViewModel.swift in Sources */, @@ -7351,7 +7420,6 @@ 7CDCD0E430560758004204DA /* BasicInfo.swift in Sources */, 7CED90D22EF2D1F900457128 /* TagCollectionViewCell.swift in Sources */, 7C50A1CC3041E29000897A6F /* RecruitListFilter.swift in Sources */, - 7CED90D32EF2D1F900457128 /* LandCollectionView.swift in Sources */, 7C6403D6300BF12500A9589F /* SearchDepartmentByCategoryUseCase.swift in Sources */, 7CED90D52EF2D1F900457128 /* SelectDeptModalViewController.swift in Sources */, 7CED90D72EF2D1F900457128 /* RecommendedKeywordCollectionView.swift in Sources */, @@ -7363,7 +7431,6 @@ 7C61D35F2F24000C005FAC3A /* LostItemDataButtonsView.swift in Sources */, 7CED90DC2EF2D1F900457128 /* ShopSummaryDeliveryButton.swift in Sources */, 7CED90DD2EF2D1F900457128 /* AddDirectCollectionViewCell.swift in Sources */, - 7CED90DF2EF2D1F900457128 /* LandDetailViewModel.swift in Sources */, 7CED90E02EF2D1F900457128 /* ShopSummaryTableViewCell.swift in Sources */, 7C50A20930431F9900897A6F /* Array+.swift in Sources */, 7CED90E22EF2D1F900457128 /* PointLabel.swift in Sources */, @@ -7372,7 +7439,6 @@ 7CED90E42EF2D1F900457128 /* SubstituteTimetableModalViewController.swift in Sources */, 7CED90E72EF2D1F900457128 /* ForceUpdateViewController.swift in Sources */, 7C86750E30061AA0003CB942 /* CheckHasUnreadNotificationHistoryUseCase.swift in Sources */, - 7CED90EB2EF2D1F900457128 /* LandViewController.swift in Sources */, 7CED90EF2EF2D1F900457128 /* ShopReviewReportViewModel.swift in Sources */, 7CED90F02EF2D1F900457128 /* RevokeModalViewController.swift in Sources */, 7CED90F12EF2D1F900457128 /* ForceUpdateViewModel.swift in Sources */, @@ -7380,7 +7446,6 @@ 7CED90F22EF2D1F900457128 /* ShopSearchViewModel.swift in Sources */, 7CED90F42EF2D1F900457128 /* LostItemChatListTableViewController.swift in Sources */, 7CED90F72EF2D1F900457128 /* ReviewImageCollectionViewCell.swift in Sources */, - 7CED90FA2EF2D1F900457128 /* LandDetailViewController.swift in Sources */, 7CED90FB2EF2D1F900457128 /* NoticeTabBarCollectionViewCell.swift in Sources */, 7CF77B6930056EC9003642C1 /* NoticeKeywordButton.swift in Sources */, 7CED90FD2EF2D1F900457128 /* ReviewImageUploadCollectionViewCell.swift in Sources */, @@ -7402,7 +7467,6 @@ 7CED91092EF2D1F900457128 /* FacilityInfoViewController.swift in Sources */, 7CED910A2EF2D1F900457128 /* LeftAlignedFlowLayout.swift in Sources */, 7CED910B2EF2D1F900457128 /* AddClassCollectionView.swift in Sources */, - 7CED910C2EF2D1F900457128 /* LandImageCollectionView.swift in Sources */, 7CED910D2EF2D1F900457128 /* RecommendedSearchCollectionView.swift in Sources */, 7CED910E2EF2D1F900457128 /* ShopSearchViewController.swift in Sources */, 7CED910F2EF2D1F900457128 /* ShopCollectionView.swift in Sources */, @@ -7415,7 +7479,6 @@ 7CED91162EF2D1F900457128 /* ShopSortOptionSheetView.swift in Sources */, 7CB8EB4530584FC500300E99 /* RecruitProfilePostSecondStepView.swift in Sources */, 7CED91172EF2D1F900457128 /* TimetableText+.swift in Sources */, - 7CED91182EF2D1F900457128 /* LandViewModel.swift in Sources */, 7CED911C2EF2D1F900457128 /* DiningOperatingTimeCollectionViewCell.swift in Sources */, 7CED911D2EF2D1F900457128 /* NoticeListTableViewFooter.swift in Sources */, 7CED911E2EF2D1F900457128 /* ShopReadyView.swift in Sources */, @@ -7472,6 +7535,7 @@ 7CED91532EF2D1F900457128 /* LoginViewController.swift in Sources */, 7C61D3572F23CD8B005FAC3A /* LostItemStatsDto.swift in Sources */, 7CED91552EF2D1F900457128 /* HotNoticeArticlesTableView.swift in Sources */, + 7C18783530B33441007ADB97 /* LandMapView+OverlayImage.swift in Sources */, 7CED91562EF2D1F900457128 /* ScoreView.swift in Sources */, 7CED91572EF2D1F900457128 /* CenterFlowLayout.swift in Sources */, 7CED91582EF2D1F900457128 /* RegisterCompletionViewController.swift in Sources */, @@ -7481,7 +7545,6 @@ 7CED915D2EF2D1F900457128 /* ShopSearchTableView.swift in Sources */, 7CED915E2EF2D1F900457128 /* SettingsViewModel.swift in Sources */, 7CED91602EF2D1F900457128 /* CategoryCollectionViewCell.swift in Sources */, - 7CED91632EF2D1F900457128 /* HouseInfoView.swift in Sources */, 7CF77B6730056EC1003642C1 /* NoticeKeywordManageButton.swift in Sources */, 7CED91642EF2D1F900457128 /* ShopSummaryViewModel.swift in Sources */, 7CED91652EF2D1F900457128 /* NoticeListHeaderView.swift in Sources */, @@ -7493,7 +7556,6 @@ 7CED916F2EF2D1F900457128 /* AddDirectFooterView.swift in Sources */, 7CED91702EF2D1F900457128 /* DashedBorderButton.swift in Sources */, 7CA63A2C2F1AF80F00226F86 /* LostItemListTableViewCell.swift in Sources */, - 7CED91732EF2D1F900457128 /* LandOptionView.swift in Sources */, 7CED91752EF2D1F900457128 /* ShopReviewReportViewController.swift in Sources */, 7CED91782EF2D1F900457128 /* DiningOperatingTimeHeaderView.swift in Sources */, 7C457B2B2FCE1BA80011D338 /* HomeDiningView.swift in Sources */, @@ -7505,6 +7567,7 @@ 7C8A000F2FD200000011D338 /* DiningIndicatorChip.swift in Sources */, 7C457B2C2FCE1BA80011D338 /* HomeTabbarController.swift in Sources */, 7C457B2D2FCE1BA80011D338 /* HomeTabbarViewModel.swift in Sources */, + 7C18784130B347C9007ADB97 /* LandListFilterButton.swift in Sources */, 7C457B2F2FCE1BA80011D338 /* HomeTabBar.swift in Sources */, 7C8BFCEB2FD04BA000963679 /* FetchHomeDiningListUseCase.swift in Sources */, 7C8BFCEC2FD04BA000963679 /* FetchHeaderUseCase.swift in Sources */, @@ -7522,6 +7585,7 @@ 7CDCD0E0305602A2004204DA /* RecruitProfileRequest.swift in Sources */, 7C457B3E2FCE1BA80011D338 /* CategoryRow.swift in Sources */, 7C457B3F2FCE1BA80011D338 /* CategorySection.swift in Sources */, + 7C18783D30B34782007ADB97 /* LandListFilter.swift in Sources */, 7C50A1CF3041F66700897A6F /* RecruitListEmptyView.swift in Sources */, 7C457B402FCE1BA80011D338 /* HomeTabBarButton.swift in Sources */, 7C457B422FCE1BA80011D338 /* MobilityView.swift in Sources */, @@ -7544,6 +7608,7 @@ 7CED91862EF2D1F900457128 /* ShopReviewViewController.swift in Sources */, 7CED91872EF2D1F900457128 /* ReviewListViewController.swift in Sources */, 7CED91882EF2D1F900457128 /* ReviewListCollectionViewCell.swift in Sources */, + 7CF09F9730B2EB11000F6CDD /* LandRow.swift in Sources */, 7CED91892EF2D1F900457128 /* ShopSummaryPriceTableView.swift in Sources */, 7C372F172F1CD81800149729 /* LostItemDataViewController.swift in Sources */, 7CED918A2EF2D1F900457128 /* NoticeDataViewController.swift in Sources */, @@ -7553,6 +7618,7 @@ 7CED918D2EF2D1F900457128 /* ScoreChartCollectionViewCell.swift in Sources */, 7CB11C7C2FB32817004E0C80 /* LostItemKeyword.swift in Sources */, 7C58FE862F5F9CDD00A2737B /* CallVanDataViewController.swift in Sources */, + 7C18782430B307EC007ADB97 /* LandList.swift in Sources */, 7C372F202F1CD90B00149729 /* LostItemDataRecentHeaderView.swift in Sources */, 7CED91902EF2D1F900457128 /* StateView.swift in Sources */, 7CED91912EF2D1F900457128 /* NoticeTabBarCollectionView.swift in Sources */, @@ -7710,7 +7776,6 @@ 7CED91CE2EF2D1F900457128 /* NotiViewModel.swift in Sources */, 7CACF86530436CFF00AC2828 /* RecruitNotificationListViewController.swift in Sources */, 7CED91CF2EF2D1F900457128 /* ManageNoticeKeywordViewModel.swift in Sources */, - 7CED91D22EF2D1F900457128 /* LandImageCollectionViewCell.swift in Sources */, 7CED91D72EF2D1F900457128 /* ShopDetailViewModel.swift in Sources */, 7C01656F300B4A2D0013DD7B /* DepartmentView.swift in Sources */, 7C50A1C93041E14500897A6F /* RecruitListHeaderView.swift in Sources */, @@ -7747,7 +7812,6 @@ 7CED91F82EF2D1F900457128 /* TimetableViewModel.swift in Sources */, 7CC42B3E2F59600200940CE1 /* CallVanNotificationDropdownViewController.swift in Sources */, 7CDCD0D63055EA5B004204DA /* RecruitProfileActionButton.swift in Sources */, - 7CED91F92EF2D1F900457128 /* LandOptionCollectionView.swift in Sources */, 7CED91FA2EF2D1F900457128 /* DeliveryTipsCollectionViewCell.swift in Sources */, 7CED91FE2EF2D1F900457128 /* LostArticleImageCollectionViewCell.swift in Sources */, 7CDCD0CD3055D64A004204DA /* RecruitProfileHostingController.swift in Sources */, @@ -7774,7 +7838,6 @@ 7C65FDC92FE69A00007831CE /* AutoScrollableInfiniteCarouselCollectionView.swift in Sources */, 7CED92122EF2D1F900457128 /* SortTypeBottomSheetCell.swift in Sources */, 7CED92132EF2D1F900457128 /* SettingsViewController.swift in Sources */, - 7CED92142EF2D1F900457128 /* LandCollectionViewCell.swift in Sources */, 7C0C18952F68A913001781B3 /* FetchCallVanChatUseCase.swift in Sources */, 7CED92172EF2D1F900457128 /* DiningOperatingTimeFooterView.swift in Sources */, 7C96B9783088F2680023A4ED /* DiningEmptyView.swift in Sources */, @@ -7800,6 +7863,7 @@ D2FB23602BFDABBB0098BA2B /* Router.swift in Sources */, D89F8FDB2DF12847000265DC /* StatefulButton.swift in Sources */, D2D462712D63C5ED00C60864 /* LostItemChatRoomItem.swift in Sources */, + 7C18783130B32AF8007ADB97 /* LandMapView+ClusterMarkerUpdater.swift in Sources */, 7CDCD0BB30559234004204DA /* RecruitDataPopUpViewController.swift in Sources */, 7C8ADD2D2F20B43F00F85BDE /* UpdateLostItemRequest.swift in Sources */, 7C7BD723302B3D8F003C5A15 /* NoticeAISummary.swift in Sources */, @@ -7840,6 +7904,7 @@ A2C130000000000000000001 /* FetchRecruitDirectChatDataUseCase.swift in Sources */, D2CA2DD02C1CAC550036F02C /* ShopData.swift in Sources */, 7CB11C0C2FB198A6004E0C80 /* LostItemKeywordCollectionViewKeywordCell.swift in Sources */, + 7CF09F8A30B2E790000F6CDD /* LandListViewController.swift in Sources */, 7C281CFD2EB3ED4B00BD6B4E /* FetchOrderShopDetailFromShopUseCase.swift in Sources */, 833D9C4B2C70D54E00982145 /* SearchArticleRequest.swift in Sources */, 7C50A1D33041F8CA00897A6F /* RecruitCategory.swift in Sources */, @@ -7869,6 +7934,7 @@ D19A00013000000000000004 /* NotificationListView.swift in Sources */, D19A00013000000000000006 /* NotificationHistoryItem+.swift in Sources */, D19A10013000000000000002 /* ChatListModel.swift in Sources */, + 7C18783330B32BAA007ADB97 /* LandMapView+LeafMarkerUpdater.swift in Sources */, D19A10013000000000000004 /* ChatMessageRowModel.swift in Sources */, D19A10013000000000000006 /* ChatListView.swift in Sources */, D19A10013000000000000008 /* ChatInputView.swift in Sources */, @@ -8033,7 +8099,7 @@ D89BAA3D2DCA6483006D3BB7 /* RegisterFormUseCase.swift in Sources */, D2A8F8B52C4A5A870090C7A4 /* UserRepository.swift in Sources */, D2D422772BB2EA3900A8AF04 /* FindPasswordRequest.swift in Sources */, - D27DD0D82BA6089D0081FD36 /* LandDto.swift in Sources */, + D27DD0D82BA6089D0081FD36 /* LandListDto.swift in Sources */, 7C8A94392FD2C45200DEA6F5 /* ShopCountDto.swift in Sources */, 7C58FEA02F5FE4C900A2737B /* CallVanReportReasonButton.swift in Sources */, D22C547B2C6A2A9D000826DA /* ReportReviewUseCase.swift in Sources */, @@ -8116,6 +8182,24 @@ 763EC1A47E67771FDAB08537 /* KoinPickerDropDownView.swift in Sources */, FBCFB1EF499995884A6F2E83 /* RecruitPostSchedule.swift in Sources */, 5FABD176180615A12BEFDC82 /* RecruitActivityPeriod.swift in Sources */, + 7C18783F30B3479B007ADB97 /* LandListFilterView.swift in Sources */, + 7C18785130B3600000ADB970 /* LandListTableView.swift in Sources */, + 7C18785330B3600000ADB970 /* LandListTableViewCell.swift in Sources */, + 7C18785530B3600000ADB970 /* LandListFocusedView.swift in Sources */, + 7C18785730B3600000ADB970 /* LandMapZoomControlView.swift in Sources */, + 7C18785930B3600000ADB970 /* LandListBadgeView.swift in Sources */, + 7C18785D30B3600000ADB970 /* LandDetailViewController.swift in Sources */, + 7C18785F30B3600000ADB970 /* LandDetailViewModel.swift in Sources */, + 7C18786130B3600000ADB970 /* LandDetailImageView.swift in Sources */, + 7C18786330B3600000ADB970 /* LandDetailImageCollectionViewCell.swift in Sources */, + 7C18786530B3600000ADB970 /* LandDetailImageEmptyView.swift in Sources */, + 7C18786730B3600000ADB970 /* LandDetailInfoView.swift in Sources */, + 7C18786930B3600000ADB970 /* LandDetailBottomSheetContentView.swift in Sources */, + 7C18786D30B3600000ADB970 /* LandSearchViewController.swift in Sources */, + 7C18786F30B3600000ADB970 /* LandSearchViewModel.swift in Sources */, + 7C18787130B3600000ADB970 /* LandSearchBarView.swift in Sources */, + 7C18787330B3600000ADB970 /* LandSearchEmptyView.swift in Sources */, + 7C18787530B3600000ADB970 /* FetchLandListRequest.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };