An example using swift to build a catalogue app with nice effect