Im trying to get class from string in Swift. It's not work. I try following:
print(NSClassFromString(dictionary[key]!) ?? "error")
It produce "error". However, in log i can see
po dictionary[key]!
"VacanciesCell"
Why is that happening?
Vacancies cell defined as:
import UIKit
class VacanciesCell: BaseCell, ModelBinding {
...
}