Skip to content
Discussion options

You must be logged in to vote

The app is written in Swift and that is the entry point for it. The app relies on a library (SushitrainCore.xcframework) that is built from Go code using gomobile. This Go code imports Syncthing packages, so effectively the xcframework library contains all of Syncthing. The framework additionally contains various 'glue functions' and e.g. the streaming server.

On startup, the Swift side calls into the (Go) framework, which calls into the Syncthing packages. Roughly speaking at startup it does all the things the main function of the regular Syncthing binary will do to start up a full Syncthing node (in the current process, so not forking or spawning a separate one).

We are not doing any pr…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@pixelspark
Comment options

Answer selected by pixelspark
@SoylentGraham
Comment options

@pixelspark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants