Commit ad12ba20 authored by Vibhoothi's avatar Vibhoothi

WIP: LibraryView

parent 67075efc
......@@ -36,6 +36,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<color key="primaryBackgroundColor" red="0.48883186943438339" green="0.52322152074126116" blue="0.52881107233502544" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<connections>
<binding destination="EHv-j4-vu9" name="content" keyPath="arrangedObjects" id="zgP-ia-Kw0"/>
<outlet property="itemPrototype" destination="jCi-fI-3Z2" id="hDE-WR-6dZ"/>
</connections>
</collectionView>
......@@ -406,7 +407,12 @@
<outlet property="volumeUpButton" destination="3652" id="vXR-KC-L2N"/>
</connections>
</customObject>
<collectionViewItem id="jCi-fI-3Z2"/>
<collectionViewItem nibName="VLCMainWindowCollectionViewItem" id="jCi-fI-3Z2"/>
<arrayController id="EHv-j4-vu9">
<connections>
<binding destination="jCi-fI-3Z2" name="contentArray" keyPath="libraryViewData" id="Cpw-IO-hck"/>
</connections>
</arrayController>
</objects>
<resources>
<image name="backward-6btns" width="28" height="23"/>
......
......@@ -7,70 +7,59 @@
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSCollectionViewItem">
<connections>
<outlet property="VLCItemImageView" destination="LRe-wn-Y2z" id="Xri-xU-hbX"/>
<outlet property="VLCItemLabel" destination="Wio-Gr-arn" id="dhl-Vf-h9c"/>
<outlet property="VLCItemYear" destination="Ygk-Uf-kFF" id="bQf-k9-5dB"/>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
<outlet property="VLCItemImageView" destination="LRe-wn-Y2z" id="HPo-O1-7R6"/>
<outlet property="view" destination="Hz6-mo-xeY" id="MJF-Nq-Mur"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY" userLabel="Library View">
<rect key="frame" x="0.0" y="0.0" width="171" height="205"/>
<rect key="frame" x="0.0" y="0.0" width="171" height="193"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="LRe-wn-Y2z">
<rect key="frame" x="20" y="66" width="131" height="131"/>
<rect key="frame" x="33" y="77" width="104" height="96"/>
<constraints>
<constraint firstAttribute="height" constant="131" id="12L-kr-MKf"/>
<constraint firstAttribute="width" constant="131" id="TWL-OS-KJW"/>
<constraint firstAttribute="width" constant="104" id="6QU-dx-4YT"/>
<constraint firstAttribute="height" constant="96" id="VTi-R7-Kzg"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="VLC" id="szu-Su-VAK">
<connections>
<action selector="open:" target="-1" id="gH4-tG-QLq"/>
<binding destination="-3" name="value" keyPath="self.VLCItemThumbinail" id="4rO-4j-UKW"/>
</connections>
</imageCell>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="VLC" id="szu-Su-VAK"/>
<connections>
<binding destination="Ldf-bj-BaV" name="value" keyPath="values" id="meU-hG-9Vx"/>
<binding destination="-2" name="data" keyPath="representObject.VLCItemThumbinail" id="057-RK-Pgb"/>
</connections>
</imageView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ygk-Uf-kFF">
<rect key="frame" x="49" y="15" width="72" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="000.00 Mb" id="wcF-lX-g6o">
<font key="font" size="13" name="Helvetica"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yeb-VB-4wq">
<rect key="frame" x="32" y="52" width="107" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="ConeyLabel.mp4" id="Jeg-te-gNB">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="Ldf-bj-BaV" name="value" keyPath="values.libraryData.VLCItemSize" id="ZJ3-e8-cXK"/>
<binding destination="-2" name="value" keyPath="representObject.VLCItemThumbinail" id="yDc-cn-Bhr"/>
</connections>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Wio-Gr-arn">
<rect key="frame" x="29" y="40" width="118" height="18"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="ConeVideo.mp4" id="yel-6G-ojx">
<font key="font" size="14" name=".AppleSystemUIFont"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="vkE-uB-PeU">
<rect key="frame" x="53" y="20" width="64" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="44.44 MB" id="zAB-CT-Cgx">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="-2" name="value" keyPath="representObject.VLCItemSize" id="9hj-bf-MHf"/>
</connections>
</textField>
</subviews>
<constraints>
<constraint firstItem="Wio-Gr-arn" firstAttribute="top" secondItem="LRe-wn-Y2z" secondAttribute="bottom" constant="8" id="Afw-bJ-OrC"/>
<constraint firstItem="Wio-Gr-arn" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="31" id="DJg-zw-Ms5"/>
<constraint firstAttribute="trailing" secondItem="Wio-Gr-arn" secondAttribute="trailing" constant="26" id="KHk-iS-R8z"/>
<constraint firstItem="Wio-Gr-arn" firstAttribute="leading" secondItem="Ygk-Uf-kFF" secondAttribute="leading" constant="-20" id="Xga-aY-3cf"/>
<constraint firstItem="Ygk-Uf-kFF" firstAttribute="top" secondItem="Wio-Gr-arn" secondAttribute="bottom" constant="8" id="ZsF-Wf-kbL"/>
<constraint firstItem="LRe-wn-Y2z" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="8" id="dd2-KF-Of0"/>
<constraint firstItem="Wio-Gr-arn" firstAttribute="leading" secondItem="LRe-wn-Y2z" secondAttribute="leading" constant="11" id="dhe-vw-iwN"/>
<constraint firstAttribute="bottom" secondItem="Ygk-Uf-kFF" secondAttribute="bottom" constant="15" id="gqw-gY-Xp3"/>
<constraint firstItem="Wio-Gr-arn" firstAttribute="leading" secondItem="Ygk-Uf-kFF" secondAttribute="trailing" constant="-88" id="jUk-4a-li3"/>
<constraint firstAttribute="trailing" secondItem="LRe-wn-Y2z" secondAttribute="trailing" constant="20" id="lvh-4O-n48"/>
<constraint firstItem="LRe-wn-Y2z" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="mfr-ia-8Fd"/>
<constraint firstItem="LRe-wn-Y2z" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="33" id="YGY-ey-fbH"/>
<constraint firstItem="LRe-wn-Y2z" firstAttribute="centerY" secondItem="Hz6-mo-xeY" secondAttribute="centerY" constant="-28.5" id="hyO-mR-8Jc"/>
</constraints>
<point key="canvasLocation" x="-94.5" y="145.5"/>
<point key="canvasLocation" x="-94.5" y="129.5"/>
</customView>
<userDefaultsController representsSharedInstance="YES" id="Ldf-bj-BaV"/>
<userDefaultsController representsSharedInstance="YES" id="exR-Mq-sPf"/>
</objects>
<resources>
<image name="VLC" width="512" height="512"/>
......
......@@ -28,6 +28,5 @@
@interface VLCMainWindowCollectionViewItem : NSCollectionViewItem < NSCollectionViewDelegate>
@property (nonatomic,strong) VLCMainWindowDataSource *libraryViewData;
//@property (nonatomic,strong) IBOutlet NSImageView *VLCItemImageView;
@end
......@@ -14,8 +14,6 @@
@property (retain, readwrite) NSTextField *VLCItemLabel;
@property (retain, readwrite) NSString *VLCItemSize;
@property (nonatomic,strong) NSImageView *VLCItemThumbinail;
@property (nonatomic,strong) NSImageView *iv;
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment