Semaphores for Objective-C and Swift.
This project is fully compatible with Swift.
In order to use the Semaphore
class from Swift, simply link with Semaphore.framework
(ARC target - see below) and:
import Semaphore
The following targets are available:
- OS X static library (
.a
). - OS X dynamic library (
.dylib
). - OS X framework (
.framework
). - iOS static library (
.a
).
All targets are available for both ARC and MRC (see below).
- OS X deployment target: OS X 10.6 (ARC - see below), OS X 10.4 (MRC - see below)
- OS X architectures: x86_64, i386 (non-ARC - see below)
- iOS deployment target: iOS 6.0
- iOS architectures: armv7, armv7s, arm64
All project's targets comes in two flavors.
One using ARC - Automatic Reference Counting, the other using Manual Reference Counting (MRC).
If you're targeting only 64-bits platforms and/or 10.7 deployment targets, you're advised to use the ARC targets.
Otherwise, if targeting 32-bits platforms and/or deployment targets lower than 10.7, MRC targets are available.
The project is released under the terms of the MIT License.
Owner: Jean-David Gadina - XS-Labs
Web: www.xs-labs.com
Blog: www.noxeos.com
Twitter: @macmade
GitHub: github.com/macmade
LinkedIn: ch.linkedin.com/in/macmade/
StackOverflow: stackoverflow.com/users/182676/macmade