Honestly, reading the headers is the only way to understand iOS, macOS, and iPadOS properly.
I find that the older I get, the more _code is my documentation._ Particularly for things like Python's matplotlib, once you do more than put lines or scatter plots together, you _have_ to understand how the code actually works.
Of course, that's difficult when all you get is header files, but still...