Unable to import NS* classes from Cocoa/Appkit

Hello,
I tried to use the searchKit example after installing pyobjc and my IDE is not able to resolve Cocoa.NSObject. Also, I'm unable to import NSworkspace from AppKit. Is this not supported anymore?
Do I need to install any modules other than pyobjc? I'm fairly new to this and trying to write a simple app to work on Mac os sierra (10.12.16) (running latest pyobjc). Any suggestions would be helpful.