Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. Swish

Swish

MITSwift4.0.0

A protocol-based networking library for Swift focused on requesting and decoding JSON via Decodable.

GitHubGitHub
359 stars36 forks0 contributors

What is Swish?

Swish is a Swift networking library that simplifies making HTTP requests and decoding JSON responses using Swift's native `Decodable` protocol. It provides a clean, protocol-based API that helps developers build robust and testable network layers for iOS and macOS applications.

Target Audience

Swift developers building iOS or macOS apps who need a lightweight, type-safe networking solution integrated with Codable for JSON handling.

Value Proposition

Developers choose Swish for its focus on testability through protocol-oriented design, seamless integration with Swift's Decodable, and avoidance of over-engineering compared to larger networking frameworks.

Overview

Nothing but Net(working)

Use Cases

Best For

  • Building type-safe network layers in Swift apps
  • Testing network requests with easy mocking
  • Integrating JSON APIs with Codable models
  • Creating customizable HTTP client logic
  • Simplifying networking code in iOS/macOS projects
  • Adopting protocol-oriented architecture for networking

Not Ideal For

  • Projects requiring built-in caching, image loading, or complex request chaying out-of-the-box
  • Apps that need to handle non-JSON response formats like XML or Protobuf without custom work
  • Teams seeking a large ecosystem with extensive third-party plugins and community support
  • Cross-platform development beyond iOS and macOS, as it's Swift-specific

Pros & Cons

Pros

Protocol-Oriented Architecture

Built around protocols for easy mocking and testing, enabling highly testable network code as emphasized in the documentation.

Seamless Decodable Integration

Directly integrates with Swift's Decodable for type-safe JSON parsing, simplifying response handling without extra boilerplate.

Customization Flexibility

Allows developers to tailor request handling and response processing to specific needs, avoiding rigid abstractions.

Built-in Testing Utilities

Includes patterns and utilities for reliable network testing, documented in the Testing.md file to support robust test suites.

Cons

Limited Feature Set

Missing advanced networking features like caching, authentication helpers, or automatic retries, requiring manual implementation.

Basic Documentation

Documentation is minimal with only basic usage and testing guides, which may not cover complex scenarios or edge cases.

No Swift Package Manager

The README only mentions Carthage and CocoaPods for installation, lacking native Swift Package Manager support which might inconvenience modern workflows.

Frequently Asked Questions

Quick Stats

Stars359
Forks36
Contributors0
Open Issues8
Last commit5 years ago
CreatedSince 2015

Tags

#ios#json-decoding#tvos#testing#watchos#swift#http-client#protocol-oriented#macos#decodable#networking

Built With

S
Swift

Included in

iOS51.7k
Auto-fetched 11 hours ago

Related Projects

AlamofireAlamofire

Elegant HTTP Networking in Swift

Stars42,424
Forks7,658
Last commit18 hours ago
AFNetworkingAFNetworking

A delightful networking framework for iOS, macOS, watchOS, and tvOS.

Stars33,386
Forks10,604
Last commit3 years ago
MoyaMoya

Network abstraction layer written in Swift.

Stars15,358
Forks1,996
Last commit1 month ago
CocoaAsyncSocketCocoaAsyncSocket

Asynchronous socket networking library for Mac and iOS

Stars12,447
Forks2,988
Last commit9 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub