Hi again, another question:

Is it possible to use .gyb files to automatically generate repetitive code 
outside of the stdlib? Preferably in a SwiftPM package? Here’s an example of 
what I’ve been using it for:

https://github.com/SwiftAndroid/swift-jni/blob/master/JNIFields.swift.gyb 
<https://github.com/SwiftAndroid/swift-jni/blob/master/JNIFields.swift.gyb>

Thanks,
Geordie
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to