Unverified Commit d43443f0 authored by Zach Knox's avatar Zach Knox
Browse files

Added HUD view controller

parent cd5bc6ed
......@@ -37,6 +37,8 @@
924840F81EA915F200DBFF4E /* FacilityCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 924840F71EA915F200DBFF4E /* FacilityCollectionViewCell.swift */; };
924E0E312085851400C1F2AF /* DetailViewButtonsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 924E0E302085851400C1F2AF /* DetailViewButtonsViewController.swift */; };
924E0E322085851500C1F2AF /* DetailViewButtonsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 924E0E302085851400C1F2AF /* DetailViewButtonsViewController.swift */; };
92544659220BB8E0002B6872 /* HUDViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92544658220BB8E0002B6872 /* HUDViewController.swift */; };
9254465A220BB8E7002B6872 /* HUDViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92544658220BB8E0002B6872 /* HUDViewController.swift */; };
92554183207ECEC30058E420 /* SelectOneDefaultTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9259134420784D66002E50B1 /* SelectOneDefaultTableViewController.swift */; };
92589A6221612D0D0002814F /* NotificationCenter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92589A6121612D0D0002814F /* NotificationCenter.framework */; };
92589A6521612D0E0002814F /* TodayViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92589A6421612D0E0002814F /* TodayViewController.swift */; };
......@@ -201,6 +203,7 @@
92182EC31E95C38400192ABA /* FacilityDetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FacilityDetailViewController.swift; sourceTree = "<group>"; };
924840F71EA915F200DBFF4E /* FacilityCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FacilityCollectionViewCell.swift; sourceTree = "<group>"; };
924E0E302085851400C1F2AF /* DetailViewButtonsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DetailViewButtonsViewController.swift; sourceTree = "<group>"; };
92544658220BB8E0002B6872 /* HUDViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HUDViewController.swift; sourceTree = "<group>"; };
9255C5AA21556E410094C947 /* WhatsOpenKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WhatsOpenKit.h; sourceTree = "<group>"; };
9255C5AB21556E410094C947 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
92589A6021612D0D0002814F /* TodayWidget.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = TodayWidget.appex; sourceTree = BUILT_PRODUCTS_DIR; };
......@@ -400,6 +403,7 @@
920D17961F6C5CD200D63295 /* Views */ = {
isa = PBXGroup;
children = (
92544658220BB8E0002B6872 /* HUDViewController.swift */,
92A2757220C8993200E1A102 /* Filters Views */,
9255418520857CF40058E420 /* CollectionViewCells */,
9255418420857CE40058E420 /* TableViewCells */,
......@@ -1283,6 +1287,7 @@
9203CB922023D51A006ACC3B /* FacilityCollectionViewCell.swift in Sources */,
9203CB932023D51A006ACC3B /* SettingTableViewCell.swift in Sources */,
9203CB952023D51A006ACC3B /* FiltersTableViewController.swift in Sources */,
9254465A220BB8E7002B6872 /* HUDViewController.swift in Sources */,
9203CB962023D51A006ACC3B /* PullingViewController.swift in Sources */,
9273EEF62165B2D000CE63DC /* Intents.intentdefinition in Sources */,
92554183207ECEC30058E420 /* SelectOneDefaultTableViewController.swift in Sources */,
......@@ -1359,6 +1364,7 @@
924840F81EA915F200DBFF4E /* FacilityCollectionViewCell.swift in Sources */,
9265F3A11F2969E500A54A21 /* SettingTableViewCell.swift in Sources */,
927C80DC1EB18B89009079AD /* FiltersTableViewController.swift in Sources */,
92544659220BB8E0002B6872 /* HUDViewController.swift in Sources */,
92B89E302009444E00928284 /* PullingViewController.swift in Sources */,
9273EEF52165B2CF00CE63DC /* Intents.intentdefinition in Sources */,
9259134520784D66002E50B1 /* SelectOneDefaultTableViewController.swift in Sources */,
......
......@@ -565,6 +565,76 @@
</objects>
<point key="canvasLocation" x="-6034.3999999999996" y="-349.47526236881561"/>
</scene>
<!--View Controller-->
<scene sceneID="khr-c9-006">
<objects>
<viewController id="cDM-Uq-x0e" customClass="HUDViewController" customModule="WhatsOpen" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="a15-aB-bD0">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<visualEffectView opaque="NO" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bW6-EW-hwM">
<rect key="frame" x="67" y="220" width="240" height="226"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" id="REE-p8-9Gh">
<rect key="frame" x="0.0" y="0.0" width="240" height="226"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<visualEffectView opaque="NO" contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QBh-oQ-RZK">
<rect key="frame" x="0.0" y="-7" width="240" height="240"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="Z56-BT-ria">
<rect key="frame" x="0.0" y="0.0" width="240" height="240"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="eIM-mZ-bcc">
<rect key="frame" x="60" y="44" width="120" height="120"/>
<constraints>
<constraint firstAttribute="width" constant="120" id="O3q-Pp-l8p"/>
<constraint firstAttribute="height" constant="120" id="sUW-Zf-XSw"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Added To Favorites" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IrD-Ih-lwE">
<rect key="frame" x="33" y="172" width="175" height="24"/>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="20"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="IrD-Ih-lwE" firstAttribute="leading" secondItem="eIM-mZ-bcc" secondAttribute="trailing" constant="-147" id="HCp-cN-syp"/>
<constraint firstItem="eIM-mZ-bcc" firstAttribute="top" secondItem="Z56-BT-ria" secondAttribute="top" constant="44" id="TUT-4g-3Mw"/>
<constraint firstItem="eIM-mZ-bcc" firstAttribute="centerX" secondItem="Z56-BT-ria" secondAttribute="centerX" id="xdw-EY-NZw"/>
</constraints>
</view>
<constraints>
<constraint firstAttribute="height" constant="240" id="Ale-we-ufV"/>
<constraint firstAttribute="width" constant="240" id="I0a-Mq-tAZ"/>
</constraints>
<vibrancyEffect>
<blurEffect style="light"/>
</vibrancyEffect>
</visualEffectView>
</subviews>
</view>
<blurEffect style="light"/>
</visualEffectView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="QBh-oQ-RZK" firstAttribute="centerX" secondItem="swk-nm-L3Z" secondAttribute="centerX" id="IBR-Wt-dZQ"/>
<constraint firstItem="QBh-oQ-RZK" firstAttribute="centerY" secondItem="swk-nm-L3Z" secondAttribute="centerY" id="f3Q-28-CXB"/>
</constraints>
<viewLayoutGuide key="safeArea" id="swk-nm-L3Z"/>
</view>
<connections>
<outlet property="image" destination="eIM-mZ-bcc" id="sRb-JF-fGu"/>
<outlet property="label" destination="IrD-Ih-lwE" id="ntS-9N-n4n"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="oEh-NT-2HJ" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-5271.1999999999998" y="-352.17391304347831"/>
</scene>
<!--Pulling View Controller-->
<scene sceneID="9g0-2V-iaL">
<objects>
......
//
// HUDViewController.swift
// WhatsOpen
//
// Created by Zach Knox on 2/6/19.
// Copyright © 2019 SRCT. All rights reserved.
//
import UIKit
class HUDViewController: UIViewController {
@IBOutlet var image: UIImageView!
@IBOutlet var label: UILabel!
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.
}
*/
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment