Add twitter simple cell
Seto Elkahfi committed
Apr 15, 2017 at 18:03 UTC
8e489d490d67fbb7858b037f2b209b0dcf78e185
4 files changed
+47
-1
Example/JomloTableView.xcodeproj/project.pbxproj
+8
@@ -19,6 +19,8 @@
19
BD14BB5E1E94E0C9006FB1B5 /* LoadMoreRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD14BB5D1E94E0C9006FB1B5 /* LoadMoreRow.swift */; };
20
BD14BB611E94E115006FB1B5 /* LoadMoreCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD14BB5F1E94E115006FB1B5 /* LoadMoreCell.swift */; };
21
BD14BB621E94E115006FB1B5 /* LoadMoreCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BD14BB601E94E115006FB1B5 /* LoadMoreCell.xib */; };
22
+ BDBB05C81EA2351600B02BDB /* TwitterSimpleCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDBB05C61EA2351600B02BDB /* TwitterSimpleCell.swift */; };
23
+ BDBB05C91EA2351600B02BDB /* TwitterSimpleCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BDBB05C71EA2351600B02BDB /* TwitterSimpleCell.xib */; };
24
BDDDF6211E9B3291007846D3 /* SimpleTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDDDF6201E9B3290007846D3 /* SimpleTableViewController.swift */; };
25
BDFF41491E8A871900D14CE7 /* SimpleCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDFF41481E8A871900D14CE7 /* SimpleCell.swift */; };
26
BDFF414B1E8A873600D14CE7 /* SimpleCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BDFF414A1E8A873600D14CE7 /* SimpleCell.xib */; };
@@ -56,6 +58,8 @@
58
BD14BB5D1E94E0C9006FB1B5 /* LoadMoreRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = LoadMoreRow.swift; path = Rows/LoadMoreRow.swift; sourceTree = "<group>"; };
59
BD14BB5F1E94E115006FB1B5 /* LoadMoreCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = LoadMoreCell.swift; path = Rows/LoadMoreCell.swift; sourceTree = "<group>"; };
60
BD14BB601E94E115006FB1B5 /* LoadMoreCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = LoadMoreCell.xib; path = Rows/LoadMoreCell.xib; sourceTree = "<group>"; };
61
+ BDBB05C61EA2351600B02BDB /* TwitterSimpleCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TwitterSimpleCell.swift; path = Rows/TwitterSimpleCell.swift; sourceTree = "<group>"; };
62
+ BDBB05C71EA2351600B02BDB /* TwitterSimpleCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = TwitterSimpleCell.xib; path = Rows/TwitterSimpleCell.xib; sourceTree = "<group>"; };
63
BDDDF6201E9B3290007846D3 /* SimpleTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SimpleTableViewController.swift; path = "View Controllers/SimpleTableViewController.swift"; sourceTree = "<group>"; };
64
BDFF41481E8A871900D14CE7 /* SimpleCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SimpleCell.swift; path = JomloTableView/Rows/SimpleCell.swift; sourceTree = SOURCE_ROOT; };
65
BDFF414A1E8A873600D14CE7 /* SimpleCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = SimpleCell.xib; path = Rows/SimpleCell.xib; sourceTree = "<group>"; };
@@ -172,6 +176,8 @@
176
BD14BB5D1E94E0C9006FB1B5 /* LoadMoreRow.swift */,
177
BD14BB5F1E94E115006FB1B5 /* LoadMoreCell.swift */,
178
BD14BB601E94E115006FB1B5 /* LoadMoreCell.xib */,
179
+ BDBB05C61EA2351600B02BDB /* TwitterSimpleCell.swift */,
180
+ BDBB05C71EA2351600B02BDB /* TwitterSimpleCell.xib */,
181
);
182
name = Rows;
183
sourceTree = "<group>";
@@ -288,6 +294,7 @@
294
buildActionMask = 2147483647;
295
files = (
296
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,
297
+ BDBB05C91EA2351600B02BDB /* TwitterSimpleCell.xib in Resources */,
298
BD14BB621E94E115006FB1B5 /* LoadMoreCell.xib in Resources */,
299
BDFF414B1E8A873600D14CE7 /* SimpleCell.xib in Resources */,
300
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,
@@ -409,6 +416,7 @@
416
BDDDF6211E9B3291007846D3 /* SimpleTableViewController.swift in Sources */,
417
BD14BB611E94E115006FB1B5 /* LoadMoreCell.swift in Sources */,
418
BD14BB5E1E94E0C9006FB1B5 /* LoadMoreRow.swift in Sources */,
419
+ BDBB05C81EA2351600B02BDB /* TwitterSimpleCell.swift in Sources */,
420
);
421
runOnlyForDeploymentPostprocessing = 0;
422
};
Example/JomloTableView/Rows/SimpleCell.xib
+1
-1
@@ -15,7 +15,7 @@
15
<rect key="frame" x="0.0" y="0.0" width="598" height="120"/>
16
<autoresizingMask key="autoresizingMask"/>
17
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Jxp-d1-zT1" id="150-Wq-GWr">
18
- <rect key="frame" x="0.0" y="0.0" width="598" height="119.5"/>
18
+ <rect key="frame" x="0.0" y="0.0" width="598" height="120"/>
19
<autoresizingMask key="autoresizingMask"/>
20
<subviews>
21
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fUm-db-ewC" userLabel="Title">
Example/JomloTableView/Rows/TwitterSimpleCell.swift
new
+19
@@ -0,0 +1,19 @@
1
+//
2
+// TwitterSimpleCell.swift
3
+// JomloTableView
4
+//
5
+// Created by Seto Elkahfi on 4/15/17.
6
+// Copyright © 2017 CocoaPods. All rights reserved.
7
+//
8
+
9
+import UIKit
10
+import JomloTableView
11
+
12
+class TwitterSimpleCell: JomloTableViewCell {
13
+
14
+
15
+}
16
+
17
+class TwitterSimpleRow: JomloTableViewRow {
18
+
19
+}
Example/JomloTableView/Rows/TwitterSimpleCell.xib
new
+19
@@ -0,0 +1,19 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
5
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
6
+ </dependencies>
7
+ <objects>
8
+ <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
9
+ <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
10
+ <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="TwitterSimpleCell" customModuleProvider="target">
11
+ <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
12
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
13
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
14
+ <frame key="frameInset" width="320" height="43"/>
15
+ <autoresizingMask key="autoresizingMask"/>
16
+ </tableViewCellContentView>
17
+ </tableViewCell>
18
+ </objects>
19
+</document>