GlitchLabel
  • November 24, 2023
Glitching UILabel for iOS 📺
Created by Lee Sun-Hyoup.

Try the sample


$ pod try GlitchLabel

Requirements


  • iOS 8.0+
  • Swift 3
  • Xcode 8

Installation


CocoaPods

use_frameworks!
pod “GlitchLabel”, “~> 2.0.0”

Carthage

github “kciter/GlitchLabel”

Swift Package Manager

import PackageDescription

let package = Package(
name: “App”,
dependencies: [
.Package(url: “https://github.com/kciter/GlitchLabel.git”, majorVersion: 2)
]
)

Manually
    • To install the GlitchLabel manually in an app, just drag the GlitchLabel/GlitchLabel.swift file into your project.

Usage


Storyboard support

Programmatically

let glitchLabel = GlitchLabel()
glitchLabel.text = “Hello, World!”
// … Change font
glitchLabel.sizeToFit()
// … Change offset
view.addSubview(glitchLabel)

White Screen

glitchLabel.blendMode = .Multiply

GitHub


View Github

#swift #uicomponents
YOU MIGHT ALSO LIKE...
ViewCondition

✨ Super sweet syntactic sugar for SwiftUI.View initializers. At a Glance

SwiftUIX

SwiftUIX attempts to fill the gaps of SwiftUI, providing an extensive suite of components, extensions and utilities to complement the ...

SwiftUI Environment Overrides

A tiny library that adds a control panel for testing how SwiftUI app adapts for different color themes, accessibility settings, ...