summaryrefslogtreecommitdiffstats
path: root/macosx/HBAttributedStringAdditions.m
blob: 3700eb9644385d221fe313752fa3adb975201343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  HBAttributedStringAdditions.m
//  HandBrake
//
//  Created by Damiano Galassi on 16/01/15.
//
//

#import "HBAttributedStringAdditions.h"

@implementation NSMutableAttributedString (HBAttributedStringAdditions)

- (void)appendString:(NSString *)aString withAttributes:(NSDictionary *)aDictionary
{
    NSAttributedString *s = [[NSAttributedString alloc] initWithString:aString
                                                             attributes:aDictionary];
    [self appendAttributedString:s];
}

@end