Skip to content

Instantly share code, notes, and snippets.

Magnus Nordin MagnusNordin

Block or report user

Report or block MagnusNordin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
MagnusNordin / Badge.swift
Last active Jun 14, 2018 — forked from yonat/Badge.swift
Rounded UILabel and UIButton, Badged UIBarButtonItem
View Badge.swift
// Badge.swift
// Extensions for Rounded UILabel and UIButton, Badged UIBarButtonItem.
// Usage:
// let label = UILabel(badgeText: "Rounded Label");
// let button = UIButton(type: .System); button.rounded = true
// let barButton = UIBarButtonItem(badge: "42", title: "How Many Roads", target: self, action: "answer")
// Created by Yonat Sharon on 06.04.2015.
You can’t perform that action at this time.