Package org.robovm.apple.uikit
Class NSMutableAttributedStringExtensions
java.lang.Object
org.robovm.objc.ObjCExtensions
org.robovm.apple.foundation.NSExtensions
org.robovm.apple.uikit.NSMutableAttributedStringExtensions
public final class NSMutableAttributedStringExtensions extends NSExtensions
-
Method Summary
Modifier and Type Method Description static voidfixAttributesInRange(NSMutableAttributedString thiz, NSRange range)static booleanread(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts)static booleanread(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict)static booleanread(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts)static booleanread(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict)static booleanreadFromFileURL(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict)Deprecated.Deprecated in iOS 9.0.Methods inherited from class org.robovm.apple.foundation.NSExtensions
allocMethods inherited from class org.robovm.objc.ObjCExtensions
initObject, updateStrongRef
-
Method Details
-
read
public static boolean read(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts) throws NSErrorException- Throws:
NSErrorException
-
read
public static boolean read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts) throws NSErrorException- Throws:
NSErrorException
-
fixAttributesInRange
-
read
public static boolean read(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException- Throws:
NSErrorException- Since:
- Available in iOS 9.0 and later.
-
read
public static boolean read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException- Throws:
NSErrorException
-
readFromFileURL
@Deprecated public static boolean readFromFileURL(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorExceptionDeprecated.Deprecated in iOS 9.0. Use readFromURL:options:documentAttributes:error:- Throws:
NSErrorException
-