NSSpellServer example

Is there any modern example of how to create a sandboxed application that provides a spelling service to other macOS applications? The example out there are all in Objective-C and doesn't work when run in modern Xcode.

My Objective-C code all runs just fine with Xcode 15. Objective-C is still supported with Xcode. What does "doesn't work" mean specifically.

What I meant by that is the examples I managed to find online (https://github.com/ramonpoca/LanguageToolNSServer) doesn't seem to work when I run the project locally. I am not sure if Xcode configuration/version affects this, but I'm trying to find a good example I can learn from.

NSSpellServer example
 
 
Q