TriLabelView alternatives and similar libraries
Based on the "Label" category.
Alternatively, view TriLabelView alternatives based on common mentions on social networks and blogs.
-
TTTAttributedLabel
A drop-in replacement for UILabel that supports attributes, data detectors, links, and more -
LTMorphingLabel
[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift. -
ActiveLabel.swift
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift -
ZCAnimatedLabel
UILabel replacement with fine-grain appear/disappear animation -
UICountingLabel
Adds animated counting support to UILabel. -
TOMSMorphingLabel
Configurable morphing transitions between text values of a label. -
MZTimerLabel
A handy class for iOS to use UILabel as a countdown timer or stopwatch just like in Apple Clock App. -
NumberMorphView
A label view for displaying numbers which can transition or animate using a technique called number tweening or number morphing. -
CountdownLabel
Simple countdown UILabel with morphing animation, and some useful function. -
Preloader.Ophiuchus
Custom Label to apply animations on whole text or letters. -
THLabel
UILabel subclass, which additionally allows shadow blur, inner shadow, stroke text and fill gradient. -
MTLLinkLabel
MTLLinkLabel is linkable UILabel. Written in Swift. -
IncrementableLabel
Incrementable UILabel for iOS and tvOS -
SlidingText
Swift UIView for sliding text with page indicator -
SwiftResponsiveLabel
A UILabel subclass to highlight patterns -
NumericAnimatedLabel
Animate numeric value while setting new value to label -
AnimatedMaskLabel
Animated Mask Label is a nice gradient animated label. This is an easy way to add a shimmering effect to any view in your app. It is useful as an unobtrusive loading indicator. -
JSLabel
A simple designable subclass on UILabel with extra IBDesignable and Blinking features.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of TriLabelView or a related project?
README
A triangle shaped corner label view for iOS written in Swift.
- This view is a subclass of UIView.
- It can be created and customized from the Storyboard or from the code.
Setup with CocoaPods
If you are using CocoaPods add this text to your Podfile
and run pod install
.
use_frameworks!
target 'Your target name'
pod 'TriLabelView'
Or Add source
Simply add TriLabelView.swift file to you project.
Usage
Creating a view from the code
let triLabelView = TriLabelView(frame:CGRect)
view.addSubview(triLabelView)
Customization
// Change Text
triLabelView.labelText = "NEW"
// Adjust Length Percentage
// You can update this to set percentage value of this
// view to that of the superview.
// Default value is 50.0
triLabelView.lengthPercentage = 60.0
You can set the position of view with .TopLeft
being the default. The following positions are available
public enum Position:String {
case TopLeft
case TopRight
case BottomRight
case BottomLeft
}
You can update text color, font and background color
triLabelView.textColor = UIColor.yellowColor()
triLabelView.labelFont = UIFont.systemFont(ofSize: 15)
triLabelView.viewColor = UIColor.brownColor()
Creating a view from the storyboard
If you already have a view where you want to use then set it's
class
toTriLabelView
in identity inspector.Or drag a View from object library and then change it's
class
toTriLabelView
in identity inspector.Set the
module
property toTriLabelView
.
- Customize the view properties in the attributes inspector.
Requirements
- Swift 3 / Xcode 8
- iOS 9.3
Author
Contributing
Feature requests, bug reports, and pull requests are all welcome.
License
Copyright (c) 2016 Mukesh Thawani. Release under the [MIT License](License).
*Note that all licence references and agreements mentioned in the TriLabelView README section above
are relevant to that project's source code only.