Add load more example row

Seto Elkahfi committed Apr 8, 2017 at 17:03 UTC 8865ae3a462bca12ae143e8bd491a9e8f8a43e13
5 files changed +98 -1
Example/JomloTableView/Images.xcassets/AppIcon.appiconset/Contents.json
+11 -1
@@ -1,5 +1,15 @@
1 {
2 "images" : [
3 + {
4 + "idiom" : "iphone",
5 + "size" : "20x20",
6 + "scale" : "2x"
7 + },
8 + {
9 + "idiom" : "iphone",
10 + "size" : "20x20",
11 + "scale" : "3x"
12 + },
13 {
14 "idiom" : "iphone",
15 "size" : "29x29",
@@ -35,4 +45,4 @@
45 "version" : 1,
46 "author" : "xcode"
47 }
38 -}
48 +}
\ No newline at end of file
Example/JomloTableView/LoadMoreViewController.swift new
+35
@@ -0,0 +1,35 @@
1 +//
2 +// LoadMoreViewController.swift
3 +// JomloTableView
4 +//
5 +// Created by SDMobile on 4/8/17.
6 +// Copyright © 2017 CocoaPods. All rights reserved.
7 +//
8 +
9 +import UIKit
10 +
11 +class LoadMoreViewController: UIViewController {
12 +
13 + override func viewDidLoad() {
14 + super.viewDidLoad()
15 +
16 + // Do any additional setup after loading the view.
17 + }
18 +
19 + override func didReceiveMemoryWarning() {
20 + super.didReceiveMemoryWarning()
21 + // Dispose of any resources that can be recreated.
22 + }
23 +
24 +
25 + /*
26 + // MARK: - Navigation
27 +
28 + // In a storyboard-based application, you will often want to do a little preparation before navigation
29 + override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
30 + // Get the new view controller using segue.destinationViewController.
31 + // Pass the selected object to the new view controller.
32 + }
33 + */
34 +
35 +}
Example/JomloTableView/Rows/LoadMoreCell.swift new
+24
@@ -0,0 +1,24 @@
1 +//
2 +// LoadMoreCell.swift
3 +// JomloTableView
4 +//
5 +// Created by SDMobile on 4/5/17.
6 +// Copyright © 2017 CocoaPods. All rights reserved.
7 +//
8 +
9 +import UIKit
10 +
11 +class LoadMoreCell: UITableViewCell {
12 +
13 + override func awakeFromNib() {
14 + super.awakeFromNib()
15 + // Initialization code
16 + }
17 +
18 + override func setSelected(_ selected: Bool, animated: Bool) {
19 + super.setSelected(selected, animated: animated)
20 +
21 + // Configure the view for the selected state
22 + }
23 +
24 +}
Example/JomloTableView/Rows/LoadMoreCell.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="LoadMoreCell" 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>
Example/JomloTableView/Rows/LoadMoreRow.swift new
+9
@@ -0,0 +1,9 @@
1 +//
2 +// LoadMoreRow.swift
3 +// JomloTableView
4 +//
5 +// Created by SDMobile on 4/5/17.
6 +// Copyright © 2017 CocoaPods. All rights reserved.
7 +//
8 +
9 +import Foundation