support swift version 1.0