Skip to content

Commit

Permalink
Add the SpriteKit framework
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 13, 2025
1 parent 3ba5e5b commit 613c845
Show file tree
Hide file tree
Showing 12 changed files with 620 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

18 changes: 18 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 @@ -45,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `SceneKit` / `objc2-scene-kit`.
- `ScreenSaver` / `objc2-screen-saver`.
- `Security` / `objc2-security`.
- `SpriteKit` / `objc2-sprite-kit`.
- `SystemConfiguration` / `objc2-system-configuration`.
- `VideoToolbox` / `objc2-video-toolbox`.
- `WatchConnectivity` / `objc2-watch-connectivity`.
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 @@ -90,6 +90,7 @@
| `Social` | [![`objc2-social`](https://badgen.net/crates/v/objc2-social)](https://crates.io/crates/objc2-social) | [![docs.rs](https://docs.rs/objc2-social/badge.svg)](https://docs.rs/objc2-social/) |
| `SoundAnalysis` | [![`objc2-sound-analysis`](https://badgen.net/crates/v/objc2-sound-analysis)](https://crates.io/crates/objc2-sound-analysis) | [![docs.rs](https://docs.rs/objc2-sound-analysis/badge.svg)](https://docs.rs/objc2-sound-analysis/) |
| `Speech` | [![`objc2-speech`](https://badgen.net/crates/v/objc2-speech)](https://crates.io/crates/objc2-speech) | [![docs.rs](https://docs.rs/objc2-speech/badge.svg)](https://docs.rs/objc2-speech/) |
| `SpriteKit` | [![`objc2-sprite-kit`](https://badgen.net/crates/v/objc2-sprite-kit)](https://crates.io/crates/objc2-sprite-kit) | [![docs.rs](https://docs.rs/objc2-sprite-kit/badge.svg)](https://docs.rs/objc2-sprite-kit/) |
| `StoreKit` | [![`objc2-store-kit`](https://badgen.net/crates/v/objc2-store-kit)](https://crates.io/crates/objc2-store-kit) | [![docs.rs](https://docs.rs/objc2-store-kit/badge.svg)](https://docs.rs/objc2-store-kit/) |
| `Symbols` | [![`objc2-symbols`](https://badgen.net/crates/v/objc2-symbols)](https://crates.io/crates/objc2-symbols) | [![docs.rs](https://docs.rs/objc2-symbols/badge.svg)](https://docs.rs/objc2-symbols/) |
| `SystemConfiguration` | [![`objc2-system-configuration`](https://badgen.net/crates/v/objc2-system-configuration)](https://crates.io/crates/objc2-system-configuration) | [![docs.rs](https://docs.rs/objc2-system-configuration/badge.svg)](https://docs.rs/objc2-system-configuration/) |
Expand Down
3 changes: 3 additions & 0 deletions crates/test-frameworks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ test-frameworks = [
"objc2-sound-analysis/all",
"dep:objc2-speech",
"objc2-speech/all",
"dep:objc2-sprite-kit",
"objc2-sprite-kit/all",
"dep:objc2-store-kit",
"objc2-store-kit/all",
"dep:objc2-symbols",
Expand Down Expand Up @@ -257,6 +259,7 @@ objc2-photos-ui = { path = "../../framework-crates/objc2-photos-ui", optional =
objc2-scene-kit = { path = "../../framework-crates/objc2-scene-kit", optional = true }
objc2-security = { path = "../../framework-crates/objc2-security", optional = true }
objc2-sound-analysis = { path = "../../framework-crates/objc2-sound-analysis", optional = true }
objc2-sprite-kit = { path = "../../framework-crates/objc2-sprite-kit", optional = true }
objc2-store-kit = { path = "../../framework-crates/objc2-store-kit", optional = true }
objc2-symbols = { path = "../../framework-crates/objc2-symbols", optional = true }
objc2-uniform-type-identifiers = { path = "../../framework-crates/objc2-uniform-type-identifiers", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion framework-crates/objc2-scene-kit/translation-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ external.AVAudioNode.module = "AVFAudio.AVAudioNode"
# Both protocol and class
protocol.SCNAnimation.renamed = "SCNAnimationProtocol"

# Needs SpriteKit
# Needs SpriteKit (potential recursion, unsure which framework should depend on which)
protocol.SCNSceneRenderer.methods."presentScene:withTransition:incomingPointOfView:completionHandler:".skipped = true
protocol.SCNSceneRenderer.methods."overlaySKScene".skipped = true
protocol.SCNSceneRenderer.methods."setOverlaySKScene:".skipped = true
Expand Down
Loading

0 comments on commit 613c845

Please sign in to comment.