mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonCore/Extension/NSKeyValueObservation.swift

16 lines
302 B
Swift

//
// NSKeyValueObservation.swift
// Twidere
//
// Created by Cirno MainasuK on 2020-7-20.
// Copyright © 2020 Twidere. All rights reserved.
//
import Foundation
extension NSKeyValueObservation {
public func store(in set: inout Set<NSKeyValueObservation>) {
set.insert(self)
}
}