Reputation: 16043
I am following the hands on tutorial on KMM, and reached the point where I should write the iOS part of the app, however, when I head over to any of the .swift
files, there's no syntax highlighting, the content appears as a plain text file.
From what I see, the iosApp
is not recognized at all as a module (like the androidApp
, that has the name of the module highlighted via bold font), I suppose that is the issue.
Any thoughts on how to fix this?
Upvotes: 3
Views: 877
Reputation: 8038
If anyone runs into the same issue with AppCode not highlighting Swift, I just had to close the project and reopen it.
Upvotes: 0
Reputation: 17312
You'll need to use Xcode or (possibly) AppCode. Android Studio and the KMM plugin do not understand or highlight Swift code directly.
Upvotes: 2