summaryrefslogtreecommitdiffstats
path: root/macosx/HBAttributedStringAdditions.m
blob: 1f16a95680a80c218fc64f1969034ec0548ced72 (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