Cocoa Bindings in Tutorial

Windows and WindowController Tutorial for macOS wordCount and paragraphCount dynamic variables are not key value coding compliant at the NSTextViews for displaying.

Error in debugger console explains this.

Hello,
To fix this, ensure your wordCount and paragraphCount variables are marked with the @objc attribute (or @objc dynamic) within your controller or model. macOS Cocoa bindings rely on the Objective-C runtime to locate these properties, and without this tag, NSTextView cannot find the keys at runtime.

Best regards,
Dora Nevels
voyafinancial

Yep,
These are of @objc dynamic in “WordCountViewController.swift”

Still blank next to Pop Over labels for count of Words and Paragraphs.