Demo of porting Obj-C to Swift