What is SwiftSafe?

SwiftSafe is a thread synchronization made easy.


Performance-sensitive classes need internal state synchronization, so that external accessors don’t break the internal invariants and cause race conditions. Using GCD (Grand Central Dispatch) directly can confuse newcomers, because the API doesn’t necessarily reflect the actual reason why it’s being used. That’s why wrapping it in a straighforward Swifty API can introduce a bit more clarity to your code.


  • Pricing: Free
  • Resource Link: https://github.com/nodes-ios/SwiftSafe
  • Resource Maker on Twitter: Honza Dvorsky
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: SwiftSafe
  • Carthage: nodes-ios/SwiftSafe