added an Objective C class and used it in Swift