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§
Sourceunsafe fn controller_didChangeContentWithDifference(
&self,
controller: &NSFetchedResultsController,
diff: &NSOrderedCollectionDifference<NSManagedObjectID>,
)
Available on crate features NSFetchRequest and NSManagedObjectID only.
unsafe fn controller_didChangeContentWithDifference( &self, controller: &NSFetchedResultsController, diff: &NSOrderedCollectionDifference<NSManagedObjectID>, )
NSFetchRequest and NSManagedObjectID only.§Safety
controller generic should be bound by NSFetchRequestResult.
Sourceunsafe fn controller_didChangeObject_atIndexPath_forChangeType_newIndexPath(
&self,
controller: &NSFetchedResultsController,
an_object: &AnyObject,
index_path: Option<&NSIndexPath>,
type: NSFetchedResultsChangeType,
new_index_path: Option<&NSIndexPath>,
)
Available on crate feature NSFetchRequest only.
unsafe fn controller_didChangeObject_atIndexPath_forChangeType_newIndexPath( &self, controller: &NSFetchedResultsController, an_object: &AnyObject, index_path: Option<&NSIndexPath>, type: NSFetchedResultsChangeType, new_index_path: Option<&NSIndexPath>, )
NSFetchRequest only.§Safety
controllergeneric should be bound byNSFetchRequestResult.an_objectshould be of the correct type.
Sourceunsafe fn controller_didChangeSection_atIndex_forChangeType(
&self,
controller: &NSFetchedResultsController,
section_info: &ProtocolObject<dyn NSFetchedResultsSectionInfo>,
section_index: NSUInteger,
type: NSFetchedResultsChangeType,
)
Available on crate feature NSFetchRequest only.
unsafe fn controller_didChangeSection_atIndex_forChangeType( &self, controller: &NSFetchedResultsController, section_info: &ProtocolObject<dyn NSFetchedResultsSectionInfo>, section_index: NSUInteger, type: NSFetchedResultsChangeType, )
NSFetchRequest only.§Safety
controller generic should be bound by NSFetchRequestResult.
Sourceunsafe fn controllerWillChangeContent(
&self,
controller: &NSFetchedResultsController,
)
Available on crate feature NSFetchRequest only.
unsafe fn controllerWillChangeContent( &self, controller: &NSFetchedResultsController, )
NSFetchRequest only.§Safety
controller generic should be bound by NSFetchRequestResult.
Sourceunsafe fn controllerDidChangeContent(
&self,
controller: &NSFetchedResultsController,
)
Available on crate feature NSFetchRequest only.
unsafe fn controllerDidChangeContent( &self, controller: &NSFetchedResultsController, )
NSFetchRequest only.§Safety
controller generic should be bound by NSFetchRequestResult.
Sourceunsafe fn controller_sectionIndexTitleForSectionName(
&self,
controller: &NSFetchedResultsController,
section_name: &NSString,
) -> Option<Retained<NSString>>
Available on crate feature NSFetchRequest only.
unsafe fn controller_sectionIndexTitleForSectionName( &self, controller: &NSFetchedResultsController, section_name: &NSString, ) -> Option<Retained<NSString>>
NSFetchRequest only.§Safety
controller generic should be bound by NSFetchRequestResult.
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSFetchedResultsControllerDelegate
Source§impl ProtocolType for dyn NSFetchedResultsControllerDelegate
impl ProtocolType for dyn NSFetchedResultsControllerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".