Trait cocoa_foundation::foundation::NSUserDefaults

source ·
pub trait NSUserDefaults {
    // Required methods
    unsafe fn standardUserDefaults() -> Self;
    unsafe fn setBool_forKey_(self, value: BOOL, key: id);
    unsafe fn bool_forKey_(self, key: id) -> BOOL;
    unsafe fn removeObject_forKey_(self, key: id);
}

Required Methods§

source

unsafe fn standardUserDefaults() -> Self

source

unsafe fn setBool_forKey_(self, value: BOOL, key: id)

source

unsafe fn bool_forKey_(self, key: id) -> BOOL

source

unsafe fn removeObject_forKey_(self, key: id)

Object Safety§

This trait is not object safe.

Implementors§