/** @since Available in iOS 7.0 and later. */ public static NSAttributedString create(NSTextAttachment attachment) { return NSAttributedStringExtensions.create(attachment); }
/** @since Available in iOS 6.0 and later. */ public void draw( @ByVal CGRect rect, NSStringDrawingOptions options, NSStringDrawingContext context) { NSAttributedStringExtensions.draw(this, rect, options, context); }
/** @since Available in iOS 6.0 and later. */ public CGRect getBoundingRect( @ByVal CGSize size, NSStringDrawingOptions options, NSStringDrawingContext context) { return NSAttributedStringExtensions.getBoundingRect(this, size, options, context); }
/** @since Available in iOS 6.0 and later. */ public void draw(CGPoint point) { NSAttributedStringExtensions.draw(this, point); }
/** @since Available in iOS 6.0 and later. */ public void draw(CGRect rect) { NSAttributedStringExtensions.draw(this, rect); }
/** @since Available in iOS 6.0 and later. */ public CGSize getSize() { return NSAttributedStringExtensions.getSize(this); }
/** * @param range * @param dict * @return * @since Available in iOS 7.0 and later. * @throws NSErrorException */ public NSFileWrapper getFileWrapper(NSRange range, NSAttributedStringDocumentAttributes dict) throws NSErrorException { return NSAttributedStringExtensions.getFileWrapper(this, range, dict); }
/** * @param range * @param dict * @return * @since Available in iOS 7.0 and later. * @throws NSErrorException */ public NSData getData(NSRange range, NSAttributedStringDocumentAttributes dict) throws NSErrorException { return NSAttributedStringExtensions.getData(this, range, dict); }
/** * @param data * @param options * @return * @since Available in iOS 7.0 and later. * @throws NSErrorException */ public static NSAttributedString create(NSData data, NSAttributedStringDocumentAttributes options) throws NSErrorException { return NSAttributedStringExtensions.createFromData(data, options); }
/** * @param url * @param options * @return * @since Available in iOS 7.0 and later. * @throws NSErrorException */ public static NSAttributedString create(NSURL url, NSAttributedStringDocumentAttributes options) throws NSErrorException { return NSAttributedStringExtensions.createFromURL(url, options); }