NSFetchedResultsControllerDelegate

Trait NSFetchedResultsControllerDelegate 

Source
pub unsafe trait NSFetchedResultsControllerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn controller_didChangeContentWithDifference(
        &self,
        controller: &NSFetchedResultsController,
        diff: &NSOrderedCollectionDifference<NSManagedObjectID>,
    )
       where Self: Sized + Message { ... }
    unsafe fn controller_didChangeObject_atIndexPath_forChangeType_newIndexPath(
        &self,
        controller: &NSFetchedResultsController,
        an_object: &AnyObject,
        index_path: Option<&NSIndexPath>,
        type: NSFetchedResultsChangeType,
        new_index_path: Option<&NSIndexPath>,
    )
       where Self: Sized + Message { ... }
    unsafe fn controller_didChangeSection_atIndex_forChangeType(
        &self,
        controller: &NSFetchedResultsController,
        section_info: &ProtocolObject<dyn NSFetchedResultsSectionInfo>,
        section_index: NSUInteger,
        type: NSFetchedResultsChangeType,
    )
       where Self: Sized + Message { ... }
    unsafe fn controllerWillChangeContent(
        &self,
        controller: &NSFetchedResultsController,
    )
       where Self: Sized + Message { ... }
    unsafe fn controllerDidChangeContent(
        &self,
        controller: &NSFetchedResultsController,
    )
       where Self: Sized + Message { ... }
    unsafe fn controller_sectionIndexTitleForSectionName(
        &self,
        controller: &NSFetchedResultsController,
        section_name: &NSString,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSFetchedResultsController only.
Expand description

Provided Methods§

Source

unsafe fn controller_didChangeContentWithDifference( &self, controller: &NSFetchedResultsController, diff: &NSOrderedCollectionDifference<NSManagedObjectID>, )
where Self: Sized + Message,

Available on crate feature NSManagedObjectID only.
Source

unsafe fn controller_didChangeObject_atIndexPath_forChangeType_newIndexPath( &self, controller: &NSFetchedResultsController, an_object: &AnyObject, index_path: Option<&NSIndexPath>, type: NSFetchedResultsChangeType, new_index_path: Option<&NSIndexPath>, )
where Self: Sized + Message,

Source

unsafe fn controller_didChangeSection_atIndex_forChangeType( &self, controller: &NSFetchedResultsController, section_info: &ProtocolObject<dyn NSFetchedResultsSectionInfo>, section_index: NSUInteger, type: NSFetchedResultsChangeType, )
where Self: Sized + Message,

Source

unsafe fn controllerWillChangeContent( &self, controller: &NSFetchedResultsController, )
where Self: Sized + Message,

Source

unsafe fn controllerDidChangeContent( &self, controller: &NSFetchedResultsController, )
where Self: Sized + Message,

Source

unsafe fn controller_sectionIndexTitleForSectionName( &self, controller: &NSFetchedResultsController, section_name: &NSString, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn NSFetchedResultsControllerDelegate

Source§

const NAME: &'static str = "NSFetchedResultsControllerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSFetchedResultsControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> NSFetchedResultsControllerDelegate for ProtocolObject<T>

Implementors§