gcdobjc - Objective-C wrapper for Grand Central Dispatch

  •        3

A Swift port is at GCDSwift. GCDObjC.h is the only header file that needs to be imported.




Related Projects

Repeat - Modern Timer in Swift, Debouncer and Throttler (alternative to NSTimer)

  •    Swift

Repeat is small lightweight alternative to NSTimer with a modern Swift Syntax, no strong references, multiple observers reusable instances. Repeat is based upon GCD - Grand Central Dispatch. It also support debouncer and throttler features. If you want to learn more about it check out my article on Medium: "The secret world of NSTimer".

Queuer - Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).

  •    Swift

Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD). It allows you to create any synchronous and asynchronous task easily, with just a few lines. * Currently, URLSession.shared property is not yet implemented on Linux.

Zewo - Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines

  •    Swift

Zewo is a lightweight library for web applications in Swift.Zewo is not a web framework. Zewo is a lightweight library for web applications in Swift. Most server-side Swift projects use Grand Central Dispatch (GCD) as the concurrency library of choice. The drawback of using GCD is that its APIs are asynchronous. With async code comes callback hell and we all know it, it's no fun.

libdispatch - Linux port of Apple's open-source concurrency library

  •    C

pthreads getting you down? libdispatch, aka Grand Central Dispatch (GCD) is Apple's high-performance event-handling library, introduced in OS X Snow Leopard. It provides asynchronous task queues, monitoring of file descriptor read and write-ability, asynchronous I/O (for sockets and regular files), readers-writer locks, parallel for-loops, sane signal handling, periodic timers, semaphores and more. You'll want to read over Apple's API reference. I've added the ability to integrate libdispatch's main queue with third-party run-loops, e.g. GLib's GMainLoop. Call dispatch_get_main_queue_handle_np() to get a file descriptor your run-loop can monitor for reading; when it becomes readable call dispatch_main_queue_drain_np() to execute the pending tasks.

swift-corelibs-libdispatch - The libdispatch Project, (a

  •    C

Grand Central Dispatch (GCD or libdispatch) provides comprehensive support for concurrent code execution on multicore hardware. libdispatch is currently available on all Darwin platforms. This project aims to make a modern version of libdispatch available on all other Swift platforms. To do this, we will implement as much of the portable subset of the API as possible, using the existing open source C implementation.

Async - Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch

  •    Swift

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch

Chronos-Swift - :hourglass: Grand Central Dispatch Utilities

  •    Swift

Chronos is a collection of useful Grand Central Dispatch utilities. If you have any specific requests or ideas for new utilities, don't hesitate to create a new issue. Chronos is available under the MIT License.

GCDKit - Grand Central Dispatch simplified with swift.

  •    Swift

GCDKit is Grand Central Dispatch simplified with Swift. GCDKit implements the following constructs. To see how they work, jump right to the Common Usage Patterns section below.

BlocksKit - The Objective-C block utilities you always wish you had.

  •    Objective-C

Blocks in C and Objective-C are downright magical. They make coding easier and potentially quicker, not to mention faster on the front end with multithreading and Grand Central Dispatch. BlocksKit hopes to facilitate this kind of programming by removing some of the annoying - and, in some cases, impeding - limits on coding with blocks. BlocksKit is a framework for OS X Mountain Lion and newer, a static library for iOS 6 and iOS 7, and a framework for iOS 8 and newer.


  •    Objective-C

An example application that shows you how to use Grand Central Dispatch for loading table views on iOS.

PINCache - Fast, non-deadlocking parallel object cache for iOS, tvOS and OS X

  •    Objective-C

PINCache is a fork of TMCache re-architected to fix issues with deadlocking caused by heavy use. It is a key/value store designed for persisting temporary objects that are expensive to reproduce, such as downloaded data or the results of slow processing. It is comprised of two self-similar stores, one in memory (PINMemoryCache) and one on disk (PINDiskCache), all backed by GCD and safe to access from multiple threads simultaneously. On iOS, PINMemoryCache will clear itself when the app receives a memory warning or goes into the background. Objects stored in PINDiskCache remain until you trim the cache yourself, either manually or by setting a byte or age limit. Both PINMemoryCache and PINDiskCache use locks to protect reads and writes. PINCache coordinates them so that objects added to memory are available immediately to other threads while being written to disk safely in the background. Both caches are public properties of PINCache, so it's easy to manipulate one or the other separately if necessary.

electron-remote - Execute JavaScript in remote Electron processes, but more betterer

  •    Javascript

electron-remote provides an alternative to Electron's remote module based around Promises instead of synchronous execution. It also provides an automatic way to use BrowserWindows as "background processes" that auto-scales based on usage, similar to Grand Central Dispatch or the .NET TPL Taskpool. Remote is super convenient! But it also has some downsides - its main downside is that its action is synchronous. This means that both the main and window processes will wait for a method to finish running. Even for quick methods, calling it too often can introduce scroll jank and generally cause performance problems.

BigShow1949 - iOS教学/各类知识点总结:运行时/贝塞尔曲线/水纹/粒子发射器/核心动画/渐变色/网络请求/按钮/标签/视图布局/视图效果/文字视图/表情键盘/旋转动画/2048/网易/微信/猿题库/阿里巴巴/设计模式/数据持久化/多次点击按钮/微信注册按钮/展开按钮/跑马灯/闪烁文字/球形滚动标签/自动布局标签/快播动态标签/水平滚动布局/瀑布流布局/浏览卡/半圆布局/滑动标题/抽卡效果/百度视图切换/领英动画/折卡效果/卡牌拖动翻页/滚动悬浮视图/侧滑形变效果/评分条/打印机特效/Masonry/生命周期/响应者链条/引导页/通知中心/抖动密码框/余额宝数字跳动/UIDynamic/碰撞行为/捕捉行为/推动行为/附着行为/动力元素行为/GCD/KVC&KVO/多继承/消息转发/二维码/MVC/MVP/MVVM/Router

  •    Objective-C



  •    Java

Offline indexing tool for the GCD (Grand Comic Book Database). No longer in active development.

Reachability - ARC and GCD Compatible Reachability Class for iOS and MacOS

  •    Objective-C

This is a drop-in replacement for Apple's Reachability class. It is ARC-compatible, and it uses the new GCD methods to notify of network interface changes. In addition to the standard NSNotification, it supports the use of blocks for when the network becomes reachable and unreachable.

rides-ios-sdk - Uber Rides iOS SDK (beta)

  •    Swift

This Swift library allows you to integrate the Uber Rides API into your iOS app.If you get compilation errors with CocoaPods, you may be using Swift 3.2 or no Swift at all in your main target. In that scenario, CocoaPods will set the swift version incorrectly. See issue. To fix this, click on your Pods project and select the UberRides target. Search for the Swift Language Version property, and change it to "Swift 4.0".

Tangram-iOS - Tangram is a modular UI solution for building native page dynamically , including Tangram for Android, Tangram for iOS and even backend CMS

  •    Objective-C

Tangram is a UI Framework for building a fast and dynamic ScrollView.Tips: If you get [!] Unable to find a specification for `LazyScroll` when executed pod install, you can try to update ruby to 2.3.0 or higher and update CocoaPods to 1.0.0 or higher . If it doesn't work , you can try to reset or update CocoaPods master repo again .

GoogleReporter - Easily integrate with Google Analytics in your iOS app

  •    Swift

Easily integrate Google Analytics into your iOS, macOS, and tvOS app without downloading any of the Google SDKs. Works with Carthage & CocoaPods or just put GoogleReporter.swift into your project.

JLRoutes - URL routing library for iOS with a simple block-based API

  •    Objective-C

JLRoutes is a URL routing library with a simple block-based API. It is designed to make it very easy to handle complex URL schemes in your application with minimal code. JLRoutes is available for installation using CocoaPods or Carthage (add github "joeldev/JLRoutes" to your Cartfile).

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.