Skip to content

Commit

Permalink
UI微调
Browse files Browse the repository at this point in the history
  • Loading branch information
twotreeszf committed Dec 22, 2014
1 parent fdb0b01 commit b2c8a01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion PrettyTunnel/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" allowsSelection="NO" showsSelectionImmediatelyOnTouchBegin="NO" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="q54-4Q-yY6">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<view key="tableHeaderView" contentMode="scaleToFill" id="kLz-Mq-oD5">
<rect key="frame" x="0.0" y="64" width="320" height="160"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
Expand Down Expand Up @@ -401,6 +401,7 @@
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="dN1-V9-UXr">
<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"/>
<sections>
<tableViewSection id="wLr-AR-4AG">
<cells>
Expand Down
2 changes: 1 addition & 1 deletion PrettyTunnel/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>484</string>
<string>498</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIBackgroundModes</key>
Expand Down
4 changes: 4 additions & 0 deletions PrettyTunnel/UI/PTMainSettingsVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ - (UITableViewCell*)tableView:(UITableView*)tableView cellForRowAtIndexPath:(NSI
_connectionSwitch = (UISwitch*)[cell findSubviewByKey:@"ID" Value:@"ConnectionSwitch"];

if (!_connectionDescriptionLabel)
{
_connectionDescriptionLabel = (UILabel*)[cell findSubviewByKey:@"ID" Value:@"ConnectionDescription"];
if (_connectionDescriptionLabel)
[self _updateStatus];
}

if (!_pacFileURLLabel)
_pacFileURLLabel = (UILabel*)[cell findSubviewByKey:@"ID" Value:@"PACFileURL"];
Expand Down

0 comments on commit b2c8a01

Please sign in to comment.