- August 28, 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.
This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...
Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...