a swift demo using table view and cells