I also tried to do the cool new trend and leverage ChatGPT to help with this. I did get some help from it, but TBH I was troubleshooting its code so often, and I needed to be more comfortable with macOS development to make it work.