Xcode Extension accessing Current File and Xcode UI integration

For things like linters, formatting tools, and more: We need a good way to inject into the Xcode UI. Can I create a Warning or Error in the buffer/Issue Navigator?

  • Is there an example of how to mark lines/columns with a message/error/warning?
  • Get the current file path or URL object?
  • How can I place a view onto the Xcode source canvas? Like a popover or interactive window.

Replies

I created this: http://github.com/tonycoco/PrettySwift