This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crate::outline::{data_source::OutlineViewDataSource, delegate::OutlineViewDelegate}; | |
use crate::AppDelegate; | |
use objc2::__framework_prelude::ProtocolObject; | |
use objc2::rc::{Retained, Weak}; | |
use objc2::{declare_class, msg_send_id, sel, ClassType, DeclaredClass, MainThreadOnly}; | |
use objc2_app_kit::{ | |
NSButton, NSColor, NSOutlineView, NSScrollView, NSSplitViewController, NSSplitViewItem, | |
NSViewController, | |
}; | |
use objc2_foundation::{ns_string, MainThreadMarker, NSObjectProtocol}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crate::outline::{data_source::OutlineViewDataSource, delegate::OutlineViewDelegate}; | |
use crate::AppDelegate; | |
use objc2::__framework_prelude::ProtocolObject; | |
use objc2::rc::{Retained, Weak}; | |
use objc2::{declare_class, msg_send_id, sel, ClassType, DeclaredClass, MainThreadOnly}; | |
use objc2_app_kit::{ | |
NSButton, NSColor, NSOutlineView, NSScrollView, NSSplitViewController, NSSplitViewItem, | |
NSViewController, | |
}; | |
use objc2_foundation::{ns_string, MainThreadMarker, NSObjectProtocol}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![deny(unsafe_op_in_unsafe_fn)] | |
#![allow(clippy::incompatible_msrv)] | |
mod tut; | |
use std::cell::OnceCell; | |
use std::ffi::c_void; | |
use objc2::rc::{Id, Retained}; | |
use objc2::encode::{Encode, RefEncode}; | |
use objc2::runtime::{AnyObject, ProtocolObject}; |