All Projects → ridvank → UIImageViewWithWords

ridvank / UIImageViewWithWords

Licence: MIT license
Create UIImageView with words in Swift

Programming Languages

shell
77523 projects
swift
15916 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to UIImageViewWithWords

urdu-characters
📄 Complete collection of Urdu language characters & unicode code points.
Stars: ✭ 24 (-73.03%)
Mutual labels:  words, characters
vue-countable
✍️ Vue binding for countable.js. Provides real-time paragraph, sentence, word, and character counting.
Stars: ✭ 25 (-71.91%)
Mutual labels:  words, characters
Russian Words
List of Russian words
Stars: ✭ 168 (+88.76%)
Mutual labels:  words
textics
📉 JavaScript Text Statistics that counts lines, words, chars, and spaces.
Stars: ✭ 36 (-59.55%)
Mutual labels:  characters
chinese-tokenizer
Tokenizes Chinese texts into words.
Stars: ✭ 72 (-19.1%)
Mutual labels:  words
Nodehun
The Hunspell binding for NodeJS that exposes as much of Hunspell as possible and also adds new features. Hunspell is a first class spellcheck library used by Google, Apple, and Mozilla.
Stars: ✭ 229 (+157.3%)
Mutual labels:  words
speech-recognition-evaluation
Evaluate results from ASR/Speech-to-Text quickly
Stars: ✭ 25 (-71.91%)
Mutual labels:  words
Countable
Add live paragraph-, word- and character-counting to an HTML element.
Stars: ✭ 1,622 (+1722.47%)
Mutual labels:  words
DigitText
The module allows to translate numbers into a text equivalent. This is important in the billing.
Stars: ✭ 22 (-75.28%)
Mutual labels:  words
dialectID siam
Dialect identification using Siamese network
Stars: ✭ 15 (-83.15%)
Mutual labels:  words
rhymes
Give me an English word and I’ll give you a list of rhymes
Stars: ✭ 34 (-61.8%)
Mutual labels:  words
vocascan-frontend
A highly configurable vocabulary trainer
Stars: ✭ 26 (-70.79%)
Mutual labels:  words
hanzi-pinyin-font
Chinese font displaying Hanzi (汉字) characters with by transliteration/pronunciation (Pīnyīn).
Stars: ✭ 79 (-11.24%)
Mutual labels:  characters
Vocabs
📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.
Stars: ✭ 226 (+153.93%)
Mutual labels:  words
an-array-of-spanish-words
List of ~636,000 Spanish words
Stars: ✭ 31 (-65.17%)
Mutual labels:  words
Dictionary
A list of the most popular English words.
Stars: ✭ 135 (+51.69%)
Mutual labels:  words
Characters of the Three Kingdoms
3️⃣ Characters of the Three Kingdoms - 三国人物结构化数据
Stars: ✭ 100 (+12.36%)
Mutual labels:  characters
RSUIImageViewMultiborder
Allowing multiple border allowing UIImage, easy to use and customise.
Stars: ✭ 12 (-86.52%)
Mutual labels:  uiimageview
words-aas
📕 a simple API to generate unique randomized words & phrases.
Stars: ✭ 69 (-22.47%)
Mutual labels:  words
MoPlugs
MotionBuilder Extensions Pack
Stars: ✭ 27 (-69.66%)
Mutual labels:  characters

UIImageViewWithWords

[![CI Status](http://img.shields.io/travis/Ridvan Kucuk/UIImageViewWithWords.svg?style=flat)](https://travis-ci.org/Ridvan Kucuk/UIImageViewWithWords) Version License Platform

UIImageViewWithWords

UIImageView extension that helps you to create images with initial letters of words.

Installation

From CocoaPods

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

For Swift 3.x:

pod "UIImageViewWithWords"

For Swift 2.3:

pod "UIImageViewWithWords", '~> 0.2.2'

For Swift 2.2:

pod "UIImageViewWithWords", '~> 0.2.1'

Usage

UIImageViewWithWords is written in Swift and it gives you the ability to create images from word's initials.

This will add an image with initials to your UIImageView object with random background color with circular shaped.

imageView.image(with: "Ridvan Kucuk")

or if you want to add attributes to text, you can set attributes like this for Swift 3.x:

let fontAttributes = [NSForegroundColorAttributeName : UIColor.blue,
                                 NSFontAttributeName : UIFont.systemFont(ofSize: 40)]
self.imageView.image(with: "Ridvan Kucuk", color: UIColor.orange, circular: true, fontAttributes: fontAttributes)

for Swift 2.x:

let fontAttributes = [NSForegroundColorAttributeName : UIColor.blueColor(),
NSFontAttributeName : UIFont.systemFontOfSize(40)
]
self.imageView.image(with: "Ridvan Kucuk", color: UIColor.orangeColor(), circular: true, fontAttributes: fontAttributes)

Manually

You can just drag and drop UIImageView+Words.swift file into your project.

Author

Ridvan Kucuk, [email protected]

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].