Skip to content

Commit

Permalink
Project and storyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
victorg1991 committed Apr 10, 2017
1 parent 75d0195 commit 9fe78c4
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 18 deletions.
8 changes: 4 additions & 4 deletions Boilerplate-email.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/* Begin PBXBuildFile section */
57ED48031E9B8FB400B4D097 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57ED48021E9B8FB400B4D097 /* AppDelegate.swift */; };
57ED48051E9B8FB400B4D097 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57ED48041E9B8FB400B4D097 /* ViewController.swift */; };
57ED48051E9B8FB400B4D097 /* EmailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57ED48041E9B8FB400B4D097 /* EmailViewController.swift */; };
57ED48081E9B8FB400B4D097 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57ED48061E9B8FB400B4D097 /* Main.storyboard */; };
57ED480A1E9B8FB400B4D097 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 57ED48091E9B8FB400B4D097 /* Assets.xcassets */; };
57ED480D1E9B8FB400B4D097 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57ED480B1E9B8FB400B4D097 /* LaunchScreen.storyboard */; };
Expand All @@ -29,7 +29,7 @@
1B9F97177F1A75052255540F /* Pods_Boilerplate_email.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Boilerplate_email.framework; sourceTree = BUILT_PRODUCTS_DIR; };
57ED47FF1E9B8FB400B4D097 /* Boilerplate-email.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Boilerplate-email.app"; sourceTree = BUILT_PRODUCTS_DIR; };
57ED48021E9B8FB400B4D097 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
57ED48041E9B8FB400B4D097 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
57ED48041E9B8FB400B4D097 /* EmailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmailViewController.swift; sourceTree = "<group>"; };
57ED48071E9B8FB400B4D097 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
57ED48091E9B8FB400B4D097 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
57ED480C1E9B8FB400B4D097 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
Expand Down Expand Up @@ -84,7 +84,7 @@
57ED48201E9B90F200B4D097 /* Views */,
57ED48141E9B903200B4D097 /* Resources */,
57ED48021E9B8FB400B4D097 /* AppDelegate.swift */,
57ED48041E9B8FB400B4D097 /* ViewController.swift */,
57ED48041E9B8FB400B4D097 /* EmailViewController.swift */,
57ED48061E9B8FB400B4D097 /* Main.storyboard */,
57ED48091E9B8FB400B4D097 /* Assets.xcassets */,
57ED480B1E9B8FB400B4D097 /* LaunchScreen.storyboard */,
Expand Down Expand Up @@ -270,7 +270,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
57ED48051E9B8FB400B4D097 /* ViewController.swift in Sources */,
57ED48051E9B8FB400B4D097 /* EmailViewController.swift in Sources */,
57ED48281E9B912500B4D097 /* WeTextField.swift in Sources */,
57ED48031E9B8FB400B4D097 /* AppDelegate.swift in Sources */,
57ED48261E9B911700B4D097 /* WeFonts.swift in Sources */,
Expand Down
36 changes: 22 additions & 14 deletions Boilerplate-email/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
</array>
</customFonts>
<scenes>
<!--View Controller-->
<!--Email View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Boilerplate_email" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="BYZ-38-t0r" customClass="EmailViewController" customModule="Boilerplate_email" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
Expand All @@ -30,13 +30,13 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Send Email" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T5q-Xb-PKd">
<rect key="frame" x="20" y="40" width="335" height="50"/>
<rect key="frame" x="20" y="60" width="335" height="50"/>
<fontDescription key="fontDescription" name="GalanoGrotesque-SemiBold" family="Galano Grotesque" pointSize="37"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="email" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="wOI-MD-KWA" customClass="BorderLessTextField" customModule="Boilerplate_auth" customModuleProvider="target">
<rect key="frame" x="20" y="140" width="335" height="60"/>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="email" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="wOI-MD-KWA" customClass="BorderLessTextField" customModule="Boilerplate_email" customModuleProvider="target">
<rect key="frame" x="20" y="160" width="335" height="60"/>
<color key="backgroundColor" red="0.054901960780000002" green="0.074509803920000006" blue="0.1019607843" alpha="0.050000000000000003" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="60" id="1fD-jp-7ih"/>
Expand All @@ -45,8 +45,8 @@
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<textInputTraits key="textInputTraits" returnKeyType="next"/>
</textField>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="password" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="6DO-Fo-pUh" customClass="BorderLessTextField" customModule="Boilerplate_auth" customModuleProvider="target">
<rect key="frame" x="20" y="250" width="335" height="60"/>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="password" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="6DO-Fo-pUh" customClass="BorderLessTextField" customModule="Boilerplate_email" customModuleProvider="target">
<rect key="frame" x="20" y="270" width="335" height="60"/>
<color key="backgroundColor" red="0.94509803920000002" green="0.94509803920000002" blue="0.94509803920000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="60" id="Od7-Nm-xK5"/>
Expand All @@ -58,8 +58,8 @@
<userDefinedRuntimeAttribute type="boolean" keyPath="isPasswordField" value="NO"/>
</userDefinedRuntimeAttributes>
</textField>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="password" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="loS-fl-pvJ" customClass="BorderLessTextField" customModule="Boilerplate_auth" customModuleProvider="target">
<rect key="frame" x="20" y="360" width="335" height="60"/>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="password" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="loS-fl-pvJ" customClass="BorderLessTextField" customModule="Boilerplate_email" customModuleProvider="target">
<rect key="frame" x="20" y="380" width="335" height="60"/>
<color key="backgroundColor" red="0.94509803920000002" green="0.94509803920000002" blue="0.94509803920000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="60" id="Xfg-lv-AzB"/>
Expand All @@ -72,7 +72,7 @@
</userDefinedRuntimeAttributes>
</textField>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="From" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CIb-MZ-DNH">
<rect key="frame" x="20" y="111" width="58" height="21"/>
<rect key="frame" x="20" y="131" width="58" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="0yD-AE-MIC"/>
<constraint firstAttribute="width" constant="58" id="WEN-qm-gLa"/>
Expand All @@ -82,7 +82,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="To" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z7v-H7-rGX">
<rect key="frame" x="20" y="221" width="58" height="21"/>
<rect key="frame" x="20" y="241" width="58" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="NJx-0s-dJ4"/>
<constraint firstAttribute="width" constant="58" id="h23-kG-HZd"/>
Expand All @@ -92,7 +92,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Subject" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sN0-89-v9t">
<rect key="frame" x="20" y="329" width="64" height="23"/>
<rect key="frame" x="20" y="349" width="64" height="23"/>
<constraints>
<constraint firstAttribute="height" constant="23" id="8XF-qz-jaV"/>
<constraint firstAttribute="width" constant="64" id="FTB-By-fjk"/>
Expand All @@ -102,14 +102,17 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gva-UZ-q1m" customClass="WeColorButton" customModule="Boilerplate_email" customModuleProvider="target">
<rect key="frame" x="20" y="460" width="335" height="60"/>
<rect key="frame" x="20" y="480" width="335" height="60"/>
<constraints>
<constraint firstAttribute="height" constant="60" id="wgP-ry-Ld6"/>
</constraints>
<state key="normal" title="Submit"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="darkButton" value="YES"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="submitButtonClick" destination="BYZ-38-t0r" eventType="touchUpInside" id="QJl-zu-FMH"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
Expand All @@ -135,10 +138,15 @@
<constraint firstItem="T5q-Xb-PKd" firstAttribute="leading" relation="lessThanOrEqual" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="20" id="f3W-Lg-RSt"/>
<constraint firstItem="loS-fl-pvJ" firstAttribute="top" secondItem="sN0-89-v9t" secondAttribute="bottom" constant="8" id="iUB-aU-ctu"/>
<constraint firstItem="loS-fl-pvJ" firstAttribute="trailing" secondItem="6DO-Fo-pUh" secondAttribute="trailing" id="kKF-lN-uBW"/>
<constraint firstItem="T5q-Xb-PKd" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="mpt-dw-SYZ"/>
<constraint firstItem="T5q-Xb-PKd" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="40" id="mpt-dw-SYZ"/>
<constraint firstItem="wOI-MD-KWA" firstAttribute="top" secondItem="T5q-Xb-PKd" secondAttribute="bottom" constant="50" id="xNY-13-8gy"/>
</constraints>
</view>
<connections>
<outlet property="fromTextField" destination="6DO-Fo-pUh" id="D1M-NA-OQd"/>
<outlet property="subjectTextField" destination="loS-fl-pvJ" id="nMe-FS-Tto"/>
<outlet property="toTextField" destination="wOI-MD-KWA" id="NHt-d5-axB"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
Expand Down
5 changes: 5 additions & 0 deletions Boilerplate-email/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand Down

0 comments on commit 9fe78c4

Please sign in to comment.