Swift Sample and Demo Source code for Training