Customizing Hook Integration with Xcode
By default Hook will link with whatever src file is open in the editor window. It might make sense, depending on your workflow, to link with a whole Xcode project instead. This is more appropriate for linking to higher level resources such as design documents and issue trackers to keep them readily available while you’re working.
This is a very simple and easy change, just replace the
Get Name and
Get Address scripts with the following
-- Get Address tell application "Xcode" get "file://" & path of active workspace document end tell
-- Get Name tell application "Xcode" get name of active workspace document end tell