Skip to content

Commit

Permalink
Merge pull request #647 from manuel-martos/missing_declaration_issue
Browse files Browse the repository at this point in the history
Missing declaration issue
  • Loading branch information
mmartosdev authored Jan 8, 2024
2 parents 119020c + d01dd69 commit 9c99cee
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import com.bumble.appyx.navigation.store.RetainedInstanceStore
import com.bumble.appyx.utils.multiplatform.BuildFlags
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.withContext
import kotlin.experimental.ExperimentalObjCRefinement
import kotlin.native.HiddenFromObjC

@Suppress("TooManyFunctions")
@Stable
Expand Down Expand Up @@ -121,7 +123,14 @@ open class Node internal constructor(
}
}

/**
* Exposing this method to ObjC causes compilation time errors while targeting iOS, that's why
* we've to annotate this method with @HiddenFromObjC. More details in the thread below:
* https://kotlinlang.slack.com/archives/C05FPNA6P27/p1699883454768869.
*/
@Composable
@OptIn(ExperimentalObjCRefinement::class)
@HiddenFromObjC
protected open fun DerivedSetup() {

}
Expand Down

0 comments on commit 9c99cee

Please sign in to comment.