Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ Model object observation for [Skip Lite](https://skip.tools) transpiled Swift. P

See what API is included [here](#api-support).

## Setup

To include this framework in your project, add the following
dependency to your `Package.swift` file:

```swift
let package = Package(
name: "my-package",
products: [
.library(name: "MyProduct", targets: ["MyTarget"]),
],
dependencies: [
.package(url: "https://source.skip.tools/skip-model.git", from: "1.0.0"),
],
targets: [
.target(name: "MyTarget", dependencies: [
.product(name: "SkipModel", package: "skip-model")
])
]
)
```

## About

SkipModel vends the `skip.model` Kotlin package. This package contains `Observable` and `ObservableObject` interfaces, representing the two core protocols that SwiftUI uses to observe changes to model objects. It also includes limited `Publisher` support.
Expand Down
2 changes: 1 addition & 1 deletion Sources/SkipModel/Skip/skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ settings:
contents:
- block: 'create("libs")'
contents:
- 'version("androidx-compose-bom", "2025.09.01")'
- 'version("androidx-compose-bom", "2025.10.01")'
- 'library("androidx-compose-bom", "androidx.compose", "compose-bom").versionRef("androidx-compose-bom")'
- 'library("androidx-compose-runtime", "androidx.compose.runtime", "runtime").withoutVersion()'

Expand Down