FREE TRIAL: Accelerate your app development career with Hacking with Swift+! >>

How to use NSSpellChecker and NSTextCheckingController?

Forums > macOS

I have been looking for information on how to implement NSSpellChecker and NSTextCheckingController the last couple of days and have come up empty. Does anybody of some information using these two AppKit API's or even better an example on using them with an IBOutlet text field?

I understand Apple use to make available the source code for textEdit app? Does anybody know if this is still the case?



Any luck with this? I have just started looking into the NSTextCheckingController and the lack of documentation is shocking.


Hacking with Swift is sponsored by Sentry

SPONSORED With Sentry’s error and performance monitoring for iOS you see mobile vitals that actually matter, can solve any latency issues quickly, and learn how each release is performing over time.

Get started

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.