mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Add attributed string method.
This commit is contained in:
parent
de062d44e9
commit
788adc3ff9
1 changed files with 3 additions and 2 deletions
|
@ -92,8 +92,9 @@
|
|||
|
||||
- (NSAttributedString *) annotatedStringFromPersonNameComponents: (NSPersonNameComponents *)components
|
||||
{
|
||||
return AUTORELEASE([[NSAttributedString alloc] initWithString:
|
||||
[self stringFromPersonNameComponents: components]]);
|
||||
NSAttributedString *result = AUTORELEASE([[NSAttributedString alloc] initWithString:
|
||||
[self stringFromPersonNameComponents: components]]);
|
||||
return result;
|
||||
}
|
||||
|
||||
- (NSPersonNameComponents *) personNameComponentsFromString: (NSString *)string
|
||||
|
|
Loading…
Reference in a new issue