Swift app implementation with RPA

Hey everyone,

Is it possible to implement RPA with a Swift written application?

for ex:

If a button is clicked by user could the app run a process written with UiPath, how does it work or does it work?