Swiftpack.co - uhooi/swift-string-transform as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by uhooi.
uhooi/swift-string-transform 0.4.0
Transform strings easily in Swift.
โญ๏ธ 19
๐Ÿ•“ 2 years ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/uhooi/swift-string-transform.git", from: "0.4.0")

swift-string-transform

CI Release CocoaPods Version Carthage compatible Swift Compatibility Platform Compatibility License Twitter

Transform strings easily in Swift.

Table of Contents

Installation

Swift Package Manager (Recommended)

Package

You can add this package to Package.swift, include it in your target dependencies.

let package = Package(
    dependencies: [
        .package(url: "https://github.com/uhooi/swift-string-transform", .upToNextMajor(from: "0.4.0")),
    ],
    targets: [
        .target(
            name: "<your-target-name>",
            dependencies: ["StringTransform"]),
    ]
)

Xcode

You can add this package on Xcode. See documentation.

CocoaPods

This library is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'StringTransform', '~> 0.4.0'

Carthage

This library is available through Carthage. To install it, simply add the following line to your Cartfile:

github "uhooi/swift-string-transform" ~> 0.4.0

How to use

You can just import StringTransform to use it.

import StringTransform

"ใฆใ™ใจ".toKatakana() // "ใƒ†ใ‚นใƒˆ"
"ใƒ†ใ‚นใƒˆ".toHiragana() // "ใฆใ™ใจ"

Contribution

I would be happy if you contribute :)

Stats

Stats

GitHub

link
Stars: 19
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.4.0 - Support Carthage
2 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics