Instance Method
withInterfaceUpdatesStopped(_:)
Performs work while suppressing interface updates and change notifications.
Not available in Objective-C.Not available in Python.
Declaration
func withInterfaceUpdatesStopped<E, T>(_ body: () throws(E) -> T) throws(E) -> T where E : ErrorParameters
bodyThe work to perform.
Return Value
The value returned by the body.
Discussion
Changes made by the body are not reported when the body returns or throws. Updates remain disabled when they were already disabled on entry.
See Also
Interface Updates
Defers interface updates and change notifications.
Performs work while deferring interface updates and change notifications.
Suppresses interface updates and change notifications.
Processes deferred interface updates and resumes normal update behavior.
Resumes normal update behavior without reporting changes made while updates were disabled.
Returns whether interface updates and change notifications are enabled.