Objc to swift