Skip to content

docs(swift-sdk): show saved views, their groups and writing them - #612

Merged
aicayzer merged 1 commit into
mainfrom
docs/swift-views
Oct 24, 2026
Merged

aicayzer merged 1 commit into
mainfrom
docs/swift-views

Conversation

@aicayzer

Copy link
Copy Markdown
Contributor

Summary

The Swift SDK page shows how to read a saved view, read a layout's groups, follow a layout with a live query, and create, change and delete a view. The read-a-view guide points to those calls in place of saying the Swift SDK adopts the core's view calls later.

Links withmarfa/marfa-swift#355, which withmarfa/marfa-swift#361 closes. Merge this after that pull request.

Changes

  • swift-sdk.mdx: a new "Saved views" section with reads, a live query over a layout, the table of read calls, and "Create, change and delete a view" with the version, idempotency key and refusal rules.
  • read-a-view.mdx: the "Read a view in an app" section names the Swift SDK's calls beside the core's, with a Swift example, and drops the line that said the SDK adopts core APIs on its own schedule.

Testing

Notes for reviewers

Checklist

  • The title is a scoped Conventional Commit.
  • New behavior has a test that was seen failing first, or no test was needed and the reason is above.
  • Docs, comments and the contract still say what is true after this change.

@aicayzer aicayzer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks only: documents withmarfa/marfa-swift#361 (reviewed and merged). The Swift snippets were compiled against that branch in a scratch package. It overlaps #611 on swift-sdk.mdx; #611 rebases after this merges.

@aicayzer
aicayzer marked this pull request as ready for review October 24, 2026 06:57
@aicayzer
aicayzer merged commit 8b274e8 into main Oct 24, 2026
3 checks passed
@aicayzer
aicayzer deleted the docs/swift-views branch October 24, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant