diff options
author | Siqi LIU <me@siqi.fr> | 2013-09-03 19:39:10 +0200 |
---|---|---|
committer | Siqi LIU <me@siqi.fr> | 2013-09-04 20:58:47 +0200 |
commit | 7ff78c8e5d0eded0bbc804d170941831a5a41483 (patch) | |
tree | 33dd1d0be61d403ecec4691814fc21c34c92fefa /ios/iosremote | |
parent | 3eb7ce4fb7d9ff16679801d2d52df18084ccb074 (diff) |
remove unused gradient layer
Diffstat (limited to 'ios/iosremote')
-rw-r--r-- | ios/iosremote/WalkThroughContainerViewController.m | 7 | ||||
-rw-r--r-- | ios/iosremote/fr.lproj/iPad_autosize_old.storyboard | 26 | ||||
-rw-r--r-- | ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard | 26 |
3 files changed, 27 insertions, 32 deletions
diff --git a/ios/iosremote/WalkThroughContainerViewController.m b/ios/iosremote/WalkThroughContainerViewController.m index 75bc6549e19f..0763362b5d58 100644 --- a/ios/iosremote/WalkThroughContainerViewController.m +++ b/ios/iosremote/WalkThroughContainerViewController.m @@ -46,12 +46,7 @@ [self setTitle:NSLocalizedString(@"How-to", nil)]; - CAGradientLayer *gradient = [CAGradientLayer layer]; - gradient.frame = self.view.bounds; - gradient.colors = [NSArray arrayWithObjects:(id)[[UIColor whiteColor] CGColor], (id)[[UIColor orangeColor] CGColor], nil]; - gradient.startPoint = CGPointMake(0.5, 0.7); - gradient.endPoint = CGPointMake(0.5, 1.0); -// [self.view.layer insertSublayer:gradient atIndex:0]; + } - (void)didReceiveMemoryWarning diff --git a/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard b/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard index 99dc921f528e..ba2b1053e19a 100644 --- a/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard +++ b/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard @@ -14,20 +14,20 @@ <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> <prototypes> <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="server_item_cell" editingAccessoryType="disclosureIndicator" textLabel="h0a-Zq-2vY" detailTextLabel="Fsp-wI-AAW" style="IBUITableViewCellStyleValue1" id="HZp-VJ-Pgz"> - <rect key="frame" x="0.0" y="54" width="540" height="45"/> + <rect key="frame" x="0.0" y="119" width="540" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="HZp-VJ-Pgz" id="Mwq-0R-Ezz"> - <rect key="frame" x="0.0" y="0.0" width="540" height="45"/> + <rect key="frame" x="0.0" y="0.0" width="540" height="43"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="h0a-Zq-2vY"> - <rect key="frame" x="10" y="11" width="32" height="22"/> + <rect key="frame" x="15" y="12" width="32" height="20"/> <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> </label> <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Fsp-wI-AAW"> - <rect key="frame" x="424" y="11" width="44" height="22"/> + <rect key="frame" x="481" y="12" width="44" height="20"/> <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> <color key="textColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/> <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> @@ -53,7 +53,7 @@ </connections> </barButtonItem> </navigationItem> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> <connections> <outlet property="serverTable" destination="0vt-Sx-o55" id="Szp-pH-0rk"/> <segue destination="m26-i1-eiL" kind="push" identifier="pinValidation" id="yUv-cB-P15"/> @@ -95,7 +95,7 @@ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> </view> <navigationItem key="navigationItem" id="V5z-WP-qrM"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> <connections> <outlet property="pinLabel" destination="Bp1-Dv-nt4" id="6xd-P5-J5U"/> <segue destination="B8g-8S-pgn" kind="push" identifier="pinValidated" id="gCy-Mv-VrC"/> @@ -147,7 +147,7 @@ </connections> </barButtonItem> </navigationItem> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> </tableViewController> <placeholder placeholderIdentifier="IBFirstResponder" id="JK3-FB-UoN" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> @@ -217,7 +217,7 @@ </connections> </tableView> <navigationItem key="navigationItem" id="4ju-ge-QPw"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> <connections> <outlet property="optionsTable" destination="Pc5-8o-PrW" id="18R-Zo-CBq"/> <outlet property="titleLabel" destination="JEW-I6-sw5" id="1AH-TC-z10"/> @@ -428,14 +428,14 @@ <rect key="frame" x="0.0" y="22" width="320" height="178"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="c4j-oH-LnN" id="JD6-IP-wMQ"> - <rect key="frame" x="0.0" y="0.0" width="320" height="178"/> + <rect key="frame" x="0.0" y="0.0" width="320" height="177"/> <autoresizingMask key="autoresizingMask"/> <subviews> <imageView userInteractionEnabled="NO" tag="1" contentMode="scaleToFill" image="Default.png" id="dn1-99-Dde"> - <rect key="frame" x="44" y="4" width="233" height="163"/> + <rect key="frame" x="44" y="3.5" width="233" height="163"/> </imageView> <label clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="1" highlighted="YES" id="qrH-bi-qw7"> - <rect key="frame" x="-605" y="150" width="29" height="21"/> + <rect key="frame" x="-605" y="149" width="29" height="21"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/> <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> <accessibility key="accessibilityConfiguration"> @@ -456,7 +456,7 @@ </connections> </tableView> <navigationItem key="navigationItem" id="tG3-aQ-qyu"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> </tableViewController> <placeholder placeholderIdentifier="IBFirstResponder" id="EJg-kN-O5N" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> @@ -490,7 +490,7 @@ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> </view> <navigationItem key="navigationItem" id="2hX-NQ-pfJ"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="EWl-Cj-qdi" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> diff --git a/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard b/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard index 6a2dd067b72f..67b93b945f01 100644 --- a/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard +++ b/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard @@ -14,20 +14,20 @@ <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> <prototypes> <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="server_item_cell" editingAccessoryType="disclosureIndicator" textLabel="h0a-Zq-2vY" detailTextLabel="Fsp-wI-AAW" style="IBUITableViewCellStyleValue1" id="HZp-VJ-Pgz"> - <rect key="frame" x="0.0" y="54" width="540" height="45"/> + <rect key="frame" x="0.0" y="119" width="540" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="HZp-VJ-Pgz" id="Mwq-0R-Ezz"> - <rect key="frame" x="0.0" y="0.0" width="540" height="45"/> + <rect key="frame" x="0.0" y="0.0" width="540" height="43"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="h0a-Zq-2vY"> - <rect key="frame" x="10" y="11" width="32" height="22"/> + <rect key="frame" x="15" y="12" width="32" height="20"/> <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> </label> <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Fsp-wI-AAW"> - <rect key="frame" x="424" y="11" width="44" height="22"/> + <rect key="frame" x="481" y="12" width="44" height="20"/> <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> <color key="textColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/> <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> @@ -53,7 +53,7 @@ </connections> </barButtonItem> </navigationItem> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> <connections> <outlet property="serverTable" destination="0vt-Sx-o55" id="Szp-pH-0rk"/> <segue destination="m26-i1-eiL" kind="push" identifier="pinValidation" id="yUv-cB-P15"/> @@ -95,7 +95,7 @@ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> </view> <navigationItem key="navigationItem" id="V5z-WP-qrM"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> <connections> <outlet property="pinLabel" destination="Bp1-Dv-nt4" id="6xd-P5-J5U"/> <segue destination="B8g-8S-pgn" kind="push" identifier="pinValidated" id="gCy-Mv-VrC"/> @@ -147,7 +147,7 @@ </connections> </barButtonItem> </navigationItem> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> </tableViewController> <placeholder placeholderIdentifier="IBFirstResponder" id="JK3-FB-UoN" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> @@ -217,7 +217,7 @@ </connections> </tableView> <navigationItem key="navigationItem" id="4ju-ge-QPw"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> <connections> <outlet property="optionsTable" destination="Pc5-8o-PrW" id="18R-Zo-CBq"/> <outlet property="titleLabel" destination="JEW-I6-sw5" id="1AH-TC-z10"/> @@ -428,14 +428,14 @@ <rect key="frame" x="0.0" y="22" width="320" height="178"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="c4j-oH-LnN" id="JD6-IP-wMQ"> - <rect key="frame" x="0.0" y="0.0" width="320" height="178"/> + <rect key="frame" x="0.0" y="0.0" width="320" height="177"/> <autoresizingMask key="autoresizingMask"/> <subviews> <imageView userInteractionEnabled="NO" tag="1" contentMode="scaleToFill" image="Default.png" id="dn1-99-Dde"> - <rect key="frame" x="44" y="4" width="233" height="163"/> + <rect key="frame" x="44" y="3.5" width="233" height="163"/> </imageView> <label clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="1" highlighted="YES" id="qrH-bi-qw7"> - <rect key="frame" x="-605" y="150" width="29" height="21"/> + <rect key="frame" x="-605" y="149" width="29" height="21"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/> <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> <accessibility key="accessibilityConfiguration"> @@ -456,7 +456,7 @@ </connections> </tableView> <navigationItem key="navigationItem" id="tG3-aQ-qyu"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> </tableViewController> <placeholder placeholderIdentifier="IBFirstResponder" id="EJg-kN-O5N" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> @@ -490,7 +490,7 @@ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> </view> <navigationItem key="navigationItem" id="2hX-NQ-pfJ"/> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/> + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="EWl-Cj-qdi" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> |