Add preliminary Swift support

See #200