rust-macios 0.4.2

Apple Frameworks for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use rust_macios_objective_c_runtime_proc_macros::interface_impl;

use crate::object;

use super::IUNNotificationTrigger;

object! {
    /// A trigger condition that indicates Apple Push Notification Service (APNs) has sent the notification.
    unsafe pub struct UNPushNotificationTrigger;
}

impl IUNNotificationTrigger for UNPushNotificationTrigger {}

#[interface_impl(UNNotificationTrigger)]
impl UNPushNotificationTrigger {}