diff --git a/README.md b/README.md index 6cda623b..73a91c28 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,25 @@ This repository contains the following additional frameworks: - [TIUIElements](TIUIElements) - bunch of of useful protocols and views. - [OTPSwiftView](OTPSwiftView) - a fully customizable OTP view. - [TISwiftUtils](TISwiftUtils) - a bunch of useful helpers for development. +- [TITableKitUtils](TITableKitUtils) - Set of helpers for TableKit classes. + +## Installation + +### SPM + +```swift +dependencies: [ + .package(url: "https://github.com/TouchInstinct/LeadKit.git", from: "x.y.z"), +], +``` + +### Cocoapods + +```ruby +source 'https://github.com/TouchInstinct/Podspecs.git' + +pod 'TISwiftUtils', 'x.y.z' +pod 'TIFoundationUtils', 'x.y.z' +# ... +``` diff --git a/TISwiftUtils/README.md b/TISwiftUtils/README.md index 993c9cfe..1a9f1a94 100644 --- a/TISwiftUtils/README.md +++ b/TISwiftUtils/README.md @@ -18,7 +18,3 @@ final class ViewModel { var hasFinishedOnboarding: Bool } ``` - -# Installation via SPM - -You can install this framework as a target of LeadKit. diff --git a/TISwiftUtils/Sources/Extensions/Optional/Optional+Extensions.swift b/TISwiftUtils/Sources/Extensions/Optional/Optional+Extensions.swift index 0bddd3bb..af793186 100644 --- a/TISwiftUtils/Sources/Extensions/Optional/Optional+Extensions.swift +++ b/TISwiftUtils/Sources/Extensions/Optional/Optional+Extensions.swift @@ -20,8 +20,6 @@ // THE SOFTWARE. // -import UIKit - public extension Optional where Wrapped == String { var orEmpty: String { self ?? "" diff --git a/TISwiftUtils/Sources/Extensions/Substring/Substring+Extensions.swift b/TISwiftUtils/Sources/Extensions/Substring/Substring+Extensions.swift index 61d0812f..e68fc6f3 100644 --- a/TISwiftUtils/Sources/Extensions/Substring/Substring+Extensions.swift +++ b/TISwiftUtils/Sources/Extensions/Substring/Substring+Extensions.swift @@ -20,8 +20,6 @@ // THE SOFTWARE. // -import Foundation - public extension Substring { var string: String { String(self) diff --git a/TISwiftUtils/Sources/Helpers/Typealias.swift b/TISwiftUtils/Sources/Helpers/Typealias.swift index 897d1f09..3ece5296 100644 --- a/TISwiftUtils/Sources/Helpers/Typealias.swift +++ b/TISwiftUtils/Sources/Helpers/Typealias.swift @@ -20,8 +20,6 @@ // THE SOFTWARE. // -import UIKit - /// Closure with custom arguments and return value. public typealias Closure = (Input) -> Output diff --git a/TITableKitUtils/README.md b/TITableKitUtils/README.md new file mode 100644 index 00000000..1401a1b5 --- /dev/null +++ b/TITableKitUtils/README.md @@ -0,0 +1,4 @@ +# TITableKitUtils + +Set of helpers for TableKit classes. + diff --git a/TIUIKitCore/README.md b/TIUIKitCore/README.md index 9c46b9b3..96d028a7 100644 --- a/TIUIKitCore/README.md +++ b/TIUIKitCore/README.md @@ -12,7 +12,3 @@ Core UI elements: protocols, views and helpers. # Views - [BaseInitializableView](BaseInitializableView/BaseInitializableView.swift) - UIView conformance to InitializableView. - -# Installation via SPM - -You can install this framework as a target of LeadKit.