ChatGPT's UI is great for learning about code concepts, but as an actual code assistant having the assistant inside the editor with the full context could be more efficient. Here's an xcode example I hacked into xcode