add FeedSkillUsersCell

This commit is contained in:
nixzhu
2015-10-23 15:47:50 +08:00
parent 3fd06bfc4a
commit e163fdef3c
3 changed files with 119 additions and 0 deletions
+16
View File
@@ -102,6 +102,8 @@
5033159D1AC101C80008A209 /* ChatRightTextCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5033159B1AC101C80008A209 /* ChatRightTextCell.xib */; };
503315A01AC126100008A209 /* MessageToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5033159F1AC126100008A209 /* MessageToolbar.swift */; };
503807201BD9EEFC0068345E /* YepMedia.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5038071F1BD9EEFC0068345E /* YepMedia.swift */; };
503807231BDA18040068345E /* FeedSkillUsersCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 503807211BDA18040068345E /* FeedSkillUsersCell.swift */; };
503807241BDA18040068345E /* FeedSkillUsersCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 503807221BDA18040068345E /* FeedSkillUsersCell.xib */; };
50392CD11B393FF60009D647 /* SkillAddCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50392CCF1B393FF60009D647 /* SkillAddCell.swift */; };
50392CD21B393FF60009D647 /* SkillAddCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 50392CD01B393FF60009D647 /* SkillAddCell.xib */; };
5039594E1B05E6E000797A3E /* ProfileSocialAccountGithubCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5039594C1B05E6E000797A3E /* ProfileSocialAccountGithubCell.swift */; };
@@ -405,6 +407,8 @@
5033159B1AC101C80008A209 /* ChatRightTextCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = ChatRightTextCell.xib; path = Views/Cells/ChatRightText/ChatRightTextCell.xib; sourceTree = "<group>"; };
5033159F1AC126100008A209 /* MessageToolbar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MessageToolbar.swift; path = Views/MessageToolbar/MessageToolbar.swift; sourceTree = "<group>"; };
5038071F1BD9EEFC0068345E /* YepMedia.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = YepMedia.swift; path = Helpers/YepMedia.swift; sourceTree = "<group>"; };
503807211BDA18040068345E /* FeedSkillUsersCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = FeedSkillUsersCell.swift; path = Views/Cells/FeedSkillUsers/FeedSkillUsersCell.swift; sourceTree = "<group>"; };
503807221BDA18040068345E /* FeedSkillUsersCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = FeedSkillUsersCell.xib; path = Views/Cells/FeedSkillUsers/FeedSkillUsersCell.xib; sourceTree = "<group>"; };
50392CCF1B393FF60009D647 /* SkillAddCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SkillAddCell.swift; path = Views/Cells/SkillAdd/SkillAddCell.swift; sourceTree = "<group>"; };
50392CD01B393FF60009D647 /* SkillAddCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = SkillAddCell.xib; path = Views/Cells/SkillAdd/SkillAddCell.xib; sourceTree = "<group>"; };
5039594C1B05E6E000797A3E /* ProfileSocialAccountGithubCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ProfileSocialAccountGithubCell.swift; path = Views/Cells/ProfileSocialAccount/ProfileSocialAccountGithubCell.swift; sourceTree = "<group>"; };
@@ -1044,6 +1048,7 @@
5064F65B1B0B14470089FAD4 /* AddFriendMore */,
50E348941B9063AD00A8E699 /* About */,
50AFBF651BB4FC37007D19DA /* Feed */,
503807251BDA180A0068345E /* FeedSkillUsers */,
50F5AF921BBBCC960033C9BC /* FeedMediaAdd */,
50F5AF9B1BBBD0310033C9BC /* FeedMedia */,
6A5632901BC90A4900397B53 /* DiscoverCardUser */,
@@ -1273,6 +1278,15 @@
name = MessageToolbar;
sourceTree = "<group>";
};
503807251BDA180A0068345E /* FeedSkillUsers */ = {
isa = PBXGroup;
children = (
503807211BDA18040068345E /* FeedSkillUsersCell.swift */,
503807221BDA18040068345E /* FeedSkillUsersCell.xib */,
);
name = FeedSkillUsers;
sourceTree = "<group>";
};
50392CCE1B393FAE0009D647 /* SkillAdd */ = {
isa = PBXGroup;
children = (
@@ -2182,6 +2196,7 @@
848806B11B789A2D000C5424 /* EditSkillCell.xib in Resources */,
50E114FD1ABC549300F13000 /* ContactsCell.xib in Resources */,
502AE54F1AB93175005BD199 /* ProfileHeaderCell.xib in Resources */,
503807241BDA18040068345E /* FeedSkillUsersCell.xib in Resources */,
50F5AF9A1BBBD02A0033C9BC /* FeedMediaCell.xib in Resources */,
50A640EA1B6F45FA0050E4A3 /* DoNotDisturbPeriodCell.xib in Resources */,
502B60651BD1208E00D9C17E /* CameraCell.xib in Resources */,
@@ -2365,6 +2380,7 @@
505EC81C1ADFBE1B001D27E0 /* SkillSelectionCell.swift in Sources */,
5023DE591AB6DBC100B3EE96 /* UIImage+Yep.swift in Sources */,
508F8FD41B01E3D100461B0B /* SocialWorkDribbbleViewController.swift in Sources */,
503807231BDA18040068345E /* FeedSkillUsersCell.swift in Sources */,
502B605F1BD112E500D9C17E /* QuickPickPhotosCell.swift in Sources */,
50AFBF5F1BB4F332007D19DA /* FeedsViewController.swift in Sources */,
50EB8CBF1AE89ED8001AC1EE /* ChatLeftVideoCell.swift in Sources */,
@@ -0,0 +1,30 @@
//
// FeedSkillUsersCell.swift
// Yep
//
// Created by nixzhu on 15/10/23.
// Copyright © 2015 Catch Inc. All rights reserved.
//
import UIKit
class FeedSkillUsersCell: UITableViewCell {
@IBOutlet weak var promptLabel: UILabel!
@IBOutlet weak var avatarImageView1: UIImageView!
@IBOutlet weak var avatarImageView2: UIImageView!
@IBOutlet weak var avatarImageView3: UIImageView!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9059" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9049"/>
</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="87" id="KGk-i7-Jjw" customClass="FeedSkillUsersCell" customModule="Yep" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" height="87"/>
<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="86.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="People with this skill" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2hp-Q8-5ww">
<rect key="frame" x="15" y="35" width="136" height="18"/>
<fontDescription key="fontDescription" type="system" weight="light" pointSize="15"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="c2h-Il-EtF">
<rect key="frame" x="177" y="29" width="30" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="ck6-eh-hSS"/>
<constraint firstAttribute="width" constant="30" id="kcl-3p-Y14"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0nL-ib-Q1c">
<rect key="frame" x="257" y="29" width="30" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="9FK-z5-iOq"/>
<constraint firstAttribute="width" constant="30" id="eiw-PS-NDx"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_accessory_mini" translatesAutoresizingMaskIntoConstraints="NO" id="maH-pc-WxC" userLabel="Accessory Image View">
<rect key="frame" x="297" y="37" width="8" height="13"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="VhJ-f2-v5c">
<rect key="frame" x="217" y="29" width="30" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="Xr0-Oo-juu"/>
<constraint firstAttribute="width" constant="30" id="mjg-Wj-8XW"/>
</constraints>
</imageView>
</subviews>
<constraints>
<constraint firstItem="maH-pc-WxC" firstAttribute="leading" secondItem="0nL-ib-Q1c" secondAttribute="trailing" constant="10" id="1TX-Op-of6"/>
<constraint firstAttribute="trailing" secondItem="maH-pc-WxC" secondAttribute="trailing" constant="15" id="H0j-4D-aEn"/>
<constraint firstItem="2hp-Q8-5ww" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="LLe-FO-rO8"/>
<constraint firstItem="2hp-Q8-5ww" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="MZj-hr-AEy"/>
<constraint firstItem="0nL-ib-Q1c" firstAttribute="leading" secondItem="VhJ-f2-v5c" secondAttribute="trailing" constant="10" id="OdQ-ZP-U3T"/>
<constraint firstItem="VhJ-f2-v5c" firstAttribute="leading" secondItem="c2h-Il-EtF" secondAttribute="trailing" constant="10" id="hbA-VU-HeI"/>
<constraint firstItem="maH-pc-WxC" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="hfr-z6-UZi"/>
<constraint firstItem="c2h-Il-EtF" firstAttribute="centerY" secondItem="VhJ-f2-v5c" secondAttribute="centerY" id="nGm-20-kiC"/>
<constraint firstItem="0nL-ib-Q1c" firstAttribute="centerY" secondItem="maH-pc-WxC" secondAttribute="centerY" id="ojq-B1-pfP"/>
<constraint firstItem="VhJ-f2-v5c" firstAttribute="centerY" secondItem="0nL-ib-Q1c" secondAttribute="centerY" id="xtb-Qt-9Of"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="avatarImageView1" destination="0nL-ib-Q1c" id="zGK-6C-wrJ"/>
<outlet property="avatarImageView2" destination="VhJ-f2-v5c" id="ZRT-VJ-s7X"/>
<outlet property="avatarImageView3" destination="c2h-Il-EtF" id="vmU-Bc-dJE"/>
<outlet property="promptLabel" destination="2hp-Q8-5ww" id="Fxe-Wm-r5M"/>
</connections>
<point key="canvasLocation" x="343" y="329.5"/>
</tableViewCell>
</objects>
<resources>
<image name="icon_accessory_mini" width="8" height="13"/>
</resources>
</document>