[][src]Trait uikit_sys::INSNotificationCenter

pub trait INSNotificationCenter: Sized + Deref {
    unsafe fn addObserver_selector_name_object_(
        self,
        observer: id,
        aSelector: Sel,
        aName: NSString,
        anObject: id
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn postNotification_(self, notification: NSNotification)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn postNotificationName_object_(self, aName: NSString, anObject: id)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn postNotificationName_object_userInfo_(
        self,
        aName: NSString,
        anObject: id,
        aUserInfo: NSDictionary
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeObserver_(self, observer: id)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeObserver_name_object_(
        self,
        observer: id,
        aName: NSString,
        anObject: id
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn addObserverForName_object_queue_usingBlock_(
        self,
        name: NSString,
        obj: id,
        queue: NSOperationQueue,
        block: _bindgen_ty_id_144994
    ) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn defaultCenter() -> NSNotificationCenter
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn addObserver_selector_name_object_(
    self,
    observer: id,
    aSelector: Sel,
    aName: NSString,
    anObject: id
) where
    Self::Target: Message + Sized

unsafe fn postNotification_(self, notification: NSNotification) where
    Self::Target: Message + Sized

unsafe fn postNotificationName_object_(self, aName: NSString, anObject: id) where
    Self::Target: Message + Sized

unsafe fn postNotificationName_object_userInfo_(
    self,
    aName: NSString,
    anObject: id,
    aUserInfo: NSDictionary
) where
    Self::Target: Message + Sized

unsafe fn removeObserver_(self, observer: id) where
    Self::Target: Message + Sized

unsafe fn removeObserver_name_object_(
    self,
    observer: id,
    aName: NSString,
    anObject: id
) where
    Self::Target: Message + Sized

unsafe fn addObserverForName_object_queue_usingBlock_(
    self,
    name: NSString,
    obj: id,
    queue: NSOperationQueue,
    block: _bindgen_ty_id_144994
) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn defaultCenter() -> NSNotificationCenter where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSNotificationCenter for NSNotificationCenter[src]

Loading content...