Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. - (void)viewDidLoad {
  2. [super viewDidLoad];
  3. // Do any additional setup after loading the view, typically from a nib.
  4.  
  5. self.title = NSLocalizedString(@"Wine", @"wine");
  6. //...
  7. }
  8.  
  9. - (void)updateTitle {
  10. self.title = [NSString stringWithFormat:@"%@ (%.0f %@)", @"Wine", self.conversionDrinkCount, self.conversionDrinkText];
  11. // self.title = [NSString stringWithFormat:@"%@ (%.0f %@)", [self.title copy], self.conversionDrinkCount, self.conversionDrinkText];
  12. // QUESTION: how to reference current self.title?
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement