Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
3abd8c5a
Commit
3abd8c5a
authored
Nov 16, 2015
by
Felix Paul Kühne
Browse files
Convert cloud storage table view controller to autolayout
parent
5ceab9aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Resources/VLCCloudStorageTableViewController.xib
View file @
3abd8c5a
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"
7706
"
systemVersion=
"1
4E33b
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"
9527.1
"
systemVersion=
"1
5B42
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<development
version=
"5000"
identifier=
"xcode"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"
7703
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"
9525.1
"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"VLCCloudStorageTableViewController"
>
...
...
@@ -20,9 +20,8 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"568"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<subviews>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
showsHorizontalScrollIndicator=
"NO"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"44"
sectionHeaderHeight=
"22"
sectionFooterHeight=
"22"
id=
"29"
>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
showsHorizontalScrollIndicator=
"NO"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"44"
sectionHeaderHeight=
"22"
sectionFooterHeight=
"22"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"29"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"568"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"32"
/>
...
...
@@ -31,6 +30,12 @@
</tableView>
</subviews>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstItem=
"29"
firstAttribute=
"leading"
secondItem=
"28"
secondAttribute=
"leading"
id=
"1e5-4s-WL8"
/>
<constraint
firstItem=
"29"
firstAttribute=
"top"
secondItem=
"28"
secondAttribute=
"top"
id=
"daj-Xu-442"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"29"
secondAttribute=
"bottom"
id=
"kB8-XF-Oig"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"29"
secondAttribute=
"trailing"
id=
"upi-35-a7a"
/>
</constraints>
<simulatedStatusBarMetrics
key=
"simulatedStatusBarMetrics"
/>
<simulatedToolbarMetrics
key=
"simulatedBottomBarMetrics"
barStyle=
"black"
/>
<simulatedScreenMetrics
key=
"simulatedDestinationMetrics"
type=
"retina4"
/>
...
...
@@ -39,27 +44,39 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"568"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
image=
"dropbox-white.png"
id=
"9"
>
<rect
key=
"frame"
x=
"70"
y=
"192"
width=
"179"
height=
"60"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"20"
customClass=
"VLCMenuButton"
>
<rect
key=
"frame"
x=
"120"
y=
"387"
width=
"81"
height=
"39"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"15"
/>
<state
key=
"normal"
title=
"Login"
backgroundImage=
"menuButton.png"
>
<color
key=
"titleColor"
red=
"0.19607843459999999"
green=
"0.30980393290000002"
blue=
"0.52156865600000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"titleShadowColor"
white=
"0.5"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</state>
<state
key=
"highlighted"
>
<color
key=
"titleColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</state>
<connections>
<action
selector=
"loginAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"Ny5-mX-HmE"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
ambiguous=
"YES"
misplaced=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"FhN-yS-GbO"
>
<rect
key=
"frame"
x=
"50"
y=
"172"
width=
"219"
height=
"274"
/>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
ambiguous=
"YES"
misplaced=
"YES"
image=
"dropbox-white.png"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9"
>
<rect
key=
"frame"
x=
"20"
y=
"20"
width=
"179"
height=
"60"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"60"
id=
"cHV-tk-NsL"
/>
<constraint
firstAttribute=
"width"
constant=
"179"
id=
"rRT-T3-16c"
/>
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
fixedFrame=
"YES"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"20"
customClass=
"VLCMenuButton"
>
<rect
key=
"frame"
x=
"70"
y=
"215"
width=
"81"
height=
"39"
/>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"15"
/>
<state
key=
"normal"
title=
"Login"
backgroundImage=
"menuButton.png"
>
<color
key=
"titleColor"
red=
"0.19607843459999999"
green=
"0.30980393290000002"
blue=
"0.52156865600000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"titleShadowColor"
white=
"0.5"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</state>
<state
key=
"highlighted"
>
<color
key=
"titleColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</state>
<connections>
<action
selector=
"loginAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"Ny5-mX-HmE"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
red=
"0.1215686275"
green=
"0.1215686275"
blue=
"0.1215686275"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</subviews>
<color
key=
"backgroundColor"
red=
"0.12156862745098039"
green=
"0.12156862745098039"
blue=
"0.12156862745098039"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<constraints>
<constraint
firstItem=
"FhN-yS-GbO"
firstAttribute=
"centerY"
secondItem=
"8"
secondAttribute=
"centerY"
constant=
"25"
id=
"m7x-Uc-Mk0"
/>
<constraint
firstItem=
"FhN-yS-GbO"
firstAttribute=
"centerX"
secondItem=
"8"
secondAttribute=
"centerX"
id=
"xRX-Hp-GdU"
/>
</constraints>
<simulatedScreenMetrics
key=
"simulatedDestinationMetrics"
type=
"retina4"
/>
</view>
</objects>
...
...
@@ -67,9 +84,4 @@
<image
name=
"dropbox-white.png"
width=
"125"
height=
"42"
/>
<image
name=
"menuButton.png"
width=
"63"
height=
"39"
/>
</resources>
<simulatedMetricsContainer
key=
"defaultSimulatedMetrics"
>
<simulatedStatusBarMetrics
key=
"statusBar"
/>
<simulatedOrientationMetrics
key=
"orientation"
/>
<simulatedScreenMetrics
key=
"destination"
type=
"retina4"
/>
</simulatedMetricsContainer>
</document>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment