Skip to content

Commit

Permalink
Move DiscoverViewController from MapboxSearch target to Demo target (#…
Browse files Browse the repository at this point in the history
…211)

### Description

- Validate with a git grep for 'customModule' and confirm each interface builder file is in the appropriate module and path
- MapboxSearch should not contain views

### Checklist
- [NA] Update `CHANGELOG`
  • Loading branch information
aokj4ck committed Apr 15, 2024
1 parent 65e8c0d commit 2fe18c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MapboxSearch.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
0405809D2BA8E67D00A54CB9 /* OwningObjectDeallocatedErrorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0405809C2BA8E67D00A54CB9 /* OwningObjectDeallocatedErrorTests.swift */; };
041DAFD92BCDA45B0071F9EB /* DiscoverViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14B92D5D298BFD19006003C1 /* DiscoverViewController.swift */; };
042477C32B7290F900D870D5 /* SearchEngineGeocodingIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 042477C12B7290E700D870D5 /* SearchEngineGeocodingIntegrationTests.swift */; };
043A3D4D2B30F38300DB681B /* CoreAddress+AddressComponents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 043A3D4C2B30F38300DB681B /* CoreAddress+AddressComponents.swift */; };
044A6B732BA8933200A9F2A2 /* PreviewCategoriesFavoritesSegmentControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 044A6B722BA8933200A9F2A2 /* PreviewCategoriesFavoritesSegmentControl.swift */; };
Expand Down Expand Up @@ -120,7 +121,6 @@
149948EF290A8DD500E7E619 /* Swifter in Frameworks */ = {isa = PBXBuildFile; productRef = 149948EE290A8DD500E7E619 /* Swifter */; };
149948F1290A8DF900E7E619 /* Swifter in Frameworks */ = {isa = PBXBuildFile; productRef = 149948F0290A8DF900E7E619 /* Swifter */; settings = {ATTRIBUTES = (Required, ); }; };
14A0B83D2A5FF20B00D281F1 /* PlaceAutocomplet.Result+Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14A0B83B2A5FF1B300D281F1 /* PlaceAutocomplet.Result+Tests.swift */; };
14B92D5E298BFD19006003C1 /* DiscoverViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14B92D5D298BFD19006003C1 /* DiscoverViewController.swift */; };
14F71865299FD4BD00D5BC2E /* PlaceAutocomplete+PlaceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14F71864299FD4BD00D5BC2E /* PlaceAutocomplete+PlaceType.swift */; };
14F7186B29A1361700D5BC2E /* PlaceAutocompleteMainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14F7186929A1341A00D5BC2E /* PlaceAutocompleteMainViewController.swift */; };
14F7186D29A139BF00D5BC2E /* PlaceAutocompleteDetailsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14F7186C29A139BF00D5BC2E /* PlaceAutocompleteDetailsViewController.swift */; };
Expand Down Expand Up @@ -2452,7 +2452,6 @@
14173C302878437D00B20E1C /* Country+ISO3166-1.swift in Sources */,
FEEDD3162508DFE400DC0A98 /* SearchCategorySuggestion.swift in Sources */,
FEEDD31D2508DFE400DC0A98 /* HighlightsCalculator.swift in Sources */,
14B92D5E298BFD19006003C1 /* DiscoverViewController.swift in Sources */,
14FA657C2953497600056E5B /* PlaceAutocomplete+Options.swift in Sources */,
F9A0B8402562B10E00CAD907 /* SearchResultMetadata.swift in Sources */,
FE097B7D264EAA1A001EAC2F /* CustomNSError.swift in Sources */,
Expand Down Expand Up @@ -2718,6 +2717,7 @@
files = (
1440BF4F290019AD009B3679 /* AddressAutofillResultViewController.swift in Sources */,
1440BF4D28FD75A9009B3679 /* AddressAutofillMainViewController.swift in Sources */,
041DAFD92BCDA45B0071F9EB /* DiscoverViewController.swift in Sources */,
FEEDD3C32508E3CD00DC0A98 /* AppDelegate.swift in Sources */,
14F7186D29A139BF00D5BC2E /* PlaceAutocompleteDetailsViewController.swift in Sources */,
FEEDD3BF2508E3CD00DC0A98 /* MapRootController.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion Sources/Demo/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
<!--Discover-->
<scene sceneID="cow-iZ-A5n">
<objects>
<viewController title="Discover" id="ggU-4h-Z4i" customClass="DiscoverViewController" customModule="MapboxSearch" sceneMemberID="viewController">
<viewController title="Discover" id="ggU-4h-Z4i" customClass="DiscoverViewController" customModule="Demo" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="H51-Up-D8x">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down
1 change: 1 addition & 0 deletions Sources/Demo/DiscoverViewController.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import MapboxSearch
import MapKit
import UIKit

Expand Down

0 comments on commit 2fe18c2

Please sign in to comment.