Skip to content

Commit

Permalink
Update QuickContacts with storyboard (#41).
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueRiverInteractive committed May 7, 2015
1 parent d096715 commit b7a9bdf
Show file tree
Hide file tree
Showing 32 changed files with 387 additions and 268 deletions.
31 changes: 4 additions & 27 deletions QuickContacts/Info.plist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<string>${app.build}</string>
<key>LSRequiresIPhoneOS</key>
<true />
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand All @@ -46,32 +50,5 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-Small</string>
<string>Icon-Small-40</string>
<string>Icon</string>
<string>Icon-60</string>
<string>Icon-72</string>
</array>
</dict>
</dict>
<key>CFBundleIcons~ipad</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-Small</string>
<string>Icon-Small-40</string>
<string>Icon-72</string>
<string>Icon-76</string>
</array>
</dict>
</dict>
</dict>
</plist>
1 change: 0 additions & 1 deletion QuickContacts/README.md

This file was deleted.

49 changes: 24 additions & 25 deletions QuickContacts/pom.xml
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.robovm</groupId>
<artifactId>robovm-samples-parent</artifactId>
<version>1.0</version>
</parent>
<parent>
<groupId>org.robovm</groupId>
<artifactId>robovm-samples-parent</artifactId>
<version>1.0</version>
</parent>

<artifactId>robovm-samples-quickcontacts</artifactId>
<name>RoboVM version of Apple's QuickContacts sample</name>
<artifactId>robovm-samples-quickcontacts</artifactId>
<name>RoboVM port of Apple's QuickContacts sample</name>

<packaging>jar</packaging>
<packaging>jar</packaging>

<build>
<sourceDirectory>src/main/java</sourceDirectory>
</build>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
</build>

<dependencies>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-rt</artifactId>
</dependency>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-cocoatouch</artifactId>
</dependency>
</dependencies>

</project>
<dependencies>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-rt</artifactId>
</dependency>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-cocoatouch</artifactId>
</dependency>
</dependencies>
</project>
58 changes: 58 additions & 0 deletions QuickContacts/resources/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="auN-g9-0Zh">
<dependencies>
<deployment defaultVersion="1536" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
</dependencies>
<scenes>
<!--Quick Contacts View Controller - QuickContacts-->
<scene sceneID="wex-5G-Fip">
<objects>
<tableViewController id="Lxj-0K-e12" customClass="QuickContactsViewController" sceneMemberID="viewController">
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="4Xk-gL-inN">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" restorationIdentifier="Cell" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CellID" id="FwI-ot-vJa">
<rect key="frame" x="0.0" y="119" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="FwI-ot-vJa" id="rlX-Qo-msy">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="Lxj-0K-e12" id="h1a-NN-0uS"/>
<outlet property="delegate" destination="Lxj-0K-e12" id="MaE-Bh-VBR"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="QuickContacts" id="TrG-jl-Ct7"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="pTw-eF-BMK" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="489" y="187"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="gFx-UP-YNh">
<objects>
<navigationController definesPresentationContext="YES" id="auN-g9-0Zh" sceneMemberID="viewController">
<navigationBar key="navigationBar" contentMode="scaleToFill" id="0xf-be-X4h">
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="Lxj-0K-e12" kind="relationship" relationship="rootViewController" id="0DR-Nk-ZOp"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="swB-ta-pty" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="25" y="187"/>
</scene>
</scenes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
</simulatedMetricsContainer>
</document>
42 changes: 0 additions & 42 deletions QuickContacts/resources/Contents.json

This file was deleted.

Binary file not shown.
Binary file removed QuickContacts/resources/Default-736h@3x~iphone.png
Binary file not shown.
Binary file removed QuickContacts/resources/Icon-72.png
Binary file not shown.
Binary file removed QuickContacts/resources/[email protected]
Binary file not shown.
Binary file removed QuickContacts/resources/Icon.png
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"images" : [
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-Small.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-Small-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"filename" : "Default@2x~iphone.png",
"scale" : "2x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "retina4",
"filename" : "Default-568h@2x~iphone.png",
"minimum-system-version" : "7.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"filename" : "Default-Portrait~ipad.png",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"filename" : "Default-Landscape~ipad.png",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"filename" : "Default-Portrait@2x~ipad.png",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"filename" : "Default-Landscape@2x~ipad.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading

0 comments on commit b7a9bdf

Please sign in to comment.