Skip to content

Commit

Permalink
[Add] TeamSparker#388 - 습관방 이용가이드 임시로 더보기에 추가 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
yangsubinn committed Mar 15, 2022
1 parent c1c204e commit 03d3029
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Spark-iOS/Spark-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
2BC17270278F54DB00BA3029 /* WaitingVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BC1726F278F54DB00BA3029 /* WaitingVC.swift */; };
2BC17274278F56D100BA3029 /* Waiting.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2BC17273278F56D100BA3029 /* Waiting.storyboard */; };
2BC17277278F765C00BA3029 /* WaitingFriendCVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BC17276278F765C00BA3029 /* WaitingFriendCVC.swift */; };
2BD71BF027E0A59B00771DCB /* HabitRoomGuideVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BD71BEF27E0A59B00771DCB /* HabitRoomGuideVC.swift */; };
2BD71BF227E0A5CD00771DCB /* HabitRoomGuide.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2BD71BF127E0A5CD00771DCB /* HabitRoomGuide.storyboard */; };
2BE5D80827930A06007A544D /* AuthTimerVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BE5D80727930A06007A544D /* AuthTimerVC.swift */; };
2BE5D80C27930A35007A544D /* AuthTimer.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2BE5D80B27930A35007A544D /* AuthTimer.storyboard */; };
2BE5D80E2793203C007A544D /* Stopwatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BE5D80D2793203C007A544D /* Stopwatch.swift */; };
Expand Down Expand Up @@ -241,6 +243,8 @@
2BC1726F278F54DB00BA3029 /* WaitingVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WaitingVC.swift; sourceTree = "<group>"; };
2BC17273278F56D100BA3029 /* Waiting.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Waiting.storyboard; sourceTree = "<group>"; };
2BC17276278F765C00BA3029 /* WaitingFriendCVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WaitingFriendCVC.swift; sourceTree = "<group>"; };
2BD71BEF27E0A59B00771DCB /* HabitRoomGuideVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HabitRoomGuideVC.swift; sourceTree = "<group>"; };
2BD71BF127E0A5CD00771DCB /* HabitRoomGuide.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = HabitRoomGuide.storyboard; sourceTree = "<group>"; };
2BE5D80727930A06007A544D /* AuthTimerVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthTimerVC.swift; sourceTree = "<group>"; };
2BE5D80B27930A35007A544D /* AuthTimer.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = AuthTimer.storyboard; sourceTree = "<group>"; };
2BE5D80D2793203C007A544D /* Stopwatch.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Stopwatch.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -764,6 +768,7 @@
EBE90FD92796128800157075 /* SendSparkVC.swift */,
F8F6D6F6279735BF00725537 /* HabitRoomVC.swift */,
2BA98FB127CB44E800C53820 /* HabitRoomLeaveVC.swift */,
2BD71BEF27E0A59B00771DCB /* HabitRoomGuideVC.swift */,
);
path = HabitRoom;
sourceTree = "<group>";
Expand All @@ -776,6 +781,7 @@
EBE90FDB279612CA00157075 /* SendSpark.storyboard */,
F8F6D6F42797359600725537 /* HabitRoom.storyboard */,
2BA98FB327CB451000C53820 /* HabitRoomLeave.storyboard */,
2BD71BF127E0A5CD00771DCB /* HabitRoomGuide.storyboard */,
);
path = HabitRoom;
sourceTree = "<group>";
Expand Down Expand Up @@ -1372,6 +1378,7 @@
EB625E99278F8EF200C43DE9 /* StorageMore.storyboard in Resources */,
EB625E80278F272300C43DE9 /* DoneStorageCVC.xib in Resources */,
F8FAA9732790344D00C4190F /* HomeHabitCVC.xib in Resources */,
2BD71BF227E0A5CD00771DCB /* HabitRoomGuide.storyboard in Resources */,
2BA98FB827CB621B00C53820 /* CreateSuccess.storyboard in Resources */,
F8096F0B2784107D00B71D38 /* Home.storyboard in Resources */,
);
Expand Down Expand Up @@ -1568,6 +1575,7 @@
EB625E87278F27F000C43DE9 /* StorageListDataModel.swift in Sources */,
2BE5D80E2793203C007A544D /* Stopwatch.swift in Sources */,
EBA2D6CF2799EAFE0022DFD6 /* UIImage+.swift in Sources */,
2BD71BF027E0A59B00771DCB /* HabitRoomGuideVC.swift in Sources */,
2BE5D81627932F31007A544D /* ResetPopupVC.swift in Sources */,
EB625E83278F273200C43DE9 /* FailStorageCVC.swift in Sources */,
);
Expand Down
1 change: 1 addition & 0 deletions Spark-iOS/Spark-iOS/Resource/Constants/Storyboard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ extension Const {
static let notice = "Notice"
static let completeFailDialogue = "CompleteFailDialogue"
static let onboarding = "Onboarding"
static let habitRoomGuide = "HabitRoomGuide"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ extension Const {
static let notice = "NoticeVC"
static let completeFailDialogue = "CompleteFailDialogueVC"
static let onboarding = "OnboardingVC"
static let habitRoomGuide = "HabitRoomGuideVC"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--HabitRoomGuideVC-->
<scene sceneID="s0d-6b-0kx">
<objects>
<viewController storyboardIdentifier="HabitRoomGuideVC" title="HabitRoomGuideVC" id="Y6W-OH-hqX" customClass="HabitRoomGuideVC" customModule="Spark_iOS" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-25" y="113"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// HabitRoomGuideVC.swift
// Spark-iOS
//
// Created by 양수빈 on 2022/03/15.
//

import UIKit

class HabitRoomGuideVC: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}


/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/

}
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,16 @@ extension HabitRoomVC {
self.present(checkVC, animated: true, completion: nil)
}
}))

alert.addAction(SparkAction("이용가이드", titleType: .blackMediumTitle, handler: {
self.dismiss(animated: true) {
guard let guideVC = UIStoryboard(name: Const.Storyboard.Name.habitRoomGuide, bundle: nil).instantiateViewController(withIdentifier: Const.ViewController.Identifier.habitRoomGuide) as? HabitRoomGuideVC else { return }
guideVC.modalPresentationStyle = .overFullScreen
guideVC.modalTransitionStyle = .crossDissolve

self.present(guideVC, animated: true, completion: nil)
}
}))

alert.addSection()

Expand Down

0 comments on commit 03d3029

Please sign in to comment.