I'm trying to download xcode to my pc as I need to edit the code but it won't run (software not available) is there a way around this?
can i download and use on a PC?
Sorry, but Xcode is available for Mac only. If you're seriously looking into development for Mac or iOS, you need to get a Mac.
The files which contain the code (.swift, .m, .h, .c, etc...) are all text files, and any development program or even any text editor should be able to open and edit them.
LCS,
While that much is true, there is no point in even attempting to write for Mac or iOS in
Swift, Objective-C or any other language for that matter if you cannot compile it and
run your applications.
Vicky,
You MUST have a Mac to run xCode. You can use third party tools and a windows
based PC to create apps for iOS devices but those are not supported in these forums
and are unreliable since Apple changes things very often making those tools all but
useless. If your goal is to develop for iOS or the OSX platform, buy a Mac. Even a
refurbished Mac Mini will be more than sufficient to code on.