Yeah, location of the file is different but otherwise the same process.
On macOS, the bitcoin.conf file is located in the ~/Library/Application Support/Bitcoin/ directory. You can access it using Finder by clicking on "Go" in the menu bar, then selecting "Go to Folder" and entering ~/Library/Application Support/Bitcoin/.