Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view, typically from a nib.
- self.title = NSLocalizedString(@"Wine", @"wine");
- //...
- }
- - (void)updateTitle {
- self.title = [NSString stringWithFormat:@"%@ (%.0f %@)", @"Wine", self.conversionDrinkCount, self.conversionDrinkText];
- // self.title = [NSString stringWithFormat:@"%@ (%.0f %@)", [self.title copy], self.conversionDrinkCount, self.conversionDrinkText];
- // QUESTION: how to reference current self.title?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement