ControlCenter.storyboard 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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 Transfer-->
  22. <scene sceneID="Gv7-Uy-0Cg">
  23. <objects>
  24. <viewController storyboardIdentifier="ControlCenterTransfer" id="XDY-MZ-Gnz" customClass="CCControlCenterTransfer" sceneMemberID="viewController">
  25. <layoutGuides>
  26. <viewControllerLayoutGuide type="top" id="uPE-Nb-KVS"/>
  27. <viewControllerLayoutGuide type="bottom" id="zG1-N8-9Mo"/>
  28. </layoutGuides>
  29. <view key="view" contentMode="scaleToFill" id="xeI-JC-cKn">
  30. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  31. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  32. <subviews>
  33. <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">
  34. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  35. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
  36. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  37. <connections>
  38. <outlet property="dataSource" destination="XDY-MZ-Gnz" id="ERx-9f-Lzx"/>
  39. <outlet property="delegate" destination="XDY-MZ-Gnz" id="WCN-ad-5BK"/>
  40. </connections>
  41. </tableView>
  42. </subviews>
  43. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  44. </view>
  45. <connections>
  46. <outlet property="tableView" destination="cFo-AN-kZv" id="vLq-gh-way"/>
  47. </connections>
  48. </viewController>
  49. <placeholder placeholderIdentifier="IBFirstResponder" id="U19-6b-Mxz" userLabel="First Responder" sceneMemberID="firstResponder"/>
  50. </objects>
  51. <point key="canvasLocation" x="7161" y="982"/>
  52. </scene>
  53. <!--Control Center Activity-->
  54. <scene sceneID="T2f-5J-xFO">
  55. <objects>
  56. <collectionViewController storyboardIdentifier="ControlCenterActivity" extendedLayoutIncludesOpaqueBars="YES" id="Etl-J6-xMF" customClass="CCControlCenterActivity" sceneMemberID="viewController">
  57. <collectionView key="view" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" id="GdI-dS-LHU">
  58. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  59. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  60. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="3" minimumInteritemSpacing="1" id="WJD-sF-iEc">
  62. <size key="itemSize" width="75" height="75"/>
  63. <size key="headerReferenceSize" width="10" height="20"/>
  64. <size key="footerReferenceSize" width="10" height="20"/>
  65. <inset key="sectionInset" minX="4" minY="4" maxX="4" maxY="4"/>
  66. </collectionViewFlowLayout>
  67. <cells>
  68. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="cell" id="dG8-J8-WX9">
  69. <rect key="frame" x="4" y="24" width="75" height="75"/>
  70. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  71. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  72. <rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
  73. <autoresizingMask key="autoresizingMask"/>
  74. <subviews>
  75. <imageView userInteractionEnabled="NO" tag="100" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vdi-6O-Atm">
  76. <rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
  77. </imageView>
  78. </subviews>
  79. </view>
  80. <constraints>
  81. <constraint firstItem="vdi-6O-Atm" firstAttribute="leading" secondItem="dG8-J8-WX9" secondAttribute="leading" id="AYd-Vh-Bfh"/>
  82. <constraint firstItem="vdi-6O-Atm" firstAttribute="top" secondItem="dG8-J8-WX9" secondAttribute="top" id="M7s-Cy-Y7U"/>
  83. <constraint firstAttribute="trailing" secondItem="vdi-6O-Atm" secondAttribute="trailing" id="oJR-ls-JNm"/>
  84. <constraint firstAttribute="bottom" secondItem="vdi-6O-Atm" secondAttribute="bottom" id="zeI-B3-IIv"/>
  85. </constraints>
  86. </collectionViewCell>
  87. </cells>
  88. <collectionReusableView key="sectionHeaderView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="header" id="vbw-6g-dXa">
  89. <rect key="frame" x="0.0" y="0.0" width="320" height="20"/>
  90. <autoresizingMask key="autoresizingMask"/>
  91. <subviews>
  92. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="100" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Header" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KLw-rZ-0zS">
  93. <rect key="frame" x="6" y="3" width="297" height="15"/>
  94. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  95. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  96. <nil key="highlightedColor"/>
  97. </label>
  98. </subviews>
  99. <constraints>
  100. <constraint firstItem="KLw-rZ-0zS" firstAttribute="leading" secondItem="vbw-6g-dXa" secondAttribute="leading" constant="6" id="JOf-ZZ-Zbe"/>
  101. <constraint firstAttribute="trailingMargin" secondItem="KLw-rZ-0zS" secondAttribute="trailing" constant="9" id="RlU-mL-t48"/>
  102. <constraint firstItem="KLw-rZ-0zS" firstAttribute="centerY" secondItem="vbw-6g-dXa" secondAttribute="centerY" id="fmI-vN-Fl4"/>
  103. </constraints>
  104. </collectionReusableView>
  105. <collectionReusableView key="sectionFooterView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="footer" id="2oP-Q7-bEM">
  106. <rect key="frame" x="0.0" y="103" width="320" height="20"/>
  107. <autoresizingMask key="autoresizingMask"/>
  108. <subviews>
  109. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="100" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Header" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jHF-Of-InY">
  110. <rect key="frame" x="8" y="3" width="304" height="15"/>
  111. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  112. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  113. <nil key="highlightedColor"/>
  114. </label>
  115. </subviews>
  116. <constraints>
  117. <constraint firstItem="jHF-Of-InY" firstAttribute="height" secondItem="2oP-Q7-bEM" secondAttribute="height" constant="-5" id="62N-7h-jSA"/>
  118. <constraint firstItem="jHF-Of-InY" firstAttribute="leading" secondItem="2oP-Q7-bEM" secondAttribute="leadingMargin" id="8eU-29-bQa"/>
  119. <constraint firstItem="jHF-Of-InY" firstAttribute="width" secondItem="2oP-Q7-bEM" secondAttribute="width" constant="-16" id="LYN-Bx-J7y"/>
  120. <constraint firstItem="jHF-Of-InY" firstAttribute="centerY" secondItem="2oP-Q7-bEM" secondAttribute="centerY" id="m6H-nh-lNf"/>
  121. </constraints>
  122. </collectionReusableView>
  123. <connections>
  124. <outlet property="dataSource" destination="Etl-J6-xMF" id="BUo-n6-G96"/>
  125. <outlet property="delegate" destination="Etl-J6-xMF" id="dYk-gD-Agz"/>
  126. </connections>
  127. </collectionView>
  128. <navigationItem key="navigationItem" id="FOC-tc-edu"/>
  129. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  130. <size key="freeformSize" width="320" height="480"/>
  131. </collectionViewController>
  132. <placeholder placeholderIdentifier="IBFirstResponder" id="yFf-Xj-0u9" userLabel="First Responder" sceneMemberID="firstResponder"/>
  133. </objects>
  134. <point key="canvasLocation" x="7161" y="1683"/>
  135. </scene>
  136. </scenes>
  137. </document>