The answer is both. Swift can be used to build software that runs on the client (frontend) and the server (backend) . Most modern iOS (and iPadOS), tvOS, macOS, and watchOS applications are written in Swift, proving that it is an excellent programming language for frontend development.
Read moreDo apps have a backend?
The backend is also responsible for handling web requests and web responses . It is usually known as the part of an app that can’t be seen by the user, and it works intrinsically with the frontend to deliver the final product.
Read moreWhat database is used for iOS apps?
The 3 Best Databases for iOS Apps
Read more