Repository navigation
Conversation
Generated `_Bridge.swift` code cannot write `$name` for a `private` or `fileprivate` state or environment property, so it now reads such a wrapper through `Java_bridgedProperty(self, "_name")`. The Kotlin side and the code for every other property are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ceylo
commented
Nov 11, 2026
| return [functionDeclaration] | ||
| } | ||
|
|
||
| private func swiftUIStateReceiver(_ name: String, boxName: String, supportTypeName: String, modifiers: Modifiers) -> String { |
Contributor
Author
There was a problem hiding this comment.
This function is used for @State but also for @AppStorage, @GestureState and @FocusState
4 of 5 tasks
Ceylo
added a commit
to Ceylo/skip-fuse-ui
that referenced
this pull request
Nov 11, 2026
skipstone moved into skiptools/skip, so #316 was reopened there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ceylo
added a commit
to Ceylo/skip-fuse-ui
that referenced
this pull request
Nov 11, 2026
Needs a skip release that bridges a private @State or @Environment (skiptools/skip#757). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ceylo
marked this pull request as ready for review
November 11, 2026 08:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reopened from skiptools/skipstone#316, since skipstone moved into this repo.
2nd part of skiptools/skip-fuse-ui#165
For a private property, this PR changes the Swift accessor's receiver:
SkipSwiftUI finds the wrapper by its label with
Mirror. Views without private properties generate exactly what they did before.Skip Pull Request Checklist:
swift testTested on FurAffinityApp on an API 37 emulator: 37 views with private state, settings persist across a restart, feed and detail screens work.