共用方式為


NSTextStorageDelegate_Extensions 類別

定義

介面的 INSTextStorageDelegate 擴充方法,以支援來自 NSTextStorageDelegate 通訊協定的所有方法。

public static class NSTextStorageDelegate_Extensions
type NSTextStorageDelegate_Extensions = class
繼承
NSTextStorageDelegate_Extensions

備註

INSTextStorageDelegate 擴充方法可讓開發人員將介面的實例視為具有原始 NSTextStorageDelegate 通訊協定的所有選擇性方法。 由於介面只包含必要的成員,這些擴充方法可讓開發人員呼叫通訊協定的選擇性成員。

方法

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

表示已針對指定的已編輯Range 完成編輯。

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

表示在指定的editingRange 上進行編輯的處理即將啟動。

適用於