Package org.robovm.apple.uikit
Class NSAttributedStringExtensions
- java.lang.Object
-
- org.robovm.objc.ObjCExtensions
-
- org.robovm.apple.foundation.NSExtensions
-
- org.robovm.apple.uikit.NSAttributedStringExtensions
-
public final class NSAttributedStringExtensions extends NSExtensions
-
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSExtensions
alloc
-
-
-
-
Method Detail
-
create
protected static long create(org.robovm.objc.ObjCClass clazz, NSTextAttachment attachment)
- Since:
- Available in iOS 7.0 and later.
-
create
public static long create(NSTextAttachment attachment)
-
init
public static long init(NSAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes options, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 9.0 and later.
-
init
public static long init(NSAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes options, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
getData
public static NSData getData(NSAttributedString thiz, NSRange range, NSAttributedStringDocumentAttributes dict) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
getFileWrapper
public static NSFileWrapper getFileWrapper(NSAttributedString thiz, NSRange range, NSAttributedStringDocumentAttributes dict) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
containsAttachments
public static boolean containsAttachments(NSAttributedString thiz, NSRange range)
- Since:
- Available in iOS 9.0 and later.
-
initWithFileURL
@Deprecated public static long initWithFileURL(NSAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes options, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException
Deprecated.Deprecated in iOS 9.0. Use -initWithURL:options:documentAttributes:error: instead- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
getSize
public static CGSize getSize(NSAttributedString thiz)
- Since:
- Available in iOS 6.0 and later.
-
draw
public static void draw(NSAttributedString thiz, CGPoint point)
- Since:
- Available in iOS 6.0 and later.
-
draw
public static void draw(NSAttributedString thiz, CGRect rect)
- Since:
- Available in iOS 6.0 and later.
-
draw
public static void draw(NSAttributedString thiz, CGRect rect, NSStringDrawingOptions options, NSStringDrawingContext context)
- Since:
- Available in iOS 6.0 and later.
-
getBoundingRect
public static CGRect getBoundingRect(NSAttributedString thiz, CGSize size, NSStringDrawingOptions options, NSStringDrawingContext context)
- Since:
- Available in iOS 6.0 and later.
-
-