Skip to content

Commit

Permalink
ROLE checking for adding a new Universally Tracked event
Browse files Browse the repository at this point in the history
  • Loading branch information
redsn0w422 committed Feb 18, 2017
1 parent 0124559 commit 92c120b
Show file tree
Hide file tree
Showing 35 changed files with 1,431 additions and 610 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,113 +2,4 @@
<Bucket
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "HackIllinois: QR/ViewController.swift"
timestampString = "508662942.297002"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "11"
endingLineNumber = "11">
<Locations>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "HackIllinois__QR.ViewController.__deallocating_deinit"
moduleName = "HackIllinois: QR"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/ymostofi/Dropbox/uiuc/HackIllinois/2017/HackIllinois:%20QR/HackIllinois:%20QR/ViewController.swift"
timestampString = "508642694.024797"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "0"
endingLineNumber = "0"
offsetFromSymbolStart = "12">
</Location>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "HackIllinois__QR.ViewController.init (nibName : Swift.Optional&lt;Swift.String&gt;, bundle : Swift.Optional&lt;__ObjC.Bundle&gt;) -&gt; HackIllinois__QR.ViewController"
moduleName = "HackIllinois: QR"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/ymostofi/Dropbox/uiuc/HackIllinois/2017/HackIllinois:%20QR/HackIllinois:%20QR/ViewController.swift"
timestampString = "508642694.029957"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "14"
endingLineNumber = "14"
offsetFromSymbolStart = "60">
</Location>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "HackIllinois__QR.ViewController.__allocating_init (nibName : Swift.Optional&lt;Swift.String&gt;, bundle : Swift.Optional&lt;__ObjC.Bundle&gt;) -&gt; HackIllinois__QR.ViewController"
moduleName = "HackIllinois: QR"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/ymostofi/Dropbox/uiuc/HackIllinois/2017/HackIllinois:%20QR/HackIllinois:%20QR/ViewController.swift"
timestampString = "508642694.031435"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "0"
endingLineNumber = "0"
offsetFromSymbolStart = "32">
</Location>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "HackIllinois__QR.ViewController.__allocating_init (coder : __ObjC.NSCoder) -&gt; Swift.Optional&lt;HackIllinois__QR.ViewController&gt;"
moduleName = "HackIllinois: QR"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/ymostofi/Dropbox/uiuc/HackIllinois/2017/HackIllinois:%20QR/HackIllinois:%20QR/ViewController.swift"
timestampString = "508642694.032792"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "0"
endingLineNumber = "0"
offsetFromSymbolStart = "12">
</Location>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "HackIllinois__QR.ViewController.init (coder : __ObjC.NSCoder) -&gt; Swift.Optional&lt;HackIllinois__QR.ViewController&gt;"
moduleName = "HackIllinois: QR"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/ymostofi/Dropbox/uiuc/HackIllinois/2017/HackIllinois:%20QR/HackIllinois:%20QR/ViewController.swift"
timestampString = "508642694.034126"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "14"
endingLineNumber = "14"
offsetFromSymbolStart = "20">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "HackIllinois: QR/ScanViewController.swift"
timestampString = "509007188.377517"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "61"
endingLineNumber = "61"
landmarkName = "viewDidLoad()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
78 changes: 45 additions & 33 deletions HackIllinois: QR/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="noT-k3-Ta6">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
<scene sceneID="oCW-CJ-bju">
<objects>
<navigationController id="noT-k3-Ta6" sceneMemberID="viewController">
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="zqM-SB-frT">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="r2k-hp-dGa"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="bYl-y9-6wk" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-807" y="36"/>
</scene>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
Expand All @@ -23,20 +38,20 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Email" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="OhU-0G-emJ">
<rect key="frame" x="30" y="70" width="315" height="30"/>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Yol-Ws-fKc">
<rect key="frame" x="30" y="215" width="315" height="30"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardType="emailAddress" keyboardAppearance="alert" returnKeyType="next"/>
<textInputTraits key="textInputTraits" keyboardAppearance="alert" secureTextEntry="YES"/>
</textField>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Yol-Ws-fKc">
<rect key="frame" x="30" y="110" width="315" height="30"/>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Email" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="OhU-0G-emJ">
<rect key="frame" x="30" y="158" width="315" height="30"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardAppearance="alert" secureTextEntry="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardType="emailAddress" keyboardAppearance="alert" returnKeyType="next"/>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FWv-Br-zeN">
<rect key="frame" x="164" y="164" width="46" height="30"/>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FWv-Br-zeN">
<rect key="frame" x="164" y="276" width="46" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="46" id="FJf-tH-irI"/>
</constraints>
Expand All @@ -45,28 +60,20 @@
<action selector="DoLogin:" destination="BYZ-38-t0r" eventType="touchUpInside" id="ucA-5L-msB"/>
</connections>
</button>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="hackillinois" translatesAutoresizingMaskIntoConstraints="NO" id="x5x-Ek-ZC4">
<rect key="frame" x="168" y="20" width="40" height="40"/>
<constraints>
<constraint firstAttribute="width" secondItem="x5x-Ek-ZC4" secondAttribute="height" multiplier="1:1" id="S92-Q0-ugm"/>
<constraint firstAttribute="height" constant="40" id="WD4-5N-hJS"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="OhU-0G-emJ" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" constant="14" id="AKp-OB-tE5"/>
<constraint firstItem="OhU-0G-emJ" firstAttribute="trailing" secondItem="Yol-Ws-fKc" secondAttribute="trailing" id="Din-mW-xe4"/>
<constraint firstItem="FWv-Br-zeN" firstAttribute="centerX" secondItem="Yol-Ws-fKc" secondAttribute="centerX" id="MUq-Hw-rOr"/>
<constraint firstItem="x5x-Ek-ZC4" firstAttribute="top" secondItem="8bC-Xf-vdC" secondAttribute="topMargin" constant="20" id="MzT-eh-G5q"/>
<constraint firstItem="Yol-Ws-fKc" firstAttribute="top" secondItem="OhU-0G-emJ" secondAttribute="bottom" constant="10" id="RyJ-c8-CiK"/>
<constraint firstItem="x5x-Ek-ZC4" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="j2q-mM-SgI"/>
<constraint firstItem="OhU-0G-emJ" firstAttribute="leading" secondItem="Yol-Ws-fKc" secondAttribute="leading" id="nRF-sb-GSi"/>
<constraint firstItem="FWv-Br-zeN" firstAttribute="top" secondItem="Yol-Ws-fKc" secondAttribute="bottom" constant="24" id="sOa-Rz-yeJ"/>
<constraint firstItem="OhU-0G-emJ" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="smb-s1-qaM"/>
<constraint firstItem="OhU-0G-emJ" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="50" id="u8L-Er-YST"/>
</constraints>
</view>
<navigationItem key="navigationItem" id="5R8-3I-H5U"/>
<connections>
<outlet property="email_input" destination="OhU-0G-emJ" id="dTM-Ny-Aq4"/>
<outlet property="login_button" destination="FWv-Br-zeN" id="Dlg-8g-llq"/>
Expand All @@ -90,27 +97,32 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="hackillinois" translatesAutoresizingMaskIntoConstraints="NO" id="KLH-Jf-Q3Z">
<rect key="frame" x="163" y="40" width="50" height="50"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="PKu-Ws-NiH"/>
<constraint firstAttribute="width" secondItem="KLH-Jf-Q3Z" secondAttribute="height" multiplier="1:1" id="fkY-8w-V7U"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cAY-5J-vOQ">
<rect key="frame" x="131" y="531" width="114" height="42"/>
<fontDescription key="fontDescription" type="system" pointSize="25"/>
<state key="normal" title="Add Event">
<color key="titleColor" cocoaTouchSystemColor="darkTextColor"/>
</state>
<connections>
<action selector="addEventButton:" destination="QsI-mm-d63" eventType="touchUpInside" id="Cqf-uj-vG1"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="KLH-Jf-Q3Z" firstAttribute="top" secondItem="QLM-zq-xI1" secondAttribute="bottom" constant="20" id="EUT-6C-thB"/>
<constraint firstItem="KLH-Jf-Q3Z" firstAttribute="centerX" secondItem="dqU-7c-ajY" secondAttribute="centerX" id="hex-bw-kOc"/>
<constraint firstItem="cAY-5J-vOQ" firstAttribute="centerX" secondItem="dqU-7c-ajY" secondAttribute="centerX" id="4de-ef-Rln"/>
<constraint firstItem="R6N-vG-jFR" firstAttribute="top" secondItem="cAY-5J-vOQ" secondAttribute="bottom" constant="50" id="WHR-vR-zRS"/>
</constraints>
</view>
<toolbarItems/>
<simulatedToolbarMetrics key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="add_event" destination="cAY-5J-vOQ" id="8h8-3N-4pE"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="CJd-Uf-4dR" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="848.79999999999995" y="35.532233883058474"/>
<point key="canvasLocation" x="812" y="39"/>
</scene>
</scenes>
<resources>
<image name="hackillinois" width="250" height="252"/>
</resources>
</document>
Loading

0 comments on commit 92c120b

Please sign in to comment.