garrett-davidson / Swiftingbridge
A python based solution to generate native Swift Scripting Bridge files
Stars: ✭ 25
Programming Languages
python
139335 projects - #7 most used programming language
SwiftingBridge
Apple's Scripting Bridge is totally awesome, but also unfortunately a complete mess. Swift is also fantastic, but still a bit of a mess as it continues to evolve. Here I have created their bastard child.
Swifting Bridge uses Apple's builtin sdef
and sdp
utilities to generate a Scripting Bridge header (as described in Apple's official documentation for Scripting Bridge) and then uses that generated Objective-C header to generate a native Swift file with (theoretically) all of the same functionality. That Swift file can be drug straight into a full Swift application and voila.
- No Objective-C Bridging Headers.
- No Swift wrappers.
- No dealing with generic
SBObject
s. - No damn linker errors.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].