Skip to content

Commit

Permalink
Add the EventKitUI framework
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Dec 11, 2024
1 parent 9a085ee commit 5c61433
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

10 changes: 10 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/header-translator/src/unexposed_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ impl UnexposedAttr {
| "CT_ENUM_UNAVAILABLE"
| "CT_UNAVAILABLE"
| "COREVIDEO_GL_DEPRECATED"
| "EVENTKITUI_CLASS_AVAILABLE"
| "FPUI_AVAILABLE"
| "MLCOMPUTE_AVAILABLE_STARTING"
| "MLCOMPUTE_AVAILABLE_STARTING_BUT_DEPRECATED_MACOS14"
Expand Down
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 @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `CoreFoundation` / `objc2-core-foundation`.
- `CoreText` / `objc2-core-text`.
- `CoreVideo` / `objc2-core-video`.
- `EventKitUI` / `objc2-event-kit-ui`.
- `IOSurface` / `objc2-io-surface`.
- `ScreenSaver` / `objc2-screen-saver`.

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 @@ -33,6 +33,7 @@
| `DataDetection` | [![`objc2-data-detection`](https://badgen.net/crates/v/objc2-data-detection)](https://crates.io/crates/objc2-data-detection) | [![docs.rs](https://docs.rs/objc2-data-detection/badge.svg)](https://docs.rs/objc2-data-detection/) |
| `DeviceCheck` | [![`objc2-device-check`](https://badgen.net/crates/v/objc2-device-check)](https://crates.io/crates/objc2-device-check) | [![docs.rs](https://docs.rs/objc2-device-check/badge.svg)](https://docs.rs/objc2-device-check/) |
| `EventKit` | [![`objc2-event-kit`](https://badgen.net/crates/v/objc2-event-kit)](https://crates.io/crates/objc2-event-kit) | [![docs.rs](https://docs.rs/objc2-event-kit/badge.svg)](https://docs.rs/objc2-event-kit/) |
| `EventKitUI` | [![`objc2-event-kit-ui`](https://badgen.net/crates/v/objc2-event-kit-ui)](https://crates.io/crates/objc2-event-kit-ui) | [![docs.rs](https://docs.rs/objc2-event-kit-ui/badge.svg)](https://docs.rs/objc2-event-kit-ui/) |
| `ExceptionHandling` | [![`objc2-exception-handling`](https://badgen.net/crates/v/objc2-exception-handling)](https://crates.io/crates/objc2-exception-handling) | [![docs.rs](https://docs.rs/objc2-exception-handling/badge.svg)](https://docs.rs/objc2-exception-handling/) |
| `ExtensionKit` | [![`objc2-extension-kit`](https://badgen.net/crates/v/objc2-extension-kit)](https://crates.io/crates/objc2-extension-kit) | [![docs.rs](https://docs.rs/objc2-extension-kit/badge.svg)](https://docs.rs/objc2-extension-kit/) |
| `ExternalAccessory` | [![`objc2-external-accessory`](https://badgen.net/crates/v/objc2-external-accessory)](https://crates.io/crates/objc2-external-accessory) | [![docs.rs](https://docs.rs/objc2-external-accessory/badge.svg)](https://docs.rs/objc2-external-accessory/) |
Expand Down
99 changes: 99 additions & 0 deletions framework-crates/objc2-event-kit-ui/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-event-kit-ui/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-event-kit-ui/src/generated

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

20 changes: 20 additions & 0 deletions framework-crates/objc2-event-kit-ui/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//! # Bindings to the `EventKitUI` framework
//!
//! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information.
//!
//! [apple-doc]: https://developer.apple.com/documentation/eventkitui/
//! [framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html
#![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// Update in Cargo.toml as well.
#![doc(html_root_url = "https://docs.rs/objc2-event-kit-ui/0.2.2")]

#[cfg(feature = "alloc")]
extern crate alloc;

#[cfg(feature = "std")]
extern crate std;

mod generated;
#[allow(unused_imports, unreachable_pub)]
pub use self::generated::*;
6 changes: 6 additions & 0 deletions framework-crates/objc2-event-kit-ui/translation-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework = "EventKitUI"
crate = "objc2-event-kit-ui"
required-dependencies = ["objc2-foundation"]
maccatalyst = "13.0"
ios = "4.0"
visionos = "1.0"

0 comments on commit 5c61433

Please sign in to comment.