how to join two NSMutableAttributeString into single NSMutableAttributeString in swift
            Asked
            
        
        
            Active
            
        
            Viewed 644 times
        
    -3
            
            
        - 
                    http://stackoverflow.com/a/31390761/1311272 does that help? – Sajjon May 27 '16 at 06:34
 - 
                    sorry guys,NSMutableAttributeString how can i add two into single? – rajes May 27 '16 at 06:41
 
1 Answers
1
            
            
        Simple try this:
let a = NSMutableAttributedString(string: "Hello")
let b = NSMutableAttributedString(string: "world!")
a.appendAttributedString(b)
print("final string =\(a)")
        Nagarjun
        
- 6,557
 - 5
 - 33
 - 51
 
- 
                    how can i convert two NSMutableAttributeStrings into single NSMutableAttributeString – rajes May 27 '16 at 06:46
 - 
                    
 - 
                    1
 - 
                    
 - 
                    
 - 
                    
 -