Xcode in ipad

Is it possibile to install XCode on iPad?
Not right now, but check again after WWDC Keynote and/or Platforms State of the Union
No, Xcode is a macOS application and as such cannot be installed to, or run on, an iPad/iOS.

However, you can still code for Swift using the Playgrounds app on compatible iPads.
Xcode in ipad
 
 
Q