UINavigationBar Color del texto en Swift

¿Cómo haría para cambiar el color de laUINavigationBar en Swift?

La mayoría de las cosas en línea dicen hacer algo como:

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

Que traduje a

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

Pero no funciona. Ya cambié el fondo y los colores de los botones, pero el color del texto no cambia. ¿Algunas ideas?

Respuestas a la pregunta(10)

Su respuesta a la pregunta