NSTextStorageDelegate_Extensions 类

定义

接口的 INSTextStorageDelegate 扩展方法,以支持协议中的所有方法 NSTextStorageDelegate

public static class NSTextStorageDelegate_Extensions
type NSTextStorageDelegate_Extensions = class
继承
NSTextStorageDelegate_Extensions

注解

的扩展方法 INSTextStorageDelegate 允许开发人员将 接口的实例视为具有原始 NSTextStorageDelegate 协议的所有可选方法。 由于 接口仅包含所需成员,因此这些扩展方法允许开发人员调用协议的可选成员。

方法

DidProcessEditing(INSTextStorageDelegate, NSTextStorage, NSTextStorageEditActions, NSRange, nint)

指示已为指定的editingRange 完成编辑。

WillProcessEditing(INSTextStorageDelegate, NSTextStorage, NSTextStorageEditActions, NSRange, nint)

指示即将开始对指定editingRange 进行编辑的处理。

适用于