Example #1
0
 /** @since Available in iOS 7.0 and later. */
 public static NSAttributedString create(NSTextAttachment attachment) {
   return NSAttributedStringExtensions.create(attachment);
 }
Example #2
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(
     @ByVal CGRect rect, NSStringDrawingOptions options, NSStringDrawingContext context) {
   NSAttributedStringExtensions.draw(this, rect, options, context);
 }
Example #3
0
 /** @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);
 }
Example #4
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(CGPoint point) {
   NSAttributedStringExtensions.draw(this, point);
 }
Example #5
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(CGRect rect) {
   NSAttributedStringExtensions.draw(this, rect);
 }
Example #6
0
 /** @since Available in iOS 6.0 and later. */
 public CGSize getSize() {
   return NSAttributedStringExtensions.getSize(this);
 }
Example #7
0
 /**
  * @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);
 }
Example #8
0
 /**
  * @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);
 }
Example #9
0
 /**
  * @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);
 }
Example #10
0
 /**
  * @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);
 }