Package apple.uikit
Class NSTextStorage
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSAttributedString
-
- apple.foundation.NSMutableAttributedString
-
- apple.uikit.NSTextStorage
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSItemProviderReading,NSItemProviderWriting,NSMutableCopying,NSSecureCoding,NSObject
public class NSTextStorage extends NSMutableAttributedString implements NSSecureCoding
Note for subclassing NSTextStorage: NSTextStorage is a semi-abstract subclass of NSMutableAttributedString. It implements change management (beginEditing/endEditing), verification of attributes, delegate handling, and layout management notification. The one aspect it does not implement is the actual attributed string storage --- this is left up to the subclassers, which need to override the two NSMutableAttributedString primitives in addition to two NSAttributedString primitives: - (NSString *)string; - (NSDictionary *)attributesAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer)range; - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)str; - (void)setAttributes:(NSDictionary *)attrs range:(NSRange)range; These primitives should perform the change then call edited:range:changeInLength: to get everything else to happen.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.foundation.NSAttributedString
NSAttributedString.Block_enumerateAttributeInRangeOptionsUsingBlock, NSAttributedString.Block_enumerateAttributesInRangeOptionsUsingBlock, NSAttributedString.Block_loadFromHTMLWithDataOptionsCompletionHandler, NSAttributedString.Block_loadFromHTMLWithFileURLOptionsCompletionHandler, NSAttributedString.Block_loadFromHTMLWithRequestOptionsCompletionHandler, NSAttributedString.Block_loadFromHTMLWithStringOptionsCompletionHandler
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.foundation.protocol.NSItemProviderWriting
NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSTextStorage(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long_itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)java.lang.Object_objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)NSArray<java.lang.String>_readableTypeIdentifiersForItemProvider()boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.NSArray<java.lang.String>_writableTypeIdentifiersForItemProvider_static()static booleanaccessInstanceVariablesDirectly()voidaddLayoutManager(NSLayoutManager aLayoutManager)Adds aLayoutManager to the receiver.static NSTextStoragealloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static NSAttributedStringattributedStringWithAttachment(NSTextAttachment attachment)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)longchangeInLength()The length delta for the pending changes.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()NSTextStorageDelegatedelegate()Delegate ***************************static java.lang.Stringdescription_static()longeditedMask()The NSTextStorageEditActions mask indicating that there are pending changes for attributes, characters, or both.NSRangeeditedRange()The range for pending changes.voideditedRangeChangeInLength(long editedMask, NSRange editedRange, long delta)Notifies and records a recent change.voidencodeWithCoder(NSCoder coder)voidensureAttributesAreFixedInRange(NSRange range)Ensures all attributes in range are validated and ready to be used.booleanfixesAttributesLazily()Indicates if the receiver fixes invalidated attributes lazily.static longhash_static()NSTextStorageinit()NSTextStorageinitWithAttributedString(NSAttributedString attrStr)NSTextStorageinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERNSTextStorageinitWithDataOptionsDocumentAttributesError(NSData data, NSDictionary<java.lang.String,?> options, org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,?>> dict, org.moe.natj.general.ptr.Ptr<NSError> error)NSTextStorageinitWithFileURLOptionsDocumentAttributesError(NSURL url, NSDictionary<?,?> options, org.moe.natj.general.ptr.Ptr<NSDictionary<?,?>> dict, org.moe.natj.general.ptr.Ptr<NSError> error)Deprecated.NSTextStorageinitWithString(java.lang.String str)NSTextStorageinitWithStringAttributes(java.lang.String str, NSDictionary<java.lang.String,?> attrs)NSTextStorageinitWithURLOptionsDocumentAttributesError(NSURL url, NSDictionary<java.lang.String,?> options, org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,?>> dict, org.moe.natj.general.ptr.Ptr<NSError> error)Methods initializing the receiver contents with an external document data.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)voidinvalidateAttributesInRange(NSRange range)Notes the range of attributes that requires validation.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static longitemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)NSArray<? extends NSLayoutManager>layoutManagers()NSLayoutManager objects owned by the receiver.static voidloadFromHTMLWithDataOptionsCompletionHandler(NSData data, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithDataOptionsCompletionHandler completionHandler)static voidloadFromHTMLWithFileURLOptionsCompletionHandler(NSURL fileURL, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithFileURLOptionsCompletionHandler completionHandler)static voidloadFromHTMLWithRequestOptionsCompletionHandler(NSURLRequest request, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithRequestOptionsCompletionHandler completionHandler)static voidloadFromHTMLWithStringOptionsCompletionHandler(java.lang.String string, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithStringOptionsCompletionHandler completionHandler)static java.lang.Objectnew_objc()static java.lang.ObjectobjectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)voidprocessEditing()Sends out -textStorage:willProcessEditing, fixes the attributes, sends out -textStorage:didProcessEditing, and notifies the layout managers of change with the -processEditingForTextStorage:edited:range:changeInLength:invalidatedRange: method.static NSArray<java.lang.String>readableTypeIdentifiersForItemProvider()voidremoveLayoutManager(NSLayoutManager aLayoutManager)Removes aLayoutManager from the receiver if already owned by it.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetDelegate(NSTextStorageDelegate value)Delegate ***************************voidsetDelegate_unsafe(NSTextStorageDelegate value)Delegate ***************************static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static longversion_static()static NSArray<java.lang.String>writableTypeIdentifiersForItemProvider_static()-
Methods inherited from class apple.foundation.NSMutableAttributedString
addAttributesRange, addAttributeValueRange, appendAttributedString, beginEditing, deleteCharactersInRange, endEditing, fixAttributesInRange, insertAttributedStringAtIndex, mutableString, readFromDataOptionsDocumentAttributesError, readFromFileURLOptionsDocumentAttributesError, readFromURLOptionsDocumentAttributesError, removeAttributeRange, replaceCharactersInRangeWithAttributedString, replaceCharactersInRangeWithString, setAttributedString, setAttributesRange
-
Methods inherited from class apple.foundation.NSAttributedString
attributeAtIndexEffectiveRange, attributeAtIndexLongestEffectiveRangeInRange, attributedSubstringFromRange, attributesAtIndexEffectiveRange, attributesAtIndexLongestEffectiveRangeInRange, boundingRectWithSizeOptionsContext, containsAttachmentsInRange, copyWithZone, dataFromRangeDocumentAttributesError, drawAtPoint, drawInRect, drawWithRectOptionsContext, enumerateAttributeInRangeOptionsUsingBlock, enumerateAttributesInRangeOptionsUsingBlock, fileWrapperFromRangeDocumentAttributesError, isEqualToAttributedString, itemProviderVisibilityForRepresentationWithTypeIdentifier, length, loadDataWithTypeIdentifierForItemProviderCompletionHandler, mutableCopyWithZone, size, string, writableTypeIdentifiersForItemProvider
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSTextStorage alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
attributedStringWithAttachment
public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
addLayoutManager
public void addLayoutManager(NSLayoutManager aLayoutManager)
Adds aLayoutManager to the receiver. Sends -[NSLayoutManager setTextStorage:] to aLayoutManager with the receiver.
-
changeInLength
public long changeInLength()
The length delta for the pending changes.
-
delegate
public NSTextStorageDelegate delegate()
Delegate ***************************
-
editedRangeChangeInLength
public void editedRangeChangeInLength(long editedMask, NSRange editedRange, long delta)Notifies and records a recent change. If there are no outstanding -beginEditing calls, this method calls -processEditing to trigger post-editing processes. This method has to be called by the primitives after changes are made if subclassed and overridden. editedRange is the range in the original string (before the edit).
-
editedMask
public long editedMask()
The NSTextStorageEditActions mask indicating that there are pending changes for attributes, characters, or both.
-
editedRange
public NSRange editedRange()
The range for pending changes. {NSNotFound, 0} when there is no pending changes.
-
ensureAttributesAreFixedInRange
public void ensureAttributesAreFixedInRange(NSRange range)
Ensures all attributes in range are validated and ready to be used. An NSTextStorage that is lazy is required to call the following method before accessing any attributes. This gives the attribute fixing a chance to occur if necessary. NSTextStorage subclasses that wish to support laziness must call it from all attribute accessors that they implement. The default concrete subclass does call this from its accessors.
-
fixesAttributesLazily
public boolean fixesAttributesLazily()
Indicates if the receiver fixes invalidated attributes lazily. The concrete UIKit subclass fixes attributes lazily by default. The abstract class (hence, all custom subclasses) is not lazy.
-
init
public NSTextStorage init()
- Overrides:
initin classNSMutableAttributedString
-
initWithAttributedString
public NSTextStorage initWithAttributedString(NSAttributedString attrStr)
- Overrides:
initWithAttributedStringin classNSMutableAttributedString
-
initWithCoder
public NSTextStorage initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classNSMutableAttributedString
-
initWithDataOptionsDocumentAttributesError
public NSTextStorage initWithDataOptionsDocumentAttributesError(NSData data, NSDictionary<java.lang.String,?> options, org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,?>> dict, org.moe.natj.general.ptr.Ptr<NSError> error)
- Overrides:
initWithDataOptionsDocumentAttributesErrorin classNSMutableAttributedString
-
initWithFileURLOptionsDocumentAttributesError
@Deprecated public NSTextStorage initWithFileURLOptionsDocumentAttributesError(NSURL url, NSDictionary<?,?> options, org.moe.natj.general.ptr.Ptr<NSDictionary<?,?>> dict, org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.- Overrides:
initWithFileURLOptionsDocumentAttributesErrorin classNSMutableAttributedString
-
initWithString
public NSTextStorage initWithString(java.lang.String str)
- Overrides:
initWithStringin classNSMutableAttributedString
-
initWithStringAttributes
public NSTextStorage initWithStringAttributes(java.lang.String str, NSDictionary<java.lang.String,?> attrs)
- Overrides:
initWithStringAttributesin classNSMutableAttributedString
-
initWithURLOptionsDocumentAttributesError
public NSTextStorage initWithURLOptionsDocumentAttributesError(NSURL url, NSDictionary<java.lang.String,?> options, org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,?>> dict, org.moe.natj.general.ptr.Ptr<NSError> error)
Description copied from class:NSAttributedStringMethods initializing the receiver contents with an external document data. options specify document attributes for interpreting the document contents. NSDocumentTypeDocumentAttribute, NSCharacterEncodingDocumentAttribute, and NSDefaultAttributesDocumentAttribute are supported options key. When they are not specified, these methods will examine the data and do their best to detect the appropriate attributes. If dict is non-NULL, it will return a dictionary with various document-wide attributes accessible via NS...DocumentAttribute keys.- Overrides:
initWithURLOptionsDocumentAttributesErrorin classNSMutableAttributedString
-
invalidateAttributesInRange
public void invalidateAttributesInRange(NSRange range)
Notes the range of attributes that requires validation. If the NSTextStorage is not lazy this just calls fixAttributesInRange:. If it is lazy this instead just records the range needing fixing in order to do it later.
-
layoutManagers
public NSArray<? extends NSLayoutManager> layoutManagers()
NSLayoutManager objects owned by the receiver.
-
processEditing
public void processEditing()
Sends out -textStorage:willProcessEditing, fixes the attributes, sends out -textStorage:didProcessEditing, and notifies the layout managers of change with the -processEditingForTextStorage:edited:range:changeInLength:invalidatedRange: method. Invoked from -edited:range:changeInLength: or -endEditing.
-
removeLayoutManager
public void removeLayoutManager(NSLayoutManager aLayoutManager)
Removes aLayoutManager from the receiver if already owned by it. Sends -[NSLayoutManager setTextStorage:] to aLayoutManager with nil.
-
setDelegate_unsafe
public void setDelegate_unsafe(NSTextStorageDelegate value)
Delegate ***************************
-
setDelegate
public void setDelegate(NSTextStorageDelegate value)
Delegate ***************************
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classNSMutableAttributedString
-
itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
-
_itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public long _itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
- Specified by:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin interfaceNSItemProviderWriting- Overrides:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin classNSMutableAttributedString
-
objectWithItemProviderDataTypeIdentifierError
public static java.lang.Object objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
-
_objectWithItemProviderDataTypeIdentifierError
public java.lang.Object _objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
- Specified by:
_objectWithItemProviderDataTypeIdentifierErrorin interfaceNSItemProviderReading- Overrides:
_objectWithItemProviderDataTypeIdentifierErrorin classNSMutableAttributedString
-
readableTypeIdentifiersForItemProvider
public static NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
-
_readableTypeIdentifiersForItemProvider
public NSArray<java.lang.String> _readableTypeIdentifiersForItemProvider()
- Specified by:
_readableTypeIdentifiersForItemProviderin interfaceNSItemProviderReading- Overrides:
_readableTypeIdentifiersForItemProviderin classNSMutableAttributedString
-
writableTypeIdentifiersForItemProvider_static
public static NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
-
_writableTypeIdentifiersForItemProvider_static
public NSArray<java.lang.String> _writableTypeIdentifiersForItemProvider_static()
- Specified by:
_writableTypeIdentifiersForItemProvider_staticin interfaceNSItemProviderWriting- Overrides:
_writableTypeIdentifiersForItemProvider_staticin classNSMutableAttributedString
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding- Overrides:
encodeWithCoderin classNSAttributedString
-
loadFromHTMLWithDataOptionsCompletionHandler
public static void loadFromHTMLWithDataOptionsCompletionHandler(NSData data, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithDataOptionsCompletionHandler completionHandler)
-
loadFromHTMLWithFileURLOptionsCompletionHandler
public static void loadFromHTMLWithFileURLOptionsCompletionHandler(NSURL fileURL, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithFileURLOptionsCompletionHandler completionHandler)
-
loadFromHTMLWithRequestOptionsCompletionHandler
public static void loadFromHTMLWithRequestOptionsCompletionHandler(NSURLRequest request, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithRequestOptionsCompletionHandler completionHandler)
-
loadFromHTMLWithStringOptionsCompletionHandler
public static void loadFromHTMLWithStringOptionsCompletionHandler(java.lang.String string, NSDictionary<java.lang.String,?> options, NSAttributedString.Block_loadFromHTMLWithStringOptionsCompletionHandler completionHandler)
-
-