Swift integration of cs193p