Template to generate Swift->ObjC bridging classes for structs and enums using Sourcery
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Generated
ObjCBridging.xcodeproj
ObjCBridging.xcworkspace
ObjCBridging
Pods
Templates
.gitignore
Gemfile
Gemfile.lock
Podfile
Podfile.lock
README.md

README.md

This repository contains an example template to generate bridging classes that expose Swift types to Objective-C.

The design of the bridging classes is taken from Benjamin Encz's post. We use Sourcery to generate the bridging code.

The code is explained in more detail in the related blog post here.