added iOS source code
[wl-app.git] / iOS / WolneLektury / Screens / Library / Cells / BookCollectionViewCell.xib
diff --git a/iOS/WolneLektury/Screens/Library/Cells/BookCollectionViewCell.xib b/iOS/WolneLektury/Screens/Library/Cells/BookCollectionViewCell.xib
new file mode 100644 (file)
index 0000000..87cb964
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+    <device id="retina4_7" orientation="portrait">
+        <adaptation id="fullscreen"/>
+    </device>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="BookCollectionViewCell" customModule="WolneLektury" customModuleProvider="target">
+            <rect key="frame" x="0.0" y="0.0" width="120" height="177"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
+                <rect key="frame" x="0.0" y="0.0" width="120" height="177"/>
+                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                <subviews>
+                    <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WdZ-Zj-o2C">
+                        <rect key="frame" x="0.0" y="0.0" width="120" height="177"/>
+                        <subviews>
+                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Szm-VA-cOa">
+                                <rect key="frame" x="0.0" y="0.0" width="120" height="177"/>
+                            </imageView>
+                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ANs-UY-S9s" customClass="BookImageOverlayView" customModule="WolneLektury" customModuleProvider="target">
+                                <rect key="frame" x="0.0" y="0.0" width="120" height="177"/>
+                                <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                            </view>
+                        </subviews>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                        <constraints>
+                            <constraint firstItem="ANs-UY-S9s" firstAttribute="top" secondItem="WdZ-Zj-o2C" secondAttribute="top" id="4V4-ks-5DN"/>
+                            <constraint firstItem="Szm-VA-cOa" firstAttribute="top" secondItem="WdZ-Zj-o2C" secondAttribute="top" id="BBq-Jz-nhP"/>
+                            <constraint firstItem="Szm-VA-cOa" firstAttribute="leading" secondItem="WdZ-Zj-o2C" secondAttribute="leading" id="IgI-63-NmP"/>
+                            <constraint firstItem="ANs-UY-S9s" firstAttribute="leading" secondItem="WdZ-Zj-o2C" secondAttribute="leading" id="JhP-0Q-bxs"/>
+                            <constraint firstAttribute="bottom" secondItem="ANs-UY-S9s" secondAttribute="bottom" id="Lqk-wk-M0L"/>
+                            <constraint firstAttribute="trailing" secondItem="ANs-UY-S9s" secondAttribute="trailing" id="acf-5r-Rq0"/>
+                            <constraint firstAttribute="trailing" secondItem="Szm-VA-cOa" secondAttribute="trailing" id="caQ-KN-YeF"/>
+                            <constraint firstAttribute="bottom" secondItem="Szm-VA-cOa" secondAttribute="bottom" id="qt4-vM-fJB"/>
+                        </constraints>
+                    </view>
+                </subviews>
+            </view>
+            <constraints>
+                <constraint firstAttribute="trailing" secondItem="WdZ-Zj-o2C" secondAttribute="trailing" id="QBE-gO-ugl"/>
+                <constraint firstItem="WdZ-Zj-o2C" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="SEv-HY-8oh"/>
+                <constraint firstAttribute="bottom" secondItem="WdZ-Zj-o2C" secondAttribute="bottom" id="awn-OT-5yB"/>
+                <constraint firstItem="WdZ-Zj-o2C" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="ff7-iD-yeX"/>
+            </constraints>
+            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
+            <connections>
+                <outlet property="bgView" destination="WdZ-Zj-o2C" id="bj0-kK-F7M"/>
+                <outlet property="coverImageView" destination="Szm-VA-cOa" id="d4A-Kf-4z1"/>
+                <outlet property="overlayView" destination="ANs-UY-S9s" id="Ov9-Sx-B4k"/>
+            </connections>
+            <point key="canvasLocation" x="34" y="134.5"/>
+        </collectionViewCell>
+    </objects>
+</document>