Exclude example and images in the xcode

Seto Elkahfi committed Mar 19, 2023 at 00:20 UTC 268673ea53f11b3bbea39c17f73066345fdfab88
4 files changed +26 -5
Example/Package.swift new
+5
@@ -0,0 +1,5 @@
1 +// swift-tools-version:5.5
2 +
3 +import PackageDescription
4 +
5 +let package = Package()
\ No newline at end of file
Package.swift
+6 -4
@@ -4,7 +4,7 @@ import PackageDescription
4
5 let package = Package(
6 name: "JomloTableView",
7 - platforms: [.iOS(.v11)],
7 + platforms: [.iOS(.v11), .tvOS(.v11)],
8 products: [
9 .library(
10 name: "JomloTableView",
@@ -14,10 +14,12 @@ let package = Package(
14 targets: [
15 .target(
16 name: "JomloTableView",
17 - dependencies: []),
17 + dependencies: []
18 + ),
19 .testTarget(
20 name: "JomloTableViewTests",
20 - dependencies: ["JomloTableView"]),
21 + dependencies: ["JomloTableView"]
22 + ),
23 ],
24 swiftLanguageVersions: [.v5]
23 -)
\ No newline at end of file
25 +)
README.md
+10 -1
@@ -25,13 +25,22 @@ iOS 8
25
26 ## Installation
27
28 -JomloTableView is available through [CocoaPods](http://cocoapods.org). To install
28 +JomloTableView is available through [CocoaPods](http://cocoapods.org) and Swift Package Manager.
29 +
30 +### Cocoapods
31 +To install
32 it, simply add the following line to your Podfile:
33
34 ```ruby
35 pod "JomloTableView"
36 ```
37
38 +### Swift Package Manager
39 +
40 +```swift
41 +
42 +```
43 +
44 ## Usage
45 ### Simple usage
46 Use single section with multiple rows. All the rows below are from single class.
images/Package.swift new
+5
@@ -0,0 +1,5 @@
1 +// swift-tools-version:5.5
2 +
3 +import PackageDescription
4 +
5 +let package = Package()
\ No newline at end of file