Latest 0.1.1
Homepage https://github.com/briansemiglia/NonCoalescingDispatchQueue
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Brian Semiglia/NonCoalescingDispatchQueue.svg?style=flat)](https://travis-ci.org/Brian Semiglia/NonCoalescingDispatchQueue)
Version
License
Platform

GCD likes to coalesce calls to -dispatchAfter. NonCoalescingDispatchQueue avoids that coalescence with the use of a CADisplayLink giving you timing accuracy to the 60th of a second.

Example

NonCoalescingDispatchQueue(
  events: @[
    NonCoalescingDispatchQueue.Event(
      delay: 1.00,
      action: { 
        print("hi") 
      }
    ),
    NonCoalescingDispatchQueue.Event(
      delay: 1.03,
      action: { 
        print("hola")
      }
    ),
    NonCoalescingDispatchQueue.Event(
      delay: 1.05,
      action: { 
        print("salut")
      }
    )
  ],
  completion: {
    print("bye")
  }
)

Requirements

Installation

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

pod "NonCoalescingDispatchQueue"

Author

Brian Semiglia, [email protected]

License

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

Latest podspec

{
    "name": "NonCoalescingDispatchQueue",
    "version": "0.1.1",
    "summary": "A non-coalescing dispatch queue.",
    "description": "'GCD likes to coalesce calls to -dispatchAfter. This queue avoids that coalescence with the use of a CADisplayLink.'",
    "homepage": "https://github.com/briansemiglia/NonCoalescingDispatchQueue",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Brian Semiglia": "[email protected]"
    },
    "source": {
        "git": "https://github.com/briansemiglia/NonCoalescingDispatchQueue.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "NonCoalescingDispatchQueue/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This