SampleViewController.xib 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4510" systemVersion="12E55" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
  3. <dependencies>
  4. <deployment version="1296" identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
  6. </dependencies>
  7. <objects>
  8. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SampleViewController">
  9. <connections>
  10. <outlet property="btnDownload" destination="7" id="11"/>
  11. <outlet property="imageView" destination="4" id="8"/>
  12. <outlet property="lblPercent" destination="6" id="10"/>
  13. <outlet property="progressBar" destination="5" id="9"/>
  14. <outlet property="view" destination="1" id="3"/>
  15. </connections>
  16. </placeholder>
  17. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  18. <view contentMode="scaleToFill" id="1">
  19. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  20. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  21. <subviews>
  22. <imageView autoresizesSubviews="NO" userInteractionEnabled="NO" contentMode="scaleToFill" id="4">
  23. <rect key="frame" x="10" y="20" width="300" height="285"/>
  24. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  25. </imageView>
  26. <progressView opaque="NO" contentMode="scaleToFill" id="5">
  27. <rect key="frame" x="10" y="342" width="300" height="2"/>
  28. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  29. </progressView>
  30. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Hello!" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="6">
  31. <rect key="frame" x="20" y="368" width="280" height="21"/>
  32. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  34. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="7">
  38. <rect key="frame" x="64" y="397" width="193" height="44"/>
  39. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  40. <state key="normal" title="Download Image Async">
  41. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  42. </state>
  43. </button>
  44. </subviews>
  45. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  46. <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  47. </view>
  48. </objects>
  49. </document>