From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001
From: 单军华
Date: Thu, 19 Jul 2018 13:38:55 +0800
Subject: [PATCH] change

---
 screendisplay/Pods/RAlertView/RAlertView/TextHelper.m |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/screendisplay/Pods/RAlertView/RAlertView/TextHelper.m b/screendisplay/Pods/RAlertView/RAlertView/TextHelper.m
new file mode 100755
index 0000000..971491a
--- /dev/null
+++ b/screendisplay/Pods/RAlertView/RAlertView/TextHelper.m
@@ -0,0 +1,23 @@
+//
+//  TextHelper.m
+//  RAlert
+//
+//  Created by roycms on 2016/11/26.
+//  Copyright �� 2016��� roycms. All rights reserved.
+//
+
+#import "TextHelper.h"
+
+
+@implementation TextHelper
+
++ (NSMutableAttributedString *)attributedStringForString:(NSString *)str lineSpacing:(CGFloat)lineSpacing{
+    
+    NSMutableAttributedString * attributedString = [[NSMutableAttributedString alloc] initWithString:str];
+    NSMutableParagraphStyle * paragraphStyle = [[NSMutableParagraphStyle alloc] init];
+    [paragraphStyle setLineSpacing:lineSpacing];
+    [attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [str length])];
+    return attributedString;
+}
+
+@end

--
Gitblit v1.8.0