Transform strings easily in Swift.

Overview

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 :)

You might also like...
A way to easily add Cocoapod licenses and App Version to your iOS App using the Settings Bundle
A way to easily add Cocoapod licenses and App Version to your iOS App using the Settings Bundle

EasyAbout Requirements: cocoapods version 1.4.0 or above. Why you should use Well, it is always nice to give credit to the ones who helped you 😃 Bonu

BCSwiftTor - Opinionated pure Swift controller for Tor, including full support for Swift 5.5 and Swift Concurrency

BCSwiftTor Opinionated pure Swift controller for Tor, including full support for

Swift Markdown is a Swift package for parsing, building, editing, and analyzing Markdown documents.

Swift Markdown is a Swift package for parsing, building, editing, and analyzing Markdown documents.

Swift-DocC is a documentation compiler for Swift frameworks and packages aimed at making it easy to write and publish great developer documentation.

Swift-DocC is a documentation compiler for Swift frameworks and packages aimed at making it easy to write and publish great developer docum

Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. (Pure Swift, Supports Linux)

SwiftFoundation Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. Goals Provide a cross-platform in

Swift - ✏️Swift 공부 저장소✏️

Swift 스위프트의 기초 1. Swift의 기본 2. 변수와 상수 [3. 데이터 타입 기본] [4. 데이터 타입 고급] 5. 연산자 6. 흐름 제어 7. 함수 8. 옵셔널 객체지향 프로그래밍과 스위프트 9. 구조체와 클래스 10. 프로퍼티와 메서드 11. 인스턴스 생

Swift-ndi - Swift wrapper around NewTek's NDI SDK

swift-ndi Swift wrapper around NewTek's NDI SDK. Make sure you extracted latest

__.swift is a port of Underscore.js to Swift.

__.swift Now, __.swift is version 0.2.0! With the chain of methods, __.swift became more flexible and extensible. Documentation: http://lotz84.github.

SNTabBarDemo-Swift - Cool TabBar With Swift
SNTabBarDemo-Swift - Cool TabBar With Swift

SNTabBarDemo-Swift Cool TabBar How To Use // MARK: - setup private func setu

Comments
  • Release Carthage

    Release Carthage

    References

    • https://github.com/Carthage/Carthage#supporting-carthage-for-your-framework
    • https://e-tec-memo.herokuapp.com/article/241/
    • https://github.com/bannzai/Gedatsu/tree/1.2.0/Gedatsu-Carthage.xcodeproj
    opened by uhooi 0
  • Release CocoaPods

    Release CocoaPods

    References

    CocoaPods

    • https://guides.cocoapods.org/making/making-a-cocoapod.html
    • https://guides.cocoapods.org/making/using-pod-lib-create
    • https://github.com/YusukeHosonuma/SwiftPrettyPrint/blob/1.2.0/SwiftPrettyPrint.podspec
    • https://github.com/YusukeHosonuma/SwiftPrettyPrint/blob/1.2.0/Makefile
    • https://github.com/YusukeHosonuma/SwiftPrettyPrint/blob/1.2.0/.github/workflows/release.yml
    • https://github.com/muukii/MondrianLayout/blob/0.0.1/MondrianLayout.podspec
    • https://github.com/muukii/MondrianLayout/blob/0.0.1/.github/workflows/CocoaPodsRelease.yml
    • https://qiita.com/ry-itto/items/0fab3fdc4321bfbd3877

    GitHub Actions

    • https://docs.github.com/ja/actions/reference/events-that-trigger-workflows

    Apple

    • https://developer.apple.com/documentation/foundation/nsstring/1407787-applyingtransform
    opened by uhooi 0
  • Add README

    Add README

    References

    • https://github.com/uhooi/UhooiPicBook/blob/develop/README.md
    • https://github.com/bannzai/Gedatsu/blob/master/README.md
    • https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md
    opened by uhooi 0
Releases(0.4.0)
Owner
I 💚 Swift and developing iOS apps. Hobby: Tennis🎾, Analog game🎲
null
Validate iOS, Android, and Mac localizations. Find errors in .strings, .stringsdict, and strings.xml files.

Locheck An Xcode and Android localization file validator. Make sure your .strings, .stringsdict, and strings.xml files do not have any errors! What do

Asana 73 Dec 13, 2022
A simple Swift utility for producing pseudolocalized strings.

Build your App UI to adapt and respond to translations, and find localization bugs!

Reece Como 2 Sep 28, 2021
Swift Xid - Xid uses MongoDB Object ID algorighm1 to generate globally unique ids with base32 serialzation to produce shorter strings

Swift Xid - Xid uses MongoDB Object ID algorighm1 to generate globally unique ids with base32 serialzation to produce shorter strings

Uditha Atukorala 0 Jun 13, 2022
A Swift micro-framework to easily deal with weak references to self inside closures

WeakableSelf Context Closures are one of Swift must-have features, and Swift developers are aware of how tricky they can be when they capture the refe

Vincent Pradeilles 72 Sep 1, 2022
Framework for easily parsing your JSON data directly to Swift object.

Server sends the all JSON data in black and white format i.e. its all strings & we make hard efforts to typecast them into their respective datatypes

Mukesh 11 Oct 17, 2022
FeatureFlags.swift - Tools for easily defining feature flags for your projects

FeatureFlags.swift Tools for easily defining feature flags for your projects Int

Eric Rabil 1 Jan 31, 2022
FluxCapacitor makes implementing Flux design pattern easily with protocols and typealias.

FluxCapacitor makes implementing Flux design pattern easily with protocols and typealias. Storable protocol Actionable protocol Dispatch

Taiki Suzuki 123 Aug 23, 2022
WhatsNewKit enables you to easily showcase your awesome new app features.

WhatsNewKit enables you to easily showcase your awesome new app features. It's designed from the ground up to be fully customized to your needs. Featu

Sven Tiigi 2.8k Jan 3, 2023
A library that helps developers to easily perform file-related operations In iOS

File Operations Preview A library that helps developers to easily perform file-related operations. In iOS, We write our files mainly into three direct

Rinto Andrews 1 Oct 15, 2021
Monitor iOS app version easily.

AppVersionMonitor Monitor iOS app version easily. You can get previous version and installation history. Usage To run the example project, clone the r

エウレカ 256 Jan 4, 2023