Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

[1.0.0]캠퍼스 맵 #11

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[추가] 캠퍼스 맵 추가
  • Loading branch information
lgvv committed Aug 24, 2022
commit a162089cfd14790016d655ac0607b6c27fb0db46
29 changes: 29 additions & 0 deletions KuringLite.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
A9F83783284C96880045FDBD /* FeedbackState.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F83781284C96880045FDBD /* FeedbackState.swift */; };
B11BA88D285085BD00C82836 /* Collections in Frameworks */ = {isa = PBXBuildFile; productRef = B11BA88C285085BD00C82836 /* Collections */; };
B11BA88F285085BD00C82836 /* DequeModule in Frameworks */ = {isa = PBXBuildFile; productRef = B11BA88E285085BD00C82836 /* DequeModule */; };
B12672C528B6104A00C63ACC /* CampusMapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B12672C428B6104A00C63ACC /* CampusMapView.swift */; };
B12672CB28B614E200C63ACC /* kuring-campus-map-ios in Frameworks */ = {isa = PBXBuildFile; productRef = B12672CA28B614E200C63ACC /* kuring-campus-map-ios */; };
B1C641CB284F518500473184 /* SearchedRecentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1C641CA284F518500473184 /* SearchedRecentView.swift */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -73,6 +75,7 @@
A9F83776284C8B930045FDBD /* SearchedStaffRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchedStaffRow.swift; sourceTree = "<group>"; };
A9F83778284C93A60045FDBD /* SwiftPackageRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftPackageRow.swift; sourceTree = "<group>"; };
A9F83781284C96880045FDBD /* FeedbackState.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeedbackState.swift; sourceTree = "<group>"; };
B12672C428B6104A00C63ACC /* CampusMapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampusMapView.swift; sourceTree = "<group>"; };
B1C641CA284F518500473184 /* SearchedRecentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchedRecentView.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand All @@ -87,6 +90,7 @@
A983BAF2284BCBCC00B96FF1 /* Lottie in Frameworks */,
A95125AB284CA6770072EB8E /* KuringSDK in Frameworks */,
B11BA88F285085BD00C82836 /* DequeModule in Frameworks */,
B12672CB28B614E200C63ACC /* kuring-campus-map-ios in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -198,6 +202,7 @@
A983BAC1284BB08F00B96FF1 /* KuringLiteApp.swift */,
A983BAC3284BB08F00B96FF1 /* ContentView.swift */,
A983BADA284BB54A00B96FF1 /* NoticeList */,
B12672C328B6102900C63ACC /* CampusMap */,
A983BAE7284BC2ED00B96FF1 /* Subscription */,
A983BAD7284BB53C00B96FF1 /* Search */,
A983BADD284BB58200B96FF1 /* Settings */,
Expand Down Expand Up @@ -289,6 +294,14 @@
path = Feedback;
sourceTree = "<group>";
};
B12672C328B6102900C63ACC /* CampusMap */ = {
isa = PBXGroup;
children = (
B12672C428B6104A00C63ACC /* CampusMapView.swift */,
);
path = CampusMap;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -312,6 +325,7 @@
A95125AA284CA6770072EB8E /* KuringSDK */,
B11BA88C285085BD00C82836 /* Collections */,
B11BA88E285085BD00C82836 /* DequeModule */,
B12672CA28B614E200C63ACC /* kuring-campus-map-ios */,
);
productName = KuringLite;
productReference = A983BABE284BB08F00B96FF1 /* 쿠링 Lite.app */;
Expand Down Expand Up @@ -347,6 +361,7 @@
A983BAF0284BCBCC00B96FF1 /* XCRemoteSwiftPackageReference "lottie-ios" */,
A95125A9284CA6770072EB8E /* XCRemoteSwiftPackageReference "kuring-sdk-ios-spm" */,
B11BA88B285085BD00C82836 /* XCRemoteSwiftPackageReference "swift-collections" */,
B12672C928B614E200C63ACC /* XCRemoteSwiftPackageReference "kuring-campus-map-ios" */,
);
productRefGroup = A983BABF284BB08F00B96FF1 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -398,6 +413,7 @@
A9F83783284C96880045FDBD /* FeedbackState.swift in Sources */,
A983BADF284BB78700B96FF1 /* SubscriptionView.swift in Sources */,
A983BAEF284BCB9B00B96FF1 /* LottieView.swift in Sources */,
B12672C528B6104A00C63ACC /* CampusMapView.swift in Sources */,
A9F83775284C8B870045FDBD /* SearchedNoticeRow.swift in Sources */,
B1C641CB284F518500473184 /* SearchedRecentView.swift in Sources */,
);
Expand Down Expand Up @@ -646,6 +662,14 @@
minimumVersion = 1.0.0;
};
};
B12672C928B614E200C63ACC /* XCRemoteSwiftPackageReference "kuring-campus-map-ios" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/KU-Stacks/kuring-campus-map-ios";
requirement = {
branch = main;
kind = branch;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
Expand Down Expand Up @@ -679,6 +703,11 @@
package = B11BA88B285085BD00C82836 /* XCRemoteSwiftPackageReference "swift-collections" */;
productName = DequeModule;
};
B12672CA28B614E200C63ACC /* kuring-campus-map-ios */ = {
isa = XCSwiftPackageProductDependency;
package = B12672C928B614E200C63ACC /* XCRemoteSwiftPackageReference "kuring-campus-map-ios" */;
productName = "kuring-campus-map-ios";
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = A983BAB6284BB08F00B96FF1 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
buildConfiguration = "Release"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
19 changes: 19 additions & 0 deletions KuringLite/CampusMap/CampusMapView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// CampusMapView.swift
// KuringLite
//
// Created by Hamlit Jason on 2022/08/24.
//

import SwiftUI
import kuring_campus_map_ios

struct CampusMapView: UIViewControllerRepresentable {

func makeUIViewController(context: Context) -> some UIViewController {
let campusMapViewController = CampusMapViewController()
return campusMapViewController
}

func updateUIViewController(_ uiViewController: UIViewControllerType, context: Context) { }
}
9 changes: 9 additions & 0 deletions KuringLite/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ struct ContentView: View {
}

ToolbarItemGroup(placement: .navigationBarTrailing) {
NavigationLink {
CampusMapView()
.ignoresSafeArea(.container, edges: .bottom)
.navigationTitle("Campus Map")
} label: {
Image(systemName: "map")
}

Button(action: { showsSubscriptionView.toggle() }) {
Image(systemName: "checklist")
}
Expand All @@ -66,6 +74,7 @@ struct ContentView: View {
.sheet(isPresented: $showsSubscriptionView) {
SubscriptionView()
}

}
}
}
2 changes: 2 additions & 0 deletions KuringLite/Settings/View/SwiftPackageRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

import SwiftUI
import KuringCommons
//import kuring_campus_map_ios

/// 사용되고 있는 스위프트 패키지들에 대하여 하나의 스위프트 패키지에 대한 정보를 제공하는 아이템 뷰
struct SwiftPackage: Identifiable {
Expand All @@ -45,6 +46,7 @@ struct SwiftPackage: Identifiable {
.init(name: "Lottie", urlString: "https://github.com/airbnb/lottie-ios", version: "3.3.0"),
.init(name: "Starscream", urlString: "https://github.com/daltoniam/Starscream", version: "4.0.4"),
.init(name: "swift-collections", urlString: "https://github.com/apple/swift-collections", version: "1.0.2"),
.init(name: "kuring_campus_map_ios", urlString: "https://github.com/KU-Stacks/kuring-campus-map-ios", version: "1.0.3"),
]
}

Expand Down