So, in Xcode Swift code, you simply drag a UI component to the text editor and create an IBOutlet
like @IBOutlet weak var myLabel:UILabel
My questions are:
- I read that IBOutlet resolve to nothing during compile time. It's only a keyword for Xcode itself. I assume Xcode generated some code when I drag the UI. So, where is the code and what does it look like?
- Say, if I don't have Xcode, where/how should I write code to connect UI with it's behavior programmatically?
- After all, is it possible to write, compile, deploy IOS projects without Xcode?
Thanks,
This related question answers about how to program in Xcode not using its storyboard by configuring Xcode.