Swift 5 Obtenha o ano atual

let year = Calendar.current.component(.year, from: Date())
Wicked Wolf