ControlCenter.storyboard 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
  9. <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <scenes>
  13. <!--Page View Controller-->
  14. <scene sceneID="m6z-8w-IJV">
  15. <objects>
  16. <pageViewController storyboardIdentifier="ControlCenterPageViewController" autoresizesArchivedViewToFullSize="NO" transitionStyle="scroll" navigationOrientation="horizontal" spineLocation="none" id="khw-cy-z0B" sceneMemberID="viewController"/>
  17. <placeholder placeholderIdentifier="IBFirstResponder" id="bXc-vg-quF" userLabel="First Responder" sceneMemberID="firstResponder"/>
  18. </objects>
  19. <point key="canvasLocation" x="6487" y="1218"/>
  20. </scene>
  21. <!--Control Center Activity-->
  22. <scene sceneID="9Yy-2x-V4o">
  23. <objects>
  24. <collectionViewController storyboardIdentifier="ControlCenterActivity" id="Sa9-Gr-Uug" customClass="CCControlCenterActivity" sceneMemberID="viewController">
  25. <collectionView key="view" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" id="cgR-Jd-WnD">
  26. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  27. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  28. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  29. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="cmY-iB-PWk">
  30. <size key="itemSize" width="50" height="50"/>
  31. <size key="headerReferenceSize" width="50" height="90"/>
  32. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  33. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  34. </collectionViewFlowLayout>
  35. <cells>
  36. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="cell" id="btw-Qo-oNg">
  37. <rect key="frame" x="0.0" y="90" width="50" height="50"/>
  38. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  39. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  40. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  41. <autoresizingMask key="autoresizingMask"/>
  42. <subviews>
  43. <imageView opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="x7j-w7-Sik">
  44. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  45. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  46. </imageView>
  47. </subviews>
  48. </view>
  49. </collectionViewCell>
  50. </cells>
  51. <collectionReusableView key="sectionHeaderView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="header" id="6Zg-lt-YR9">
  52. <rect key="frame" x="0.0" y="0.0" width="375" height="90"/>
  53. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  54. <subviews>
  55. <label opaque="NO" userInteractionEnabled="NO" tag="100" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CHD-zb-9Fb">
  56. <rect key="frame" x="8" y="8" width="359" height="20"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="20" id="KNG-FZ-Mkw"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  61. <nil key="textColor"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qKB-Ig-OvH">
  65. <rect key="frame" x="42" y="33" width="325" height="20"/>
  66. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  67. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  68. <nil key="textColor"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. <imageView userInteractionEnabled="NO" tag="103" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="LU0-Y8-8hN">
  72. <rect key="frame" x="8" y="33" width="30" height="30"/>
  73. <constraints>
  74. <constraint firstAttribute="width" constant="30" id="p4B-3p-8mp"/>
  75. <constraint firstAttribute="height" constant="30" id="p8e-3K-o0e"/>
  76. </constraints>
  77. </imageView>
  78. <label opaque="NO" userInteractionEnabled="NO" tag="102" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="suK-ZC-07d">
  79. <rect key="frame" x="42" y="55" width="325" height="30"/>
  80. <constraints>
  81. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="30" id="v2e-1C-t22"/>
  82. </constraints>
  83. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  84. <nil key="textColor"/>
  85. <nil key="highlightedColor"/>
  86. </label>
  87. </subviews>
  88. <constraints>
  89. <constraint firstItem="CHD-zb-9Fb" firstAttribute="top" secondItem="6Zg-lt-YR9" secondAttribute="topMargin" id="E28-8I-PGy"/>
  90. <constraint firstAttribute="trailingMargin" secondItem="CHD-zb-9Fb" secondAttribute="trailing" id="LGu-oz-7Eo"/>
  91. <constraint firstItem="LU0-Y8-8hN" firstAttribute="top" secondItem="6Zg-lt-YR9" secondAttribute="topMargin" constant="25" id="OId-UY-MUK"/>
  92. <constraint firstAttribute="leadingMargin" secondItem="CHD-zb-9Fb" secondAttribute="leading" id="TE8-eb-tc2"/>
  93. <constraint firstItem="suK-ZC-07d" firstAttribute="leading" secondItem="LU0-Y8-8hN" secondAttribute="trailing" constant="4" id="adb-1z-0yE"/>
  94. <constraint firstAttribute="leadingMargin" secondItem="suK-ZC-07d" secondAttribute="leading" constant="-34" id="bsM-XS-4MA"/>
  95. <constraint firstItem="suK-ZC-07d" firstAttribute="top" secondItem="CHD-zb-9Fb" secondAttribute="bottom" constant="27" id="snE-f4-Nuo"/>
  96. <constraint firstAttribute="trailingMargin" secondItem="suK-ZC-07d" secondAttribute="trailing" id="uOW-VG-4zZ"/>
  97. </constraints>
  98. </collectionReusableView>
  99. <connections>
  100. <outlet property="dataSource" destination="Sa9-Gr-Uug" id="TzW-IT-Zqv"/>
  101. <outlet property="delegate" destination="Sa9-Gr-Uug" id="zNO-J2-Q7Q"/>
  102. </connections>
  103. </collectionView>
  104. </collectionViewController>
  105. <placeholder placeholderIdentifier="IBFirstResponder" id="0k6-oO-NJC" userLabel="First Responder" sceneMemberID="firstResponder"/>
  106. </objects>
  107. <point key="canvasLocation" x="7160.8000000000002" y="1686.2068965517242"/>
  108. </scene>
  109. <!--Control Center Transfer-->
  110. <scene sceneID="Gv7-Uy-0Cg">
  111. <objects>
  112. <viewController storyboardIdentifier="ControlCenterTransfer" id="XDY-MZ-Gnz" customClass="CCControlCenterTransfer" sceneMemberID="viewController">
  113. <layoutGuides>
  114. <viewControllerLayoutGuide type="top" id="uPE-Nb-KVS"/>
  115. <viewControllerLayoutGuide type="bottom" id="zG1-N8-9Mo"/>
  116. </layoutGuides>
  117. <view key="view" contentMode="scaleToFill" id="xeI-JC-cKn">
  118. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  119. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  120. <subviews>
  121. <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="cFo-AN-kZv">
  122. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  123. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
  124. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  125. <connections>
  126. <outlet property="dataSource" destination="XDY-MZ-Gnz" id="ERx-9f-Lzx"/>
  127. <outlet property="delegate" destination="XDY-MZ-Gnz" id="WCN-ad-5BK"/>
  128. </connections>
  129. </tableView>
  130. </subviews>
  131. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  132. </view>
  133. <connections>
  134. <outlet property="tableView" destination="cFo-AN-kZv" id="vLq-gh-way"/>
  135. </connections>
  136. </viewController>
  137. <placeholder placeholderIdentifier="IBFirstResponder" id="U19-6b-Mxz" userLabel="First Responder" sceneMemberID="firstResponder"/>
  138. </objects>
  139. <point key="canvasLocation" x="7161" y="982"/>
  140. </scene>
  141. </scenes>
  142. </document>