Skip to content

Instantly share code, notes, and snippets.

Adam Wróbel amw

Block or report user

Report or block amw

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
@amw
amw / dispatch.swift
Last active Nov 4, 2016
Swift wrapper for Grand Central Dispatch (GCD)
View dispatch.swift
//
// dispatch.swift
//
// Created by Adam Wróbel. Read more at:
// http://adamwrobel.com/blog/2016/05/08/swift-gcd-wrapper/
//
import Foundation
internal extension dispatch_queue_t {
@Inferis
Inferis / ViewController.swift
Last active Dec 1, 2019
Beginnings of a GCD wrapper in swift
View ViewController.swift
import UIKit
import QuartzCore
class ViewController: UIViewController {
@IBOutlet weak var label: UILabel
@IBOutlet weak var counter: UILabel
override func viewDidLoad() {
super.viewDidLoad()
You can’t perform that action at this time.