Skip to content

Custom Fabric Components that use Swift code #40

Answered by cipolleschi
andrestone asked this question in Q&A
Discussion options

You must be logged in to vote

@andrestone Thanks for the question and it's amazing that you manage to make it work.

As you said, there is no interop between Swift and C++ at the moment. Your approach is the one we would suggest anyway: wrapping the SwiftView into an ObjC component. However, we have not tried nor tested it.
We know that Swift support is important and we are analyzing what we need to do to connect Swift with the New Architecture.

Replies: 2 comments

Comment options

andrestone
Jun 29, 2022
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by andrestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants