Question: is xcode only for mac?
Answer: When making apps for an Apple device (phone, watch, computer) you need to use Xcode. A free piece of software created by Apple that allows you to design and code up apps. Xcode only works on Apple's operating system OS X. So if you have a Mac, then you can run Xcode no problem.