Giter Site home page Giter Site logo

huynguyen-n / ghosttyping Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 45.96 MB

Beautiful view for iOS with typing animation like a ghost.

License: MIT License

Swift 53.65% Ruby 6.16% Objective-C 40.18%
ios swift uiview uilable automatically writer typing uitextfield cocoapods podfile carthage cartfile swift-package-manager packagefile

ghosttyping's Introduction

Travis (.com) GitHub issues

Swift version Platform

CocoaPods Compatible Carthage Compatible Swift Package Manager Compatible

Lisence

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.

Features

  • 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

Installation

CocoaPods

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

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.

Swift Package Manager

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")
]

How to use

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

import GhostTyping

License

GhostTyping is available under the MIT license. See the LICENSE file for more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.