Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(925)

Unified Diff: ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.h

Issue 2828743002: LabelObserver is no longer retained by the label (Closed)
Patch Set: Address comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.h
diff --git a/ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.h b/ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.h
index 9cacedef7fe5ca6673b8a9c220797b1c1fde41bc..97f4b9b523fff44f60e48f27eea7660279ac25fe 100644
--- a/ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.h
+++ b/ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.h
@@ -8,11 +8,11 @@
#import <UIKit/UIKit.h>
@interface UILabel (CRUILabelAttributeUtils)
+// The height of the label.
+// Make sure to create a LabelObserver for this label and start observing before
+// setting this property.
@property(nonatomic, assign, setter=cr_setLineHeight:) CGFloat cr_lineHeight;
-// Adjusts the line height of the receiver so that the lines will evenly f
-- (void)cr_adjustLineHeightForMaximimumLines:(NSUInteger)maximumLines;
-
@end
#endif // IOS_CHROME_BROWSER_UI_UTIL_CRUILABEL_ATTRIBUTEUTILS_H_
« no previous file with comments | « ios/chrome/browser/ui/first_run/welcome_to_chrome_view.mm ('k') | ios/chrome/browser/ui/util/CRUILabel+AttributeUtils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698