Skip to content

Instantly share code, notes, and snippets.

@liamnichols
Last active January 2, 2016 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liamnichols/8283963 to your computer and use it in GitHub Desktop.
Save liamnichols/8283963 to your computer and use it in GitHub Desktop.
NSMutableAttributedString *string = [[NSMutableAttributedString alloc] init];
//Total Part
[string appendAttributedString:[[NSAttributedString alloc] initWithString:@"Total: " attributes:[self standardAttributes]]];
//Main Price Part
[string appendAttributedString:[[NSAttributedString alloc] initWithString:@"£99.10" attributes:[self boldAttributes]]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment