Coder Social home page Coder Social logo

ihtypewriterlabel's Introduction

IHTypeWriterLabel

A simple, UILabel subclass which poulates itself as if being typed.

HighLights

Written purely in SWIFT. Very simple and lightweight. Hardly 119 lines of Code. Works with both Auto Layout as well as as constraint based layouts.

Getting Started

To begin using IHTypeWriterLabel you must first make sure you have the proper build requirements.

Build Requirements

iOS

8.0+

Adding To Project

You can add IHTypeWriterLabel to your project in a few ways:

The way to use IHTypeWriterLabel is to download the IHTypeWriterLabel class file in your project as is and use.

ScreenShot

mygithubvideo

Usage

StoryBoard

Make the UIView a subclass of IHTypeWriterLabel, make its outlet and initialise or do it on the go in the Interface builder. :

StoryBoard SetUp

screen shot 2017-11-13 at 11 40 15 pm

#Programatic setUp WithOut Constraints

let ihLabel = IHTypeWriterLabel.init(frame: CGRect.init(x: 0, y: 100, width: 200, height: 300))
self.view.addSubview(ihLabel)
ihLabel.animationDuration = 5.0
ihLabel.text = "Hello. Hope you like this implementation. Happy Coding. Have a nice day. Thank you. :)"
ihLabel.numberOfLines = 0

ihtypewriterlabel's People

Contributors

ibrahimhass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.