JSLabel
  • June 9, 2025

Demo


pod try JSLabel

…or clone this repo and build and run/test the JSLabel project in Xcode to see JSLabel in action. If you don’t have CocoaPods installed, grab it with [sudo] gem install cocoapods.

$ cd Example

$ pod install

$ open JSLabel.xcworkspace

Requirement


  • iOS 8.3+
  • Xcode 7+
  • Swift 3

Installation


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

pod “JSLabel”

Manual Installation

Just drag the JSLabel.swift files into your project.

IBDesignable

JSLabel includes IBInspectable annotations to enable configuring the label inside Interface Builder. However, if you see these warnings when building…

IB Designables: Failed to update auto layout status: Failed to load designables from path (null)
IB Designables: Failed to render instance of JSLabel: Failed to load designables from path (null)

…then you are likely using JSLabel as a static library, which does not support IB annotations. Some workarounds include:

  • Install JSLabel as a dynamic framework using CocoaPods with use_frameworks! in your Podfile, or with Carthage
  • Install JSLabel by dragging its source files to your project

Usage


Use Blinking feature

import JSLabel

let BlinkLabel = JSLabel()
BlinkLabel.startBlinking()
BlinkLabel.stopBlinking()

Creating a view from the storyboard

  • If you already have a Label where you want to use then set it’s class to JSLabel in identity inspector.

  • Or drag a Label from object library and then change it’s class to JSLabel in identity inspector.

  • Set the module property to JSLabel.

Add JsLabel to storyboard

  • Customize the view properties in the attributes inspector.

Attributes inspector

GitHub


View Github

YOU MIGHT ALSO LIKE...
🧭 NavigationKit

NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...

swiftui-navigation-stack

An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...

Stinsen

Simple, powerful and elegant implementation of the Coordinator pattern in SwiftUI. Stinsen is written using 100% SwiftUI which makes it ...

SwiftUI Router

With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...

FlowStacks

This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...