There are tools like context7. Apple is also starting to put markdown files summarizing/detailing APIs for inclusion in LLM context automatically and have shipped these inside Xcode