- July 11, 2025
- Mins Read
KDEDateLabel is an UILabel subclass that saves you from refreshing it when using ‘time ago’ format.
You have multiple choices here:
KDEDateLabel.swift
in your project.pod 'KDEDateLabel'
let label = KDEDateLabel(frame: CGRect(x: 0, y: 0, width: 100, height: 20))
label.date = NSDate()
label.dateFormatTextBlock = { date in
return “\(Int(fabs(date.timeIntervalSinceNow)))s ago”
}
KDEDateLabel is also compatible with Storyboard/XIB.
A SwiftUI View that emits confetti with user-defined shapes, images, and text.
A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...
A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.
This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...