Swift and Xcode are different technologies. Swift is a programming language for iOS development. Whereas Xcode provides an integrated development environment so it is just an IDE for ios app development.