THDateDay.xib 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="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="14283.14"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="3" customClass="THDateDay">
  15. <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <subviews>
  18. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" fixedFrame="YES" image="calendar_littledot" translatesAutoresizingMaskIntoConstraints="NO" id="27">
  19. <rect key="frame" x="14" y="27" width="18" height="18"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
  21. </imageView>
  22. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4">
  23. <rect key="frame" x="0.0" y="0.0" width="44" height="34"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  26. <state key="normal" title="25">
  27. <color key="titleColor" red="0.16154234111309052" green="0.16154234111309052" blue="0.16154234111309052" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  28. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. </state>
  30. <state key="selected">
  31. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  32. </state>
  33. <connections>
  34. <action selector="dateButtonTapped:" destination="3" eventType="touchUpInside" id="22"/>
  35. </connections>
  36. </button>
  37. </subviews>
  38. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="simulatedStatusBarMetrics"/>
  40. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  41. <connections>
  42. <outlet property="dateButton" destination="4" id="21"/>
  43. <outlet property="hasItemsIndicator" destination="27" id="28"/>
  44. </connections>
  45. <point key="canvasLocation" x="137.59999999999999" y="153.82308845577214"/>
  46. </view>
  47. </objects>
  48. <resources>
  49. <image name="calendar_littledot" width="18" height="18"/>
  50. </resources>
  51. </document>