added iOS source code
[wl-app.git] / iOS / WolneLektury / Screens / Library / Cells / LibraryCollectionTableViewCell.xib
diff --git a/iOS/WolneLektury/Screens/Library/Cells/LibraryCollectionTableViewCell.xib b/iOS/WolneLektury/Screens/Library/Cells/LibraryCollectionTableViewCell.xib
new file mode 100644 (file)
index 0000000..05de33c
--- /dev/null
@@ -0,0 +1,123 @@
+<?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"/>
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="LibraryCollectionTableViewCell" customModule="WolneLektury" customModuleProvider="target">
+            <rect key="frame" x="0.0" y="0.0" width="320" height="221"/>
+            <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="220.5"/>
+                <autoresizingMask key="autoresizingMask"/>
+                <subviews>
+                    <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="DeU-Rq-JUf">
+                        <rect key="frame" x="0.0" y="30" width="319.5" height="181"/>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                        <constraints>
+                            <constraint firstAttribute="height" constant="181" id="rph-GB-uTa"/>
+                        </constraints>
+                        <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="14" minimumInteritemSpacing="14" id="kpk-kg-4K9">
+                            <size key="itemSize" width="120" height="177"/>
+                            <size key="headerReferenceSize" width="0.0" height="0.0"/>
+                            <size key="footerReferenceSize" width="0.0" height="0.0"/>
+                            <inset key="sectionInset" minX="13" minY="0.0" maxX="13" maxY="0.0"/>
+                        </collectionViewFlowLayout>
+                    </collectionView>
+                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Zacznij czytać" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="i3E-Sg-8vO">
+                        <rect key="frame" x="16" y="114.5" width="288" height="12"/>
+                        <fontDescription key="fontDescription" type="system" weight="medium" pointSize="10"/>
+                        <color key="textColor" red="0.32156862749999998" green="0.32156862749999998" blue="0.32156862749999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <nil key="highlightedColor"/>
+                    </label>
+                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TERAZ CZYTAM" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lfX-gv-Wlm">
+                        <rect key="frame" x="13" y="8" width="79.5" height="12"/>
+                        <fontDescription key="fontDescription" type="system" weight="medium" pointSize="10"/>
+                        <color key="textColor" red="0.32156862745098036" green="0.32156862745098036" blue="0.32156862745098036" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <nil key="highlightedColor"/>
+                    </label>
+                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iJt-1p-QVF" customClass="ActivityIndicatorButton" customModule="WolneLektury" customModuleProvider="target">
+                        <rect key="frame" x="135" y="95.5" width="50" height="50"/>
+                        <constraints>
+                            <constraint firstAttribute="width" constant="50" id="DNU-Dw-myo"/>
+                            <constraint firstAttribute="height" constant="50" id="tKJ-wR-83m"/>
+                        </constraints>
+                        <color key="tintColor" red="0.0" green="0.4039215686" blue="0.42745098040000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <connections>
+                            <action selector="refreshButtonAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="cTL-fq-c9v"/>
+                        </connections>
+                    </button>
+                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZiP-Xp-Dpt">
+                        <rect key="frame" x="187" y="0.0" width="119" height="28"/>
+                        <constraints>
+                            <constraint firstAttribute="height" constant="28" id="XGQ-6b-Tcv"/>
+                        </constraints>
+                        <fontDescription key="fontDescription" type="system" weight="medium" pointSize="9"/>
+                        <inset key="contentEdgeInsets" minX="0.0" minY="0.0" maxX="15" maxY="0.0"/>
+                        <state key="normal" title="ZOBACZ WSZYSTKIE &gt;">
+                            <color key="titleColor" red="0.32156862745098036" green="0.32156862745098036" blue="0.32156862745098036" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        </state>
+                        <connections>
+                            <action selector="showAllButtonAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="XB0-78-4rB"/>
+                        </connections>
+                    </button>
+                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lwc-dI-BDx">
+                        <rect key="frame" x="98.5" y="13.5" width="82.5" height="1"/>
+                        <color key="backgroundColor" red="0.32156862749999998" green="0.32156862749999998" blue="0.32156862749999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <constraints>
+                            <constraint firstAttribute="height" constant="1" id="pIz-e1-mme"/>
+                        </constraints>
+                    </view>
+                    <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="UQL-Up-OFn">
+                        <rect key="frame" x="294" y="8" width="12" height="12"/>
+                        <constraints>
+                            <constraint firstAttribute="width" constant="12" id="two-uf-teq"/>
+                            <constraint firstAttribute="height" constant="12" id="vpC-ls-coh"/>
+                        </constraints>
+                    </imageView>
+                </subviews>
+                <constraints>
+                    <constraint firstItem="DeU-Rq-JUf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="3wK-wl-h6I"/>
+                    <constraint firstAttribute="trailing" secondItem="ZiP-Xp-Dpt" secondAttribute="trailing" constant="14" id="FjL-Ht-cJv"/>
+                    <constraint firstItem="i3E-Sg-8vO" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="HQu-N7-EJJ"/>
+                    <constraint firstItem="Lwc-dI-BDx" firstAttribute="leading" secondItem="lfX-gv-Wlm" secondAttribute="trailing" constant="6" id="JMr-7w-iVg"/>
+                    <constraint firstItem="lfX-gv-Wlm" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="13" id="M6g-wJ-OCs"/>
+                    <constraint firstItem="iJt-1p-QVF" firstAttribute="centerY" secondItem="DeU-Rq-JUf" secondAttribute="centerY" id="M8p-Ix-j4H"/>
+                    <constraint firstItem="UQL-Up-OFn" firstAttribute="trailing" secondItem="ZiP-Xp-Dpt" secondAttribute="trailing" id="O3I-ZF-cHe"/>
+                    <constraint firstItem="ZiP-Xp-Dpt" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="V5c-50-63W"/>
+                    <constraint firstItem="DeU-Rq-JUf" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="30" id="YiI-rO-4Ta"/>
+                    <constraint firstItem="lfX-gv-Wlm" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="8" id="bsl-Wg-ifx"/>
+                    <constraint firstItem="i3E-Sg-8vO" firstAttribute="centerX" secondItem="DeU-Rq-JUf" secondAttribute="centerX" id="dPF-VC-cO3"/>
+                    <constraint firstItem="UQL-Up-OFn" firstAttribute="centerY" secondItem="ZiP-Xp-Dpt" secondAttribute="centerY" id="dhr-FN-Pza"/>
+                    <constraint firstAttribute="trailing" secondItem="i3E-Sg-8vO" secondAttribute="trailing" constant="16" id="e6u-7a-owQ"/>
+                    <constraint firstItem="Lwc-dI-BDx" firstAttribute="centerY" secondItem="lfX-gv-Wlm" secondAttribute="centerY" id="gem-pM-BLG"/>
+                    <constraint firstItem="ZiP-Xp-Dpt" firstAttribute="leading" secondItem="Lwc-dI-BDx" secondAttribute="trailing" constant="6" id="lCS-4D-Swv"/>
+                    <constraint firstItem="iJt-1p-QVF" firstAttribute="centerX" secondItem="DeU-Rq-JUf" secondAttribute="centerX" id="vgt-Hg-raP"/>
+                    <constraint firstAttribute="trailing" secondItem="DeU-Rq-JUf" secondAttribute="trailing" id="vsS-gS-26c"/>
+                    <constraint firstItem="i3E-Sg-8vO" firstAttribute="centerY" secondItem="DeU-Rq-JUf" secondAttribute="centerY" id="wHe-ha-ecF"/>
+                </constraints>
+            </tableViewCellContentView>
+            <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
+            <connections>
+                <outlet property="collectionView" destination="DeU-Rq-JUf" id="Acc-cL-bfy"/>
+                <outlet property="noDataLabel" destination="i3E-Sg-8vO" id="xlG-lz-xwX"/>
+                <outlet property="refreshButton" destination="iJt-1p-QVF" id="iyM-cF-agr"/>
+                <outlet property="showAllArrowImageView" destination="UQL-Up-OFn" id="Dun-rW-9qV"/>
+                <outlet property="showAllButton" destination="ZiP-Xp-Dpt" id="0NW-fT-qFn"/>
+                <outlet property="titleLabel" destination="lfX-gv-Wlm" id="yx8-MJ-hXC"/>
+            </connections>
+            <point key="canvasLocation" x="26" y="51.5"/>
+        </tableViewCell>
+    </objects>
+    <resources>
+        <image name="arrrow_right" width="7" height="12"/>
+    </resources>
+</document>