/S-Safty

Made common component thread-safty.

Primary LanguageSwiftMIT LicenseMIT

S-safty

Made common component thread-safty.

CI Status Version License Platform

Requirements

  • Swift 4.0+

Installation

s-safty is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 's-safty'

Usage

Create thread-safty class with any type

let array = SyncArray<Any>( )
let dictionnary = SyncDictionary<String, Any>()
let data = SyncData()

The thread-safty class of usage is the same as the structure

Support of the structure

  • Array
  • Dictionary
  • Data

Author

FelixLinBH, linhandev@gmail.com

License

comthreadsafety is available under the MIT license. See the LICENSE file for more info.