no relationship between NSRunningApplication
and NSApplication
BUT you can get it via applescript (which you can bridge to cocoa) requires UI scripting
the script is e.g.:
tell application "System Events"
set m to menu bar 1 of application process "Notification Center"
end tell
see: https://developer.apple.com/documentation/Cocoa/Conceptual/ScriptingBridgeConcepts/index.html