summaryrefslogtreecommitdiffstats
path: root/macosx/HBAttributedStringAdditions.m
blob: 12b9c8b4f7c10dac78491c26b65122c2423fb607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*  HBAttributedStringAdditions.m $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#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