Convert OCJPosition to Swift