Hardware or XCode, as noted XCode is free until you want to distribute apps.
I didn’t like it much. It’s ok. Of course I was using Objective-C and that sucked big time.
No, Xcode is free, period. Distributing apps on the Mac is free, I do it all the time.
Limited distribution of apps on the iPhone might still be free, I need to check.
Now, if you want to go on about Apple management being SJW pinheads, and that they're in bed with dictatorial mainland China, etc., etc., you'll get no argument from me.
It was cool, then.