Xcode runs pretty well on all currently shipping hardware. Some random thoughts:
Make sure you get an SSD (or Fusion drive).
Screen real estate is really important. I do all my work on a laptop and I’ve got used to having a small screen, but there’s no doubt that bigger screens are better.
I’m not sure if the Macs in the Apple Store have Xcode installed. If so, you could visit your local store to see what’s it’s like in person.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"