Where can I get a complete list of all NS (Cocoa) based classes?
As far as I remember, the Foundation, AppKit, and Core Data frameworks contain all the inexhaustible NS * classes. You can find links to Foundation , AppKit , and Core Data at developer.apple.com or in the documentation installed locally using Apple's developer tools (use Xcode Help-> Documentation). For a list of all Cocoa frameworks, run here .
a source to share
You will find an overview of the class hierarchy Foundation and class hierarchy Kit the Application (grouped by topic) in Cocoa on the basics of Manual .
a source to share
There is a free app that Andy Lee wrote that is very useful for quickly accessing a method called AppKiDo:
http://homepage.mac.com/aglee/downloads/appkido.html
It gives you the ability to include individual frames in your search results.
a source to share
If you just want to knock out a list of all classes based on object c, just open a terminal, run
grep -Rho "@interface [a-zA-Z]\+" /Applications/Xcode.app/Contents/Developer/Platforms | cut -d" " -f2 | awk '!a[$0]++' | sort
You will need Xcode. It will take some time, but it covers all platforms (macOS, tvOS, watchOS, etc.). To simply target a specific platform, adjust your path accordingly. So, to change macOS only:
/Applications/Xcode.app/Contents/Developer/Platforms
at
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
or you can narrow it down to a specific structure. This will work for protocols too. Just change @interface to @protocol.
a source to share