简体   繁体   中英

Can I view iOS documentation from Android Studio IDE for Kotlin Multiplatform?

My background is on Android development but I started recently working with KMM.

When developing apps using KMM I find myself wanting to check the iOS SDK code quite often. Is there a way to access this code? I guess it's not open source, so the answer should be no, right?

Is there a way to at least have access to something like the Javadocs for iOS from inside the IDE?

When building for iOS targets, the SDK should be available as platform libraries(see the documentation ). In general, this code can be reached by importing platform.<libname>.<class> , IDEA and Android Studio should resolve and suggest them correctly. However, platform libs do not provide any docs at this moment.
The recommended approach is to use Objective-C API description in Apple's documentation to learn more about particular classes and methods, eg NSApplication .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM