UINavigationBar Cor do texto no Swift

Como eu mudaria a cor doUINavigationBar em Swift?

A maioria das coisas on-line diz para fazer algo como:

[self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor]}];

Que eu traduzi para

let titleDict: NSDictionary = ["NSForegroundColorAttributeName": UIColor.whiteColor()]
self.navigationController.navigationBartitleTextAttributes = titleDict
//self is referring to a UIViewController

Mas isso não funciona. Eu já mudei as cores do plano de fundo e do botão, mas a cor do texto não muda. Alguma ideia?

questionAnswers(10)

yourAnswerToTheQuestion