/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

import Foundation

// Holds image-source-like instances (DSImageSourceAdapter, DSCameraEnhancer, ...) keyed by
// id, independent of any native module's lifecycle. Values are untyped since the original
// NSMutableDictionary stored more than just DSImageSourceAdapter instances via KVC setters.
class DSISAStore {
    static let shared = DSISAStore()

    var map: [String: AnyObject] = [:]

    private init() {}
}
