Skip to content

Commit

Permalink
UI Additions
Browse files Browse the repository at this point in the history
Hey Will. I did some minor work to the UI so hopefully it will inspire you to add WCEasySettings so that we can add some nice features to this emulator. I used most of the same parameters from your iNDS project to build the UI. I can link the objects from the main storyboard to code once we get the settings up and running.
  • Loading branch information
SuperJakeBit authored Dec 22, 2016
1 parent 69df92f commit 1b5279d
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 0 deletions.
Binary file added Gear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
164 changes: 164 additions & 0 deletions Main.storyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" colorMatched="YES" initialViewController="ayr-xU-Zm6">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
<scene sceneID="zv3-1F-61x">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="ayr-xU-Zm6" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" translucent="NO" id="clZ-Rz-rrw">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<color key="barTintColor" red="0.3529411764705882" green="0.31764705882352939" blue="0.61568627450980395" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<textAttributes key="titleTextAttributes">
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</textAttributes>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="Kuo-23-3di" kind="relationship" relationship="rootViewController" id="2hx-gR-xcU"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="QnO-uF-ejs" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-243" y="252"/>
</scene>
<!--Rom Table View Controller-->
<scene sceneID="mR7-zi-hth">
<objects>
<tableViewController id="Kuo-23-3di" customClass="RomTableViewController" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="UxV-tp-S4e">
<rect key="frame" x="0.0" y="64" width="375" height="603"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="3Xa-96-GkZ">
<rect key="frame" x="0.0" y="28" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="3Xa-96-GkZ" id="OGU-Y9-LBd">
<rect key="frame" x="0.0" y="0.0" width="375" height="43"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="Kuo-23-3di" id="dek-9i-Jhm"/>
<outlet property="delegate" destination="Kuo-23-3di" id="hR2-uD-vbs"/>
</connections>
</tableView>
<navigationItem key="navigationItem" id="HrH-qo-grM">
<nil key="title"/>
<barButtonItem key="leftBarButtonItem" image="Gear" id="zrz-AH-KXr">
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</barButtonItem>
<segmentedControl key="titleView" opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="bar" selectedSegmentIndex="0" id="lP4-pJ-Sqf">
<rect key="frame" x="111" y="8" width="153" height="29"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<segments>
<segment title="All"/>
<segment title="GC"/>
<segment title="Wii"/>
</segments>
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</segmentedControl>
<barButtonItem key="rightBarButtonItem" systemItem="search" id="fVP-QD-zfk">
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<connections>
<segue destination="QDQ-mW-fiX" kind="modal" id="L2f-cW-3fp"/>
</connections>
</barButtonItem>
</navigationItem>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="bb3-qY-lf2" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="248.5" y="252.5"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="j5s-An-Yc1">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="QDQ-mW-fiX" sceneMemberID="viewController">
<navigationBar key="navigationBar" contentMode="scaleToFill" id="QJY-16-NMc">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="TNh-R9-kwg" kind="relationship" relationship="rootViewController" id="el5-af-eIM"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="h0C-Cu-8A0" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="770" y="252"/>
</scene>
<!--View Controller-->
<scene sceneID="2Tv-Wf-n8V">
<objects>
<viewController id="TNh-R9-kwg" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="OTj-Z0-V9H">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<webView contentMode="scaleToFill" misplaced="YES" scalesPageToFit="YES" id="OFC-PF-jBB">
<rect key="frame" x="0.0" y="0.0" width="375" height="627"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="0.36078431370000003" green="0.38823529410000002" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</webView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="RYi-EY-RDt">
<rect key="frame" x="10" y="10" width="46" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="Button"/>
</button>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="JFZ-UG-5GC">
<rect key="frame" x="0.0" y="629" width="60" height="38"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="AlNile-Bold" family="Al Nile" pointSize="50"/>
<color key="tintColor" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<inset key="contentEdgeInsets" minX="0.0" minY="7" maxX="0.0" maxY="0.0"/>
<state key="normal" title="&lt;"/>
</button>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="H8G-ey-20J">
<rect key="frame" x="68" y="629" width="60" height="38"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="AlNile-Bold" family="Al Nile" pointSize="50"/>
<color key="tintColor" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<inset key="contentEdgeInsets" minX="0.0" minY="7" maxX="0.0" maxY="0.0"/>
<state key="normal" title="&gt;"/>
</button>
</subviews>
<color key="backgroundColor" red="0.92156862750000001" green="0.94117647059999998" blue="0.96078431369999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<navigationItem key="navigationItem" id="57y-Gk-cB2">
<nil key="title"/>
<textField key="titleView" opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" id="idV-BC-yJ4" userLabel="URL Field">
<rect key="frame" x="56" y="7" width="255" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardType="URL" returnKeyType="go" enablesReturnKeyAutomatically="YES"/>
</textField>
<barButtonItem key="rightBarButtonItem" style="done" systemItem="done" id="ldC-2t-sKO">
<color key="tintColor" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</barButtonItem>
</navigationItem>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Qvj-3K-eZd" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1229.5" y="252.5"/>
</scene>
</scenes>
<resources>
<image name="Gear" width="22" height="22"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4_7.fullscreen"/>
</simulatedMetricsContainer>
</document>

0 comments on commit 1b5279d

Please sign in to comment.