Skip to content

Commit

Permalink
first rev of project
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Brooke authored and Scott Brooke committed Feb 21, 2015
1 parent 2a1522c commit 98ab052
Show file tree
Hide file tree
Showing 7 changed files with 235 additions and 6 deletions.
10 changes: 10 additions & 0 deletions Postcard.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
BB52E8BF1A0C0647006FC584 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BB52E8BE1A0C0647006FC584 /* Images.xcassets */; };
BB52E8C21A0C0647006FC584 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB52E8C01A0C0647006FC584 /* LaunchScreen.xib */; };
BB52E8CE1A0C0647006FC584 /* PostcardTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB52E8CD1A0C0647006FC584 /* PostcardTests.swift */; };
BBC19B6F1A6D99C5008EA54D /* SagradaFamilia.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = BBC19B6E1A6D99C5008EA54D /* SagradaFamilia.jpeg */; };
BBC19B711A6D9C74008EA54D /* AlbertEinsteinStamp.jpg in Resources */ = {isa = PBXBuildFile; fileRef = BBC19B701A6D9C74008EA54D /* AlbertEinsteinStamp.jpg */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -36,6 +38,8 @@
BB52E8C71A0C0647006FC584 /* PostcardTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PostcardTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
BB52E8CC1A0C0647006FC584 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BB52E8CD1A0C0647006FC584 /* PostcardTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PostcardTests.swift; sourceTree = "<group>"; };
BBC19B6E1A6D99C5008EA54D /* SagradaFamilia.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = SagradaFamilia.jpeg; sourceTree = "<group>"; };
BBC19B701A6D9C74008EA54D /* AlbertEinsteinStamp.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = AlbertEinsteinStamp.jpg; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -90,6 +94,8 @@
BB52E8B51A0C0647006FC584 /* Supporting Files */ = {
isa = PBXGroup;
children = (
BBC19B701A6D9C74008EA54D /* AlbertEinsteinStamp.jpg */,
BBC19B6E1A6D99C5008EA54D /* SagradaFamilia.jpeg */,
BB52E8B61A0C0647006FC584 /* Info.plist */,
);
name = "Supporting Files";
Expand Down Expand Up @@ -193,6 +199,8 @@
buildActionMask = 2147483647;
files = (
BB52E8BD1A0C0647006FC584 /* Main.storyboard in Resources */,
BBC19B6F1A6D99C5008EA54D /* SagradaFamilia.jpeg in Resources */,
BBC19B711A6D9C74008EA54D /* AlbertEinsteinStamp.jpg in Resources */,
BB52E8C21A0C0647006FC584 /* LaunchScreen.xib in Resources */,
BB52E8BF1A0C0647006FC584 /* Images.xcassets in Resources */,
);
Expand Down Expand Up @@ -407,6 +415,7 @@
BB52E8D31A0C0647006FC584 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BB52E8D41A0C0647006FC584 /* Build configuration list for PBXNativeTarget "PostcardTests" */ = {
isa = XCConfigurationList;
Expand All @@ -415,6 +424,7 @@
BB52E8D61A0C0647006FC584 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,63 @@
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB52E8B11A0C0647006FC584"
BuildableName = "Postcard.app"
BlueprintName = "Postcard"
ReferencedContainer = "container:Postcard.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB52E8C61A0C0647006FC584"
BuildableName = "PostcardTests.xctest"
BlueprintName = "PostcardTests"
ReferencedContainer = "container:Postcard.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB52E8C61A0C0647006FC584"
BuildableName = "PostcardTests.xctest"
BlueprintName = "PostcardTests"
ReferencedContainer = "container:Postcard.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB52E8B11A0C0647006FC584"
BuildableName = "Postcard.app"
BlueprintName = "Postcard"
ReferencedContainer = "container:Postcard.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
Expand All @@ -23,6 +72,15 @@
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB52E8B11A0C0647006FC584"
BuildableName = "Postcard.app"
BlueprintName = "Postcard"
ReferencedContainer = "container:Postcard.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
Expand All @@ -32,6 +90,15 @@
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB52E8B11A0C0647006FC584"
BuildableName = "Postcard.app"
BlueprintName = "Postcard"
ReferencedContainer = "container:Postcard.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
Binary file added Postcard/AlbertEinsteinStamp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Postcard/Base.lproj/LaunchScreen.xib
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="14B25" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
</dependencies>
<objects>
Expand Down
143 changes: 140 additions & 3 deletions Postcard/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,25 +1,162 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6254" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="d0H-Ta-ULU">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Postcard" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="AlbertEinsteinStamp.jpg" translatesAutoresizingMaskIntoConstraints="NO" id="3lq-MU-Apz">
<rect key="frame" x="0.0" y="0.0" width="240" height="128"/>
<variation key="widthClass=compact" fixedFrame="YES">
<rect key="frame" x="250" y="149" width="80" height="80"/>
</variation>
</imageView>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="line" placeholder="Enter Name" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="5M7-SH-ByK">
<rect key="frame" x="0.0" y="-30" width="97" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<variation key="widthClass=compact" fixedFrame="YES">
<rect key="frame" x="16" y="237" width="314" height="30"/>
</variation>
</textField>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="line" placeholder="Enter Message" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="iMh-bF-GsM">
<rect key="frame" x="0.0" y="-30" width="97" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<variation key="widthClass=compact" fixedFrame="YES">
<rect key="frame" x="16" y="275" width="314" height="30"/>
</variation>
</textField>
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dFK-5M-w7i">
<rect key="frame" x="0.0" y="-21" width="42" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
<variation key="widthClass=compact" fixedFrame="YES">
<rect key="frame" x="16" y="87" width="314" height="54"/>
</variation>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FJ7-CC-cYd">
<rect key="frame" x="-23" y="-15" width="46" height="30"/>
<color key="backgroundColor" red="1" green="0.7212755975910099" blue="0.26294697044613957" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Send Mail">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<variation key="widthClass=compact" fixedFrame="YES">
<rect key="frame" x="16" y="199" width="226" height="30"/>
</variation>
<connections>
<action selector="sendMailButtonPressed:" destination="BYZ-38-t0r" eventType="touchUpInside" id="bds-KO-HBX"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<variation key="default">
<mask key="subviews">
<exclude reference="3lq-MU-Apz"/>
<exclude reference="5M7-SH-ByK"/>
<exclude reference="iMh-bF-GsM"/>
<exclude reference="dFK-5M-w7i"/>
<exclude reference="FJ7-CC-cYd"/>
</mask>
</variation>
<variation key="widthClass=compact">
<mask key="subviews">
<include reference="3lq-MU-Apz"/>
<include reference="5M7-SH-ByK"/>
<include reference="iMh-bF-GsM"/>
<include reference="dFK-5M-w7i"/>
<include reference="FJ7-CC-cYd"/>
</mask>
</variation>
</view>
<connections>
<outlet property="enterMessageTextField" destination="iMh-bF-GsM" id="Oc7-mw-CNS"/>
<outlet property="enterNameTextField" destination="5M7-SH-ByK" id="cjn-DL-PWZ"/>
<outlet property="mailButton" destination="FJ7-CC-cYd" id="ucw-as-4bV"/>
<outlet property="messageLabel" destination="dFK-5M-w7i" id="Bgk-fZ-suS"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2916" y="414"/>
</scene>
<!--Barcelona-->
<scene sceneID="YBs-Ib-ors">
<objects>
<viewController id="Hkp-oL-54n" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="6DU-4u-orZ"/>
<viewControllerLayoutGuide type="bottom" id="p03-HS-Zd9"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="afm-Ks-tlk">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SagradaFamilia.jpeg" translatesAutoresizingMaskIntoConstraints="NO" id="iDP-5i-Szs">
<rect key="frame" x="0.0" y="0.0" width="240" height="128"/>
<variation key="widthClass=compact" fixedFrame="YES">
<rect key="frame" x="0.0" y="0.0" width="400" height="600"/>
</variation>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<variation key="default">
<mask key="subviews">
<exclude reference="iDP-5i-Szs"/>
</mask>
</variation>
<variation key="widthClass=compact">
<mask key="subviews">
<include reference="iDP-5i-Szs"/>
</mask>
</variation>
</view>
<navigationItem key="navigationItem" title="Barcelona" id="uhY-yR-N9W">
<barButtonItem key="rightBarButtonItem" title="Message" id="n3h-Mn-wxm">
<connections>
<segue destination="BYZ-38-t0r" kind="show" id="Xvd-KS-muT"/>
</connections>
</barButtonItem>
</navigationItem>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="CTd-kE-gom" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2212.5" y="414"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="iGv-fJ-nQM">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="d0H-Ta-ULU" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" id="w3y-mf-oKM">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="Hkp-oL-54n" kind="relationship" relationship="rootViewController" id="Eq0-My-fWs"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="JDm-l5-ZqL" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1294.5" y="414"/>
</scene>
</scenes>
<resources>
<image name="AlbertEinsteinStamp.jpg" width="1917" height="1344"/>
<image name="SagradaFamilia.jpeg" width="205" height="245"/>
</resources>
</document>
Binary file added Postcard/SagradaFamilia.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 98ab052

Please sign in to comment.