Skip to content

Instantly share code, notes, and snippets.

On vacation

Star liuzhida33

On vacation
Block or report user

Report or block liuzhida33

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
liuzhida33 / Badge.swift
Created Jul 2, 2019 — 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.
View WatchConnectivitySingletonDemo.swift
// WatchSessionManager.swift
// WatchConnectivityDemo
// Created by Natasha Murashev on 9/3/15.
// Copyright © 2015 NatashaTheRobot. All rights reserved.
import WatchConnectivity
liuzhida33 / ViewController.swift
Created Dec 20, 2018 — forked from huguesbr/ViewController.swift
Sample RxBluetoothKit implementation
View ViewController.swift
import UIKit
import CoreBluetooth
import RxSwift
import RxBluetoothKit
extension CBUUID {
var type: UUID {
return UUID(rawValue: uuidString)!
You can’t perform that action at this time.