The Swift Collective

Fostering a growing collection of cross platform swift packages.

Introduction

We're helping to make the swift ecosystem great.

Our open source work is on GitHub which consists of a growing collection of cross platform swift packages.

Our current focus is on establishing high quality swift packages of many widely used C/C++ libraries through Swift/C++ interop so that swift's ecosystem can benefit from cross platform apps, plugins, libraries, and games.

Some Swift code blocks

Here's an example of creating a USD stage in swift.

import PixarUSD

/* create a new stage, containing a transform and a sphere. */

let stage = Pixar.Usd.Stage.createNew("Example", ext: .usda)

var xform = Pixar.UsdGeom.Xform.define(stage, "/hello")
var sphere = Pixar.UsdGeom.Sphere.define(stage, "/hello/world")

stage.save()

Some initial cross platform packages:

  • The ZLib swift package, providing spiffy yet delicately unobtrusive compression for swift.

  • LibPNG, portable network graphics (.png) support for swift.

  • Another image file format, WebP codec support for swift.



Publications

The Swift Collective

Fostering a growing collection of cross platform swift packages.

The Swift Collective

Articles, tools & resources for developers

Find a topic

All publications are filtered by topic.

Available Tags