StringKit is a new, simple and fast way to investigate and modify strings in Swift - The next level of string manipulation.
Installation
Requirements
- iOS 9.0+ | macOS 10.11+ | tvOS 9.0+ | watchOS 2.0+ | Linux
- Xcode 8.1+
- Swift 3.1+
Manual
- Download the ZIP archive.
- Add the
Source
folder or theStringKit.framework
file to your project. - That's it. :]
Dependency Managers
CocoaPods
- Add
pod 'StringKit', '~> 0.9.0'
to your Podfile. - Run
pod update
-> StringKit should be installed now. - You are finished! You can work with the new
.workspace
file now. :]
Carthage
- Create a Cartfile in your project directory.
- Add
github "rainerniemann/StringKit" ~> 0.9.0
to your Cartfile. - Go to your project directory and run
carthage update --platform iOS
in your terminal (for iOS). - Open the output folder with
open carthage
and drag and drop the StringKit.swift file into your project. - You are done. :]
Swift Package Manager
- Create a Package.swift file in your project directory.
- Add the following or just the dependency to your Package.swift file.
import PackageDescription
let package = Package(name: "YOUR_APPLICATIONS_NAME", targets: [], dependencies:
[
.Package(url: "https://github.com/rainerniemann/StringKit.git",
versions: Version(0,9,0) ... Version(0,9,0))
])
- Run
swift build
. - Every time you want to debug the programm, run
swift build -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.11"
.
Import
import StringKit
Authors
Rainer Niemann, rainerniemann@icloud.com
Andreas Niemann, andreasniemann1999@icloud.com
License
This project is licensed under the MIT License. See the LICENSE.md file for details.