Skip to content

Template to generate Swift->ObjC bridging classes for structs and enums using Sourcery

Notifications You must be signed in to change notification settings

Elaz-viz/AutoObjCBridgeable

 
 

Repository files navigation

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.

About

Template to generate Swift->ObjC bridging classes for structs and enums using Sourcery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 75.4%
  • Ruby 13.2%
  • Objective-C 11.4%