Skip to content

An Unresolved reference 'insert' in iOS land on the calls to String.insert( char, at: position) #190

Answered by marcprux
davidakoontz asked this question in Q&A
Discussion options

You must be logged in to vote

As mentioned in the SkipLib reference at https://skip.tools/docs/modules/skip-lib/#swift-standard-library-support, Kotlin strings are not mutable, and so we cannot support functions like insert. The workaround is to do something like:

greet = atSign + greet

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcprux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants