diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-04-23 20:32:10 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-24 16:17:43 -0700 |
commit | f1200d47db78b036e8b7eef2c224c5878c1c3a01 (patch) | |
tree | 3a4c0ca3c444d1e7724c00c9a30c8bb91be49bad /platform/ios/app/Main.storyboard | |
parent | e4752912dad7dcedfb5853e5773b2194980e07e1 (diff) | |
download | qtlocation-mapboxgl-f1200d47db78b036e8b7eef2c224c5878c1c3a01.tar.gz |
[ios, osx] Made localizable strings unique; unlocalized iosapp
Assigned unique IDs to localizable English strings in code.
Made iosapp non-localizable. For the time being, it isn’t worth the trouble to localize more strings for this demo application than for the SDK itself.
Diffstat (limited to 'platform/ios/app/Main.storyboard')
-rw-r--r-- | platform/ios/app/Main.storyboard | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/platform/ios/app/Main.storyboard b/platform/ios/app/Main.storyboard new file mode 100644 index 0000000000..72f9a02219 --- /dev/null +++ b/platform/ios/app/Main.storyboard @@ -0,0 +1,184 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="PSe-Ot-7Ff"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/> + <capability name="Navigation items with more than one left or right bar item" minToolsVersion="7.0"/> + </dependencies> + <scenes> + <!--Map View Controller--> + <scene sceneID="p0T-1N-kQ6"> + <objects> + <viewController id="WaX-pd-UZQ" userLabel="Map View Controller" customClass="MBXViewController" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="f0q-9O-L15"/> + <viewControllerLayoutGuide type="bottom" id="m8o-i7-QIy"/> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="Z9X-fc-PUC"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kNe-zV-9ha" customClass="MGLMapView"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + <gestureRecognizers/> + <connections> + <outlet property="delegate" destination="WaX-pd-UZQ" id="za0-3B-qR6"/> + <outletCollection property="gestureRecognizers" destination="lfd-mn-7en" appends="YES" id="0PH-gH-GRm"/> + </connections> + </view> + </subviews> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + <constraints> + <constraint firstItem="kNe-zV-9ha" firstAttribute="leading" secondItem="Z9X-fc-PUC" secondAttribute="leading" id="53e-Tz-QxF"/> + <constraint firstItem="kNe-zV-9ha" firstAttribute="bottom" secondItem="m8o-i7-QIy" secondAttribute="top" id="Etp-BC-E1N"/> + <constraint firstAttribute="trailing" secondItem="kNe-zV-9ha" secondAttribute="trailing" id="MGr-8G-VEb"/> + <constraint firstItem="kNe-zV-9ha" firstAttribute="top" secondItem="Z9X-fc-PUC" secondAttribute="top" id="qMm-e9-jxH"/> + </constraints> + </view> + <navigationItem key="navigationItem" id="p8W-eP-el5"> + <nil key="title"/> + <barButtonItem key="leftBarButtonItem" image="settings.png" id="Jw8-JP-CaZ"> + <connections> + <action selector="showSettings:" destination="WaX-pd-UZQ" id="X2C-Ee-Qvt"/> + </connections> + </barButtonItem> + <button key="titleView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="KsN-ny-Hou"> + <rect key="frame" x="180" y="7" width="240" height="30"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> + <state key="normal" title="Streets"/> + <connections> + <action selector="cycleStyles:" destination="WaX-pd-UZQ" eventType="touchUpInside" id="PnY-mb-J6m"/> + </connections> + </button> + <rightBarButtonItems> + <barButtonItem image="TrackingLocationOffMask.png" id="CQ1-GP-M6x"> + <connections> + <action selector="locateUser:" destination="WaX-pd-UZQ" id="XgF-DB-z3f"/> + </connections> + </barButtonItem> + <barButtonItem systemItem="organize" id="5IK-vz-jKQ"> + <connections> + <segue destination="7q0-lI-zqb" kind="show" identifier="ShowOfflinePacks" id="xjx-0t-0LD"/> + </connections> + </barButtonItem> + </rightBarButtonItems> + </navigationItem> + <connections> + <outlet property="mapView" destination="kNe-zV-9ha" id="VNR-WO-1q4"/> + </connections> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="AAd-8J-9UU" userLabel="First Responder" sceneMemberID="firstResponder"/> + <pongPressGestureRecognizer allowableMovement="10" minimumPressDuration="0.5" id="lfd-mn-7en"> + <connections> + <action selector="handleLongPress:" destination="WaX-pd-UZQ" id="dkk-bc-rvl"/> + </connections> + </pongPressGestureRecognizer> + </objects> + <point key="canvasLocation" x="1366" y="350"/> + </scene> + <!--Offline Packs--> + <scene sceneID="xIg-PA-7r3"> + <objects> + <tableViewController id="7q0-lI-zqb" customClass="MBXOfflinePacksTableViewController" sceneMemberID="viewController"> + <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="eeN-6b-zqe"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + <prototypes> + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Inactive" editingAccessoryType="detailDisclosureButton" textLabel="JtH-Ce-MI5" detailTextLabel="tTJ-jv-U9v" style="IBUITableViewCellStyleSubtitle" id="fGu-Ys-Eh1"> + <rect key="frame" x="0.0" y="92" width="600" height="44"/> + <autoresizingMask key="autoresizingMask"/> + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fGu-Ys-Eh1" id="sUf-bc-8xG"> + <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="My Inactive Offline Pack" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="JtH-Ce-MI5"> + <rect key="frame" x="15" y="6" width="174.5" height="19.5"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" pointSize="16"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="456 resources (789 MB)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="tTJ-jv-U9v"> + <rect key="frame" x="15" y="25.5" width="128" height="13.5"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" pointSize="11"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + </subviews> + </tableViewCellContentView> + </tableViewCell> + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Active" editingAccessoryType="detailDisclosureButton" textLabel="9ZK-gS-wJ4" detailTextLabel="0xK-p8-Mmh" style="IBUITableViewCellStyleSubtitle" id="mKB-tz-Zfl"> + <rect key="frame" x="0.0" y="136" width="600" height="44"/> + <autoresizingMask key="autoresizingMask"/> + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mKB-tz-Zfl" id="nS3-aU-nBr"> + <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="My Active Offline Pack" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="9ZK-gS-wJ4"> + <rect key="frame" x="15" y="6" width="163" height="19.5"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" pointSize="16"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Downloading 123 of 456 resources… (789 MB downloaded)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="0xK-p8-Mmh"> + <rect key="frame" x="15" y="25.5" width="310.5" height="13.5"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" pointSize="11"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + </subviews> + </tableViewCellContentView> + </tableViewCell> + </prototypes> + <connections> + <outlet property="dataSource" destination="7q0-lI-zqb" id="oe8-d5-Rjo"/> + <outlet property="delegate" destination="7q0-lI-zqb" id="D5X-oy-DSc"/> + </connections> + </tableView> + <navigationItem key="navigationItem" title="Offline Packs" id="UcK-PK-eQA"> + <barButtonItem key="rightBarButtonItem" systemItem="add" id="gCV-hl-Mzc"> + <connections> + <action selector="addCurrentRegion:" destination="7q0-lI-zqb" id="G2O-3V-aEA"/> + </connections> + </barButtonItem> + </navigationItem> + <connections> + <segue destination="x2D-ga-sM5" kind="unwind" identifier="ReturnToMap" unwindAction="unwindToMapViewController:" id="6MZ-Ed-tu2"/> + </connections> + </tableViewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="Dga-Vh-IxZ" userLabel="First Responder" sceneMemberID="firstResponder"/> + <exit id="x2D-ga-sM5" userLabel="Exit" sceneMemberID="exit"/> + </objects> + <point key="canvasLocation" x="2075" y="350"/> + </scene> + <!--Navigation Controller--> + <scene sceneID="LFg-oU-zTK"> + <objects> + <navigationController automaticallyAdjustsScrollViewInsets="NO" id="PSe-Ot-7Ff" sceneMemberID="viewController"> + <toolbarItems/> + <navigationBar key="navigationBar" contentMode="scaleToFill" id="ONr-CS-J5X"> + <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> + <autoresizingMask key="autoresizingMask"/> + </navigationBar> + <nil name="viewControllers"/> + <connections> + <segue destination="WaX-pd-UZQ" kind="relationship" relationship="rootViewController" id="lV0-PD-2Ag"/> + </connections> + </navigationController> + <placeholder placeholderIdentifier="IBFirstResponder" id="Lom-R7-kwe" userLabel="First Responder" sceneMemberID="firstResponder"/> + </objects> + <point key="canvasLocation" x="554" y="350"/> + </scene> + </scenes> + <resources> + <image name="TrackingLocationOffMask.png" width="23" height="23"/> + <image name="settings.png" width="28" height="28"/> + </resources> + <color key="tintColor" red="0.12156862745098039" green="0.5490196078431373" blue="0.6705882352941176" alpha="1" colorSpace="calibratedRGB"/> +</document> |