Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// MyFishTankCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 15/9/28.
|
||||
// Copyright © 2015年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MyFishTankCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UILabel *fishTinkLabel;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *brandImage;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// MyFishTankCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 15/9/28.
|
||||
// Copyright © 2015年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MyFishTankCell.h"
|
||||
|
||||
@implementation MyFishTankCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.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" reuseIdentifier="MyFishTankCell" rowHeight="53" id="KGk-i7-Jjw" customClass="MyFishTankCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="326" height="47"/>
|
||||
<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="326" height="46"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" image="brandLogo_hold.png" translatesAutoresizingMaskIntoConstraints="NO" id="mQl-4n-BEi">
|
||||
<rect key="frame" x="13" y="1" width="90" height="45"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="45" id="HF1-9o-CpF"/>
|
||||
<constraint firstAttribute="width" constant="90" id="X1F-ug-ni5"/>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="43" id="wYe-9c-7pX"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="松宝智能水族箱" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JEb-mB-vGr">
|
||||
<rect key="frame" x="111" y="8" width="186" height="32"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="JEb-mB-vGr" firstAttribute="leading" secondItem="mQl-4n-BEi" secondAttribute="trailing" constant="8" id="0Bj-PG-9rX"/>
|
||||
<constraint firstItem="mQl-4n-BEi" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="5Py-AV-6aR"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="JEb-mB-vGr" secondAttribute="bottom" constant="-2" id="Eqe-gx-ahi"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="JEb-mB-vGr" secondAttribute="trailing" constant="21" id="HGb-HA-lr0"/>
|
||||
<constraint firstItem="JEb-mB-vGr" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" id="kmU-iT-ce1"/>
|
||||
<constraint firstItem="mQl-4n-BEi" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="5" id="xES-1y-7TP"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="brandImage" destination="mQl-4n-BEi" id="kkg-iX-oj9"/>
|
||||
<outlet property="fishTinkLabel" destination="JEb-mB-vGr" id="zhc-TO-GJo"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="513" y="319.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="brandLogo_hold.png" width="127" height="63"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// shopNameCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 15/11/12.
|
||||
// Copyright © 2015年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface shopNameCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UILabel *shopNameLabel;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// shopNameCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 15/11/12.
|
||||
// Copyright © 2015年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import "shopNameCell.h"
|
||||
|
||||
@implementation shopNameCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.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" reuseIdentifier="shopNameCell" id="KGk-i7-Jjw" customClass="shopNameCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
|
||||
<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>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="由" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T8G-bZ-2bl">
|
||||
<rect key="frame" x="15" y="11" width="26" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="f1y-pu-h6s"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="XXX" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fm4-Lv-77M">
|
||||
<rect key="frame" x="49" y="11" width="77" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="77" id="153-Qf-0S8"/>
|
||||
<constraint firstAttribute="height" constant="21" id="U3Y-VX-9Wi"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
||||
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="为您提供服务" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mGc-mB-5HG">
|
||||
<rect key="frame" x="134" y="11" width="178" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="1C8-qK-9T5"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="fm4-Lv-77M" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="3" id="4Fd-Tg-aEC"/>
|
||||
<constraint firstItem="T8G-bZ-2bl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="7" id="5Vs-66-8WI"/>
|
||||
<constraint firstItem="fm4-Lv-77M" firstAttribute="leading" secondItem="T8G-bZ-2bl" secondAttribute="trailing" constant="8" id="E70-KL-JsP"/>
|
||||
<constraint firstItem="mGc-mB-5HG" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="3" id="JqY-jb-mff"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="fm4-Lv-77M" secondAttribute="bottom" constant="3" id="KGT-e2-40b"/>
|
||||
<constraint firstItem="mGc-mB-5HG" firstAttribute="leading" secondItem="fm4-Lv-77M" secondAttribute="trailing" constant="8" id="LBA-03-4XA"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="mGc-mB-5HG" secondAttribute="bottom" constant="3" id="Qk7-Nk-AVD"/>
|
||||
<constraint firstItem="T8G-bZ-2bl" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="3" id="Shy-X4-oQg"/>
|
||||
<constraint firstItem="fm4-Lv-77M" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="49" id="asA-qY-AQx"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="mGc-mB-5HG" secondAttribute="trailing" id="xft-1G-66y"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="T8G-bZ-2bl" secondAttribute="bottom" constant="12" id="bza-sd-0H2"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<outlet property="shopNameLabel" destination="fm4-Lv-77M" id="AYV-CH-sog"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="297" y="298"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
Reference in New Issue
Block a user