GhostTyping is an custom UIView with UITextField insided library written in Swift. The goal is bring all of animation and features like another Javascript framework to iOS native.
- Core type writing with UITextField
- Cursor custom with images imported
- Animations
- Basic
- Fade Out
- Smart Backspace
- In an input
- Shuffled
- Bulk Typing
- Star/stop/cancel
- Fonts implement
- Comprehensive Unit and Integration Test Coverage
- Complete Documentation
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate GhostTyping into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'GhostTyping'
end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate GhostTyping into your Xcode project using Carthage, specify it in your Cartfile
:
github "huynguyen-n/GhostTyping"
Run carthage update
to build the framework and drag the built GhostTyping.framework
into your Xcode project.
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding GhostTyping as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/huynguyen-n/GhostTyping.git")
]
For complete documentation, visit CocoaPods' auto-generated doc
GhostTyping actually is a subclass of UIView which intergrated the UITextField inside to make the type writing animation.
import GhostTyping
GhostTyping is available under the MIT license. See the LICENSE file for more info.