From b28492404215f033a85710bb5c2a74328a00afa7 Mon Sep 17 00:00:00 2001 From: sanghee Date: Sun, 12 Jun 2022 01:53:35 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20Box=20->=20Observable=EB=A1=9C=20renam?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/airbnb.xcodeproj/project.pbxproj | 8 ++++---- iOS/airbnb/Utility/{Box.swift => Observable.swift} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename iOS/airbnb/Utility/{Box.swift => Observable.swift} (89%) diff --git a/iOS/airbnb.xcodeproj/project.pbxproj b/iOS/airbnb.xcodeproj/project.pbxproj index 7fb5567bb..2d56309cf 100644 --- a/iOS/airbnb.xcodeproj/project.pbxproj +++ b/iOS/airbnb.xcodeproj/project.pbxproj @@ -59,7 +59,7 @@ D089E7DE2844D2450000AE78 /* NearestDestinationCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E7DD2844D2450000AE78 /* NearestDestinationCollectionViewCell.swift */; }; D089E7E2284501810000AE78 /* CommonHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E7E1284501810000AE78 /* CommonHeaderView.swift */; }; D089E7E5284505F10000AE78 /* MainAccomodationCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E7E4284505F10000AE78 /* MainAccomodationCollectionViewCell.swift */; }; - D089E7F82845FABB0000AE78 /* Box.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E7F72845FABB0000AE78 /* Box.swift */; }; + D089E7F82845FABB0000AE78 /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E7F72845FABB0000AE78 /* Observable.swift */; }; D089E80328460A4E0000AE78 /* MainSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E80228460A4E0000AE78 /* MainSection.swift */; }; D089E80528460B4C0000AE78 /* MainSectionDiffableDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E80428460B4C0000AE78 /* MainSectionDiffableDataSource.swift */; }; D089E80928461EE50000AE78 /* SearchRecommendationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D089E80828461EE50000AE78 /* SearchRecommendationViewController.swift */; }; @@ -160,7 +160,7 @@ D089E7DD2844D2450000AE78 /* NearestDestinationCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NearestDestinationCollectionViewCell.swift; sourceTree = ""; }; D089E7E1284501810000AE78 /* CommonHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CommonHeaderView.swift; sourceTree = ""; }; D089E7E4284505F10000AE78 /* MainAccomodationCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainAccomodationCollectionViewCell.swift; sourceTree = ""; }; - D089E7F72845FABB0000AE78 /* Box.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Box.swift; sourceTree = ""; }; + D089E7F72845FABB0000AE78 /* Observable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Observable.swift; sourceTree = ""; }; D089E80228460A4E0000AE78 /* MainSection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainSection.swift; sourceTree = ""; }; D089E80428460B4C0000AE78 /* MainSectionDiffableDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainSectionDiffableDataSource.swift; sourceTree = ""; }; D089E80828461EE50000AE78 /* SearchRecommendationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchRecommendationViewController.swift; sourceTree = ""; }; @@ -479,7 +479,7 @@ D089E7F62845FAAF0000AE78 /* Utility */ = { isa = PBXGroup; children = ( - D089E7F72845FABB0000AE78 /* Box.swift */, + D089E7F72845FABB0000AE78 /* Observable.swift */, ); path = Utility; sourceTree = ""; @@ -841,7 +841,7 @@ D04C6C41284925CD00A419A5 /* MainViewModel.swift in Sources */, D00B743E285198D900B31424 /* SectionApplicable.swift in Sources */, D01D65EF283C70710067B5E1 /* AppDelegate.swift in Sources */, - D089E7F82845FABB0000AE78 /* Box.swift in Sources */, + D089E7F82845FABB0000AE78 /* Observable.swift in Sources */, D00B742A2850564B00B31424 /* CalendarCollectionViewCell.swift in Sources */, D068BD022840701800EF783E /* TabBarCoordinator.swift in Sources */, D0D299E8284D0C0C009D1608 /* ViewSizeApplicable.swift in Sources */, diff --git a/iOS/airbnb/Utility/Box.swift b/iOS/airbnb/Utility/Observable.swift similarity index 89% rename from iOS/airbnb/Utility/Box.swift rename to iOS/airbnb/Utility/Observable.swift index 751ba0a64..ec828818a 100644 --- a/iOS/airbnb/Utility/Box.swift +++ b/iOS/airbnb/Utility/Observable.swift @@ -1,5 +1,5 @@ // -// Box.swift +// Observable.swift // airbnb // // Created by 안상희 on 2022/05/31. @@ -7,7 +7,7 @@ import Foundation -final class Box { +final class Observable { typealias Listener = (T) -> Void var listener: Listener?