Newer
Older
XinYang_IOS / build / Debug-iphoneos / ZXNavigationBar / ZXNavigationBar.framework / Headers / NSAttributedString+ZXNavCalcSizeExtension.h
@zhangfeng zhangfeng on 7 Dec 567 bytes 1.9.0
//
//  NSAttributedString+ZXNavCalcSizeExtension.h
//  ZXNavigationBarDemo
//
//  Created by 李兆祥 on 2020/10/23.
//  Copyright © 2020 ZXLee. All rights reserved.
//  https://github.com/SmileZXLee/ZXNavigationBar
//  V1.4.1

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface NSAttributedString (ZXNavCalcSizeExtension)
- (CGFloat)zx_getAttrRectWidthWithLimitH:(CGFloat)limitH fontSize:(CGFloat)fontSize;
- (CGFloat)zx_getAttrRectHeightWithLimitW:(CGFloat)limitW fontSize:(CGFloat)fontSize;
@end

NS_ASSUME_NONNULL_END