I want to understand how Foundation.NSObject is used. Here is an example. But it is not working in the sense that I can not run it.
https://www.programcreek.com/pytho