Skip to content

Commit

Permalink
Add the HomeKit framework
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 12, 2025
1 parent 2c52b11 commit 528b990
Show file tree
Hide file tree
Showing 11 changed files with 393 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/objc2/src/topics/about_generated/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `CoreVideo` / `objc2-core-video`.
- `DiskArbitration` / `objc2-disk-arbitration`.
- `EventKitUI` / `objc2-event-kit-ui`.
- `HomeKit` / `objc2-home-kit`.
- `IOSurface` / `objc2-io-surface`.
- `Messages` / `objc2-messages`.
- `MessageUI` / `objc2-message-ui`.
Expand Down
1 change: 1 addition & 0 deletions crates/objc2/src/topics/about_generated/list_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
| `GameController` | [![`objc2-game-controller`](https://badgen.net/crates/v/objc2-game-controller)](https://crates.io/crates/objc2-game-controller) | [![docs.rs](https://docs.rs/objc2-game-controller/badge.svg)](https://docs.rs/objc2-game-controller/) |
| `GameKit` | [![`objc2-game-kit`](https://badgen.net/crates/v/objc2-game-kit)](https://crates.io/crates/objc2-game-kit) | [![docs.rs](https://docs.rs/objc2-game-kit/badge.svg)](https://docs.rs/objc2-game-kit/) |
| `HealthKit` | [![`objc2-health-kit`](https://badgen.net/crates/v/objc2-health-kit)](https://crates.io/crates/objc2-health-kit) | [![docs.rs](https://docs.rs/objc2-health-kit/badge.svg)](https://docs.rs/objc2-health-kit/) |
| `HomeKit` | [![`objc2-home-kit`](https://badgen.net/crates/v/objc2-home-kit)](https://crates.io/crates/objc2-home-kit) | [![docs.rs](https://docs.rs/objc2-home-kit/badge.svg)](https://docs.rs/objc2-home-kit/) |
| `IOSurface` | [![`objc2-io-surface`](https://badgen.net/crates/v/objc2-io-surface)](https://crates.io/crates/objc2-io-surface) | [![docs.rs](https://docs.rs/objc2-io-surface/badge.svg)](https://docs.rs/objc2-io-surface/) |
| `IdentityLookup` | [![`objc2-identity-lookup`](https://badgen.net/crates/v/objc2-identity-lookup)](https://crates.io/crates/objc2-identity-lookup) | [![docs.rs](https://docs.rs/objc2-identity-lookup/badge.svg)](https://docs.rs/objc2-identity-lookup/) |
| `InputMethodKit` | [![`objc2-input-method-kit`](https://badgen.net/crates/v/objc2-input-method-kit)](https://crates.io/crates/objc2-input-method-kit) | [![docs.rs](https://docs.rs/objc2-input-method-kit/badge.svg)](https://docs.rs/objc2-input-method-kit/) |
Expand Down
9 changes: 6 additions & 3 deletions crates/test-frameworks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ test-frameworks = [
"objc2-game-kit/all",
"dep:objc2-health-kit",
"objc2-health-kit/all",
"dep:objc2-home-kit",
"objc2-home-kit/all",
"dep:objc2-io-surface",
"objc2-io-surface/all",
"dep:objc2-identity-lookup",
Expand Down Expand Up @@ -328,14 +330,15 @@ objc2-local-authentication = { path = "../../framework-crates/objc2-local-authen
objc2-event-kit-ui = { path = "../../framework-crates/objc2-event-kit-ui", optional = true }
objc2-message-ui = { path = "../../framework-crates/objc2-message-ui", optional = true }

[target.'cfg(any(target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"))'.dependencies]
objc2-home-kit = { path = "../../framework-crates/objc2-home-kit", optional = true }
objc2-ui-kit = { path = "../../framework-crates/objc2-ui-kit", optional = true }

[target.'cfg(target_os = "ios")'.dependencies]
objc2-messages = { path = "../../framework-crates/objc2-messages", optional = true }

[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))'.dependencies]
objc2-nearby-interaction = { path = "../../framework-crates/objc2-nearby-interaction", optional = true }

[target.'cfg(any(target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"))'.dependencies]
objc2-ui-kit = { path = "../../framework-crates/objc2-ui-kit", optional = true }

[target.'cfg(any(target_os = "ios", target_os = "watchos", target_os = "visionos"))'.dependencies]
objc2-watch-connectivity = { path = "../../framework-crates/objc2-watch-connectivity", optional = true }
297 changes: 297 additions & 0 deletions framework-crates/objc2-home-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions framework-crates/objc2-home-kit/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions framework-crates/objc2-home-kit/src/generated

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 528b990

Please sign in to comment.