Class NSTextStorage

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class NSTextStorage
extends NSMutableAttributedString
implements NSSecureCoding
  • Constructor Details

    • NSTextStorage

      public NSTextStorage()
    • NSTextStorage

      protected NSTextStorage​(NSObject.Handle h, long handle)
    • NSTextStorage

      protected NSTextStorage​(NSObject.SkipInit skipInit)
  • Method Details

    • getLayoutManagers

      public NSArray<NSLayoutManager> getLayoutManagers()
    • getEditedMask

      public NSTextStorageEditActions getEditedMask()
    • getEditedRange

      public NSRange getEditedRange()
    • getChangeInLength

      public long getChangeInLength()
    • getDelegate

      public NSTextStorageDelegate getDelegate()
    • setDelegate

      public void setDelegate​(NSTextStorageDelegate v)
    • fixesAttributesLazily

      public boolean fixesAttributesLazily()
    • getTextStorageObserver

      public NSTextStorageObserving getTextStorageObserver()
      Since:
      Available in iOS 15.0 and later.
    • setTextStorageObserver

      public void setTextStorageObserver​(NSTextStorageObserving v)
      Since:
      Available in iOS 15.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • WillProcessEditingNotification

      public static NSString WillProcessEditingNotification()
    • DidProcessEditingNotification

      public static NSString DidProcessEditingNotification()
    • addLayoutManager

      public void addLayoutManager​(NSLayoutManager aLayoutManager)
    • removeLayoutManager

      public void removeLayoutManager​(NSLayoutManager aLayoutManager)
    • edited

      public void edited​(NSTextStorageEditActions editedMask, NSRange editedRange, long delta)
    • processEditing

      public void processEditing()
    • invalidateAttributes

      public void invalidateAttributes​(NSRange range)
    • ensureAttributesAreFixed

      public void ensureAttributesAreFixed​(NSRange range)