-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMangoFileBrowserCollectionView.xib
More file actions
112 lines (112 loc) · 8.36 KB
/
MangoFileBrowserCollectionView.xib
File metadata and controls
112 lines (112 loc) · 8.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="MangoFileBrowserCollectionViewController">
<connections>
<outlet property="collectionView" destination="WXf-Ky-Ln4" id="hyn-qK-HG1"/>
<outlet property="iconArrayController" destination="Q6g-6Z-oxO" id="t2s-lN-tTs"/>
<outlet property="view" destination="c22-O7-iKe" id="p7X-Tf-nKf"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
<customView id="c22-O7-iKe">
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z8D-Kd-ThW">
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<clipView key="contentView" id="fmg-0X-m86">
<rect key="frame" x="1" y="1" width="478" height="270"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<collectionView id="WXf-Ky-Ln4" customClass="MangoFileBrowserCollectionView">
<rect key="frame" x="0.0" y="0.0" width="478" height="270"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="primaryBackgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<connections>
<binding destination="Q6g-6Z-oxO" name="content" keyPath="arrangedObjects" id="qIa-Bu-aqn"/>
<outlet property="itemPrototype" destination="nYU-lH-ApS" id="T8o-J2-tEy"/>
</connections>
</collectionView>
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="8f9-Ws-1cy">
<rect key="frame" x="1" y="144" width="233" height="15"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="MuK-iO-t96">
<rect key="frame" x="234" y="1" width="15" height="143"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="z8D-Kd-ThW" secondAttribute="bottom" id="Fcs-I4-GiZ"/>
<constraint firstItem="z8D-Kd-ThW" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="Tqm-qC-Jxm"/>
<constraint firstAttribute="trailing" secondItem="z8D-Kd-ThW" secondAttribute="trailing" id="fk5-nG-TSg"/>
<constraint firstItem="z8D-Kd-ThW" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="mMa-0s-zwE"/>
</constraints>
</customView>
<collectionViewItem id="nYU-lH-ApS" customClass="MangoFileBrowserItem">
<connections>
<outlet property="view" destination="Mo9-Ge-Rbk" id="HAt-KU-aGA"/>
</connections>
</collectionViewItem>
<box autoresizesSubviews="NO" boxType="custom" borderType="none" id="Mo9-Ge-Rbk" customClass="MangoFileBrowserItemView">
<rect key="frame" x="0.0" y="0.0" width="96" height="110"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<view key="contentView">
<rect key="frame" x="0.0" y="0.0" width="96" height="110"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lr4-a2-JoV">
<rect key="frame" x="14" y="10" width="68" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<constraints>
<constraint firstAttribute="height" constant="23" id="7g7-ll-Bce"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Label" id="Jpc-ra-rQG">
<font key="font" size="10" name="OpenSans-Light"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="nYU-lH-ApS" name="value" keyPath="representedObject.filename" id="1n9-U9-kUM"/>
</connections>
</textField>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Ktg-J3-fjK">
<rect key="frame" x="16" y="35" width="64" height="65"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<constraints>
<constraint firstAttribute="height" constant="65" id="5OB-G3-LsP"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="60u-7G-dIg"/>
<connections>
<binding destination="nYU-lH-ApS" name="value" keyPath="representedObject.icon" id="1FJ-qo-QDO"/>
</connections>
</imageView>
</subviews>
</view>
<constraints>
<constraint firstItem="lr4-a2-JoV" firstAttribute="trailing" secondItem="Ktg-J3-fjK" secondAttribute="trailing" id="02Z-e2-tTW"/>
<constraint firstAttribute="trailing" secondItem="Ktg-J3-fjK" secondAttribute="trailing" constant="16" id="18M-Hd-KXd"/>
<constraint firstItem="lr4-a2-JoV" firstAttribute="leading" secondItem="Ktg-J3-fjK" secondAttribute="leading" id="4a0-1X-6B1"/>
<constraint firstItem="Ktg-J3-fjK" firstAttribute="leading" secondItem="Mo9-Ge-Rbk" secondAttribute="leading" constant="16" id="AJG-tD-Xnz"/>
<constraint firstItem="lr4-a2-JoV" firstAttribute="top" secondItem="Ktg-J3-fjK" secondAttribute="bottom" constant="2" id="G6y-Re-OLz"/>
<constraint firstItem="Ktg-J3-fjK" firstAttribute="top" secondItem="Mo9-Ge-Rbk" secondAttribute="top" constant="10" id="Z5r-WX-5OU"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</box>
<arrayController id="Q6g-6Z-oxO" userLabel="Icon Array Controller">
<connections>
<binding destination="-2" name="contentArray" keyPath="dbData" id="pfn-Rf-WuP"/>
</connections>
</arrayController>
</objects>
</document>