Lister app, Swift example