Class NSStringExtensions


  • public final class NSStringExtensions
    extends NSExtensions
    • Method Detail

      • getSize

        @Deprecated
        public static CGSize getSize​(long thiz,
                                     UIFont font)
        Deprecated.
        Deprecated in iOS 7.0. Use -sizeWithAttributes:
        Since:
        Available in iOS 2.0 and later.
      • getSize

        @Deprecated
        public static CGSize getSize​(long thiz,
                                     UIFont font,
                                     double width,
                                     NSLineBreakMode lineBreakMode)
        Deprecated.
        Deprecated in iOS 7.0. Use -boundingRectWithSize:options:attributes:context:
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGPoint point,
                                  UIFont font)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawAtPoint:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGPoint point,
                                  double width,
                                  UIFont font,
                                  NSLineBreakMode lineBreakMode)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawInRect:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • getSize

        @Deprecated
        public static CGSize getSize​(long thiz,
                                     UIFont font,
                                     CGSize size)
        Deprecated.
        Deprecated in iOS 7.0. Use -boundingRectWithSize:options:attributes:context:
        Since:
        Available in iOS 2.0 and later.
      • getSize

        @Deprecated
        public static CGSize getSize​(long thiz,
                                     UIFont font,
                                     CGSize size,
                                     NSLineBreakMode lineBreakMode)
        Deprecated.
        Deprecated in iOS 7.0. Use -boundingRectWithSize:options:attributes:context:
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGRect rect,
                                  UIFont font)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawInRect:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGRect rect,
                                  UIFont font,
                                  NSLineBreakMode lineBreakMode)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawInRect:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGRect rect,
                                  UIFont font,
                                  NSLineBreakMode lineBreakMode,
                                  NSTextAlignment alignment)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawInRect:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • getSize

        @Deprecated
        public static CGSize getSize​(long thiz,
                                     UIFont font,
                                     double minFontSize,
                                     org.robovm.rt.bro.ptr.MachineSizedFloatPtr actualFontSize,
                                     double width,
                                     NSLineBreakMode lineBreakMode)
        Deprecated.
        Deprecated in iOS 7.0.
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGPoint point,
                                  double width,
                                  UIFont font,
                                  double fontSize,
                                  NSLineBreakMode lineBreakMode,
                                  UIBaselineAdjustment baselineAdjustment)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawInRect:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • draw

        @Deprecated
        public static CGSize draw​(long thiz,
                                  CGPoint point,
                                  double width,
                                  UIFont font,
                                  double minFontSize,
                                  org.robovm.rt.bro.ptr.MachineSizedFloatPtr actualFontSize,
                                  NSLineBreakMode lineBreakMode,
                                  UIBaselineAdjustment baselineAdjustment)
        Deprecated.
        Deprecated in iOS 7.0. Use -drawInRect:withAttributes:
        Since:
        Available in iOS 2.0 and later.
      • getSize

        public static CGSize getSize​(long thiz,
                                     NSDictionary<NSString,​?> attrs)
        Since:
        Available in iOS 7.0 and later.
      • draw

        public static void draw​(long thiz,
                                CGPoint point,
                                NSDictionary<NSString,​?> attrs)
        Since:
        Available in iOS 7.0 and later.
      • draw

        public static void draw​(long thiz,
                                CGRect rect,
                                NSDictionary<NSString,​?> attrs)
        Since:
        Available in iOS 7.0 and later.