From 6119449ea3a01c069d6b37595d86a7daf9c72473 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 11 Jan 2014 04:20:21 -0800 Subject: [PATCH] I can't believe I wasted an entire day on this. --- UIKit/NSString-UIStringDrawing.h | 10 +++++----- UIKit/NSString-UIStringDrawingDeprecated.h | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/UIKit/NSString-UIStringDrawing.h b/UIKit/NSString-UIStringDrawing.h index 0bda043..0193670 100644 --- a/UIKit/NSString-UIStringDrawing.h +++ b/UIKit/NSString-UIStringDrawing.h @@ -8,17 +8,17 @@ @interface NSString (UIStringDrawing) - (struct CGSize)sizeWithFont:(id)fp8; -- (struct CGSize)sizeWithFont:(id)fp8 forWidth:(float)fp12 lineBreakMode:(int)fp16; +- (struct CGSize)sizeWithFont:(id)fp8 forWidth:(CGFloat)fp12 lineBreakMode:(int)fp16; - (struct CGSize)drawAtPoint:(struct CGPoint)fp8 withFont:(id)fp16; -- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(id)fp20 lineBreakMode:(int)fp24; +- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(CGFloat)fp16 withFont:(id)fp20 lineBreakMode:(int)fp24; - (struct CGSize)sizeWithFont:(id)fp8 constrainedToSize:(struct CGSize)fp12; - (struct CGSize)sizeWithFont:(id)fp8 constrainedToSize:(struct CGSize)fp12 lineBreakMode:(int)fp20; - (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(id)fp24; - (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(id)fp24 lineBreakMode:(int)fp28; - (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(id)fp24 lineBreakMode:(int)fp28 alignment:(int)fp32; -- (struct CGSize)sizeWithFont:(id)fp8 minFontSize:(float)fp12 actualFontSize:(float *)fp16 forWidth:(float)fp20 lineBreakMode:(int)fp24; -- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(id)fp20 fontSize:(float)fp24 lineBreakMode:(int)fp28 baselineAdjustment:(int)fp32; -- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(id)fp20 minFontSize:(float)fp24 actualFontSize:(float *)fp28 lineBreakMode:(int)fp32 baselineAdjustment:(int)fp36; +- (struct CGSize)sizeWithFont:(id)fp8 minFontSize:(CGFloat)fp12 actualFontSize:(CGFloat *)fp16 forWidth:(CGFloat)fp20 lineBreakMode:(int)fp24; +- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(CGFloat)fp16 withFont:(id)fp20 fontSize:(CGFloat)fp24 lineBreakMode:(int)fp28 baselineAdjustment:(int)fp32; +- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(CGFloat)fp16 withFont:(id)fp20 minFontSize:(CGFloat)fp24 actualFontSize:(CGFloat *)fp28 lineBreakMode:(int)fp32 baselineAdjustment:(int)fp36; - (id)securedStringIncludingLastCharacter:(BOOL)fp8; @end diff --git a/UIKit/NSString-UIStringDrawingDeprecated.h b/UIKit/NSString-UIStringDrawingDeprecated.h index e0d9c5c..8eee723 100644 --- a/UIKit/NSString-UIStringDrawingDeprecated.h +++ b/UIKit/NSString-UIStringDrawingDeprecated.h @@ -11,16 +11,16 @@ - (void)drawInRect:(struct CGRect)fp8 withStyle:(id)fp24; - (void)drawMarkupAtPoint:(struct CGPoint)fp8; - (void)drawMarkupInRect:(struct CGRect)fp8; -- (struct CGSize)sizeWithStyle:(id)fp8 forWidth:(float)fp12; -- (struct CGSize)sizeWithMarkupForWidth:(float)fp8; +- (struct CGSize)sizeWithStyle:(id)fp8 forWidth:(CGFloat)fp12; +- (struct CGSize)sizeWithMarkupForWidth:(CGFloat)fp8; - (void)setStringDrawingOrigin:(struct CGPoint)fp8; - (void)clearStringDrawingOrigin; - (struct CGSize)sizeWithFont:(id)fp8; -- (struct CGSize)sizeWithFont:(id)fp8 forWidth:(float)fp12 ellipsis:(int)fp16; -- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(id)fp20 ellipsis:(int)fp24; -- (struct CGSize)sizeWithFont:(id)fp8 minFontSize:(float)fp12 actualFontSize:(float *)fp16 forWidth:(float)fp20 ellipsis:(int)fp24; -- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(id)fp20 fontSize:(float)fp24 ellipsis:(int)fp28 baselineAdjustment:(int)fp32; -- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(id)fp20 minFontSize:(float)fp24 actualFontSize:(float *)fp28 ellipsis:(int)fp32 baselineAdjustment:(int)fp36; +- (struct CGSize)sizeWithFont:(id)fp8 forWidth:(CGFloat)fp12 ellipsis:(int)fp16; +- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(CGFloat)fp16 withFont:(id)fp20 ellipsis:(int)fp24; +- (struct CGSize)sizeWithFont:(id)fp8 minFontSize:(CGFloat)fp12 actualFontSize:(CGFloat *)fp16 forWidth:(CGFloat)fp20 ellipsis:(int)fp24; +- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(CGFloat)fp16 withFont:(id)fp20 fontSize:(CGFloat)fp24 ellipsis:(int)fp28 baselineAdjustment:(int)fp32; +- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(CGFloat)fp16 withFont:(id)fp20 minFontSize:(CGFloat)fp24 actualFontSize:(CGFloat *)fp28 ellipsis:(int)fp32 baselineAdjustment:(int)fp36; - (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(id)fp24 ellipsis:(int)fp28; - (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(id)fp24 ellipsis:(int)fp28 alignment:(int)fp32; - (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(id)fp24; -- 2.45.2