Latest 1.0.3
Homepage https://github.com/mateforevents/MTEThreadsafeCollections
License MIT
Platforms ios 7.0, requires ARC
Authors

A collection of threadsafe replacements of NSMutableArray, NSMutableDictionary and NSMutableSet.
This set is inspired by several similar approaches and classes around the globe. We implemented our own version and just now decided to make it public. Hance its redundancy with similar projects.

Installation

  • use CocoaPods
    pod 'MTEThreadsafeCollections'
  • you can also only use one class by using
      pod 'MTEThreadsafeCollections/Array'
    or
      pod 'MTEThreadsafeCollections/Dictionary'
    or
      pod 'MTEThreadsafeCollections/Set'
  • or download MTEThreadsafeCollections the source and drop it in your project

Usage

you can use MTEThreadsafeArray, MTEThreadsafeSet and MTEThreadsafeDictionary in the same way you’d use NSMutableArray, NSMutableSet or NSMutableDictionary. The most important methods are implemented, NSCoding and NSCopying is working.
The classes are backed up by NSMutableArray/Set/Dictionary instanced, which are accessed only on a concurrent queue. Threadsafety is assured since all writes are encapsulated with dispatch_barrier_async.

Security Disclosure

If you believe you have identified a security vulnerability with a class, you should report it as soon as possible via email to [email protected] Please do not post it to a public issue tracker.

License

MTEThreadsafeCollections is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "MTEThreadsafeCollections",
    "version": "1.0.3",
    "summary": "Threadsafe collections as replacement for NSMutableArray/Dictionary/Set",
    "description": "A collection of threadsafe replacements for NSMutableArray, NSMutableDictionary and NSMutableSet. Uses GCD dispatch queues for threadsafety.",
    "homepage": "https://github.com/mateforevents/MTEThreadsafeCollections",
    "license": "MIT",
    "authors": {
        "mheicke": "[email protected]"
    },
    "social_media_url": "https://www.facebook.com/mateforevents",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/mateforevents/MTEThreadsafeCollections.git",
        "tag": "v1.0.3"
    },
    "subspecs": [
        {
            "name": "Array",
            "source_files": "Pod/MTEThreadsafeArray.{h,m}"
        },
        {
            "name": "Dictionary",
            "source_files": "Pod/MTEThreadsafeDictionary.{h,m}"
        },
        {
            "name": "Set",
            "source_files": "Pod/MTEThreadsafeSet.{h,m}"
        }
    ]
}

Pin It on Pinterest

Share This