Swiftpack.co - Package - IBM-Swift/CZlib


Swift module maps for zlib, which allow you to use the zlib C library in your Swift project.


Add dependencies

Add the CZlib package to the dependencies within your application’s Package.swift file. Substitute "x.x.x" with the latest CZlib release.

.package(url: "https://github.com/IBM-Swift/CZlib.git", from: "x.x.x")

Add CZlib to your target's dependencies:

.target(name: "example", dependencies: ["CZlib"]),

Import package

import CZlib


We love to talk server-side Swift, and Kitura. Join our Slack to meet the team!