Update icrate to v0.0.4 (#2992)

This commit is contained in:
Mads Marquart 2023-08-02 16:30:41 +02:00 committed by GitHub
parent 19e3906369
commit b5aa96bea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 62 additions and 62 deletions

View file

@ -5,7 +5,7 @@ use std::ptr::NonNull;
use icrate::Foundation::{CGFloat, CGRect, MainThreadMarker, NSObject, NSObjectProtocol, NSSet};
use objc2::declare::{Ivar, IvarDrop};
use objc2::rc::Id;
use objc2::runtime::Class;
use objc2::runtime::AnyClass;
use objc2::{declare_class, extern_methods, msg_send, msg_send_id, mutability, ClassType};
use super::uikit::{
@ -167,7 +167,7 @@ extern_methods!(
// TODO: Allow the user to customize this
#[method(layerClass)]
pub(crate) fn layerClass() -> &'static Class;
pub(crate) fn layerClass() -> &'static AnyClass;
}
);