Can Swift make apps that communicate with other devices via bluetooth/WiFi?

Hello!

I am an undergrad trying to work on a project that works similar to a Fitbit. I want to understand how I can send data from a wearable device to a smartphone where the data is visualized on an app. Is Swift the program for making such an app?

If so, how can I teach myself how to make said app? Where's the best place to start?

If not, what kind of software am I looking for that is best suitable for the functionality I've described?

I would really appreciate your guidance!

Swift is just a computer language. Your first job is to design what you want to do, regardless of the language. What platform(s) are your targets (Apple watches, iPhones, Android phones, Fitbits. etc.)?
What media are you going to use (Bluetooth, low energy WIFI, both)? What will your data stream look like? What are your data communication protocols look like (request/response, continual feed, etc.)? What does the UI going to look like on the device and the phone? Once you've started to get a handle on these questions, you can look at the infrastructures you want to support, the libraries and frameworks from the platforms you want to support that provide the low-level services, etc.. Then, you can start to code this all up in Swift, Kotlin, Java, Objective-C/C++, or whatever language suits your fancy depending on what platforms you want to support.

For Apple platforms, Swift is probably the best choice as the implementation language. For other platforms, there may be better choices based on what you want to accomplish.

This forum isn't supposed to be a training ground for new programmers to learn programming itself, application architecture, specifics on platforms, and infrastructures, etc.. There many other resources out there for Apple, Android, and other platforms, as well new programming training sites and materials. If you have questions about the Swift language, its infrastructure, interacting with other language like C, then this is the place.