Skip to content

Instantly share code, notes, and snippets.

Kostia Kim Kastet

Block or report user

Report or block Kastet

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
@Kastet
Kastet / AsynchronousOperation.swift
Created Jul 19, 2017 — forked from calebd/AsynchronousOperation.swift
Concurrent NSOperation in Swift
View AsynchronousOperation.swift
import Foundation
/// An abstract class that makes building simple asynchronous operations easy.
/// Subclasses must implement `execute()` to perform any work and call
/// `finish()` when they are done. All `NSOperation` work will be handled
/// automatically.
open class AsynchronousOperation: Operation {
// MARK: - Properties
You can’t perform that action at this time.