Skip to content

Instantly share code, notes, and snippets.

@3lvis
Created June 17, 2015 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3lvis/9e15d42fa70092213802 to your computer and use it in GitHub Desktop.
Save 3lvis/9e15d42fa70092213802 to your computer and use it in GitHub Desktop.
You can't be serious if your using .xibs. I mean, what's this?!
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14D131" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="100" id="KGk-i7-Jjw" customClass="CHRLocationEventCell">
<rect key="frame" x="0.0" y="0.0" width="320" height="100"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ptP-Va-f6d">
<rect key="frame" x="55" y="0.0" width="265" height="99.5"/>
<subviews>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8aI-VR-rSo" userLabel="Location header view">
<rect key="frame" x="0.0" y="0.0" width="265" height="42"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jnV-B4-6bk">
<rect key="frame" x="9" y="5" width="32" height="32"/>
<color key="tintColor" red="0.36470588240000001" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="32" id="Ajt-AF-s8q"/>
<constraint firstAttribute="width" constant="32" id="PVK-MK-aZE"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="verifiedIcon" translatesAutoresizingMaskIntoConstraints="NO" id="EpM-dx-ze0">
<rect key="frame" x="16" y="9" width="24" height="24"/>
<color key="tintColor" red="0.36470588240000001" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="fzp-0w-czM"/>
<constraint firstAttribute="height" constant="24" id="jBV-Yj-IPF"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C4N-fU-5LA">
<rect key="frame" x="49" y="10" width="208" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="C4N-fU-5LA" firstAttribute="leading" secondItem="jnV-B4-6bk" secondAttribute="trailing" constant="8" id="NDp-ob-Sok"/>
<constraint firstItem="EpM-dx-ze0" firstAttribute="leading" secondItem="8aI-VR-rSo" secondAttribute="leading" constant="16" id="QwM-zg-4Ub"/>
<constraint firstItem="EpM-dx-ze0" firstAttribute="top" secondItem="8aI-VR-rSo" secondAttribute="top" constant="9" id="TIR-Vw-OpS"/>
<constraint firstItem="jnV-B4-6bk" firstAttribute="top" secondItem="8aI-VR-rSo" secondAttribute="top" constant="5" id="b62-gi-3Zu"/>
<constraint firstItem="jnV-B4-6bk" firstAttribute="leading" secondItem="8aI-VR-rSo" secondAttribute="leading" constant="9" id="fes-oS-naM"/>
<constraint firstAttribute="height" constant="42" id="pUJ-xa-gdA"/>
<constraint firstAttribute="trailing" secondItem="C4N-fU-5LA" secondAttribute="trailing" constant="8" id="tfY-vn-6La"/>
<constraint firstAttribute="centerY" secondItem="C4N-fU-5LA" secondAttribute="centerY" id="z86-E0-bGk"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="0.023529411760000001" green="0.80784313730000001" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="8aI-VR-rSo" secondAttribute="trailing" id="VSl-5D-SSu"/>
<constraint firstItem="8aI-VR-rSo" firstAttribute="top" secondItem="ptP-Va-f6d" secondAttribute="top" id="WV0-LQ-ltq"/>
<constraint firstItem="8aI-VR-rSo" firstAttribute="leading" secondItem="ptP-Va-f6d" secondAttribute="leading" id="hWS-PG-XA2"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="ptP-Va-f6d" secondAttribute="trailing" id="VUT-BM-jlR"/>
<constraint firstAttribute="bottom" secondItem="ptP-Va-f6d" secondAttribute="bottom" id="YQg-MU-k0U"/>
<constraint firstItem="ptP-Va-f6d" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="55" id="bMh-BH-Oi9"/>
<constraint firstItem="ptP-Va-f6d" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="tfG-8y-dGg"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" red="0.95294117649999999" green="0.97254901959999995" blue="0.98431372549999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="5"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="1" green="0.62759222094801226" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<outlet property="containerView" destination="ptP-Va-f6d" id="nBV-bw-saf"/>
</connections>
<point key="canvasLocation" x="299" y="353"/>
</tableViewCell>
</objects>
<resources>
<image name="verifiedIcon" width="24" height="24"/>
</resources>
</document>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment