Sinatra is a micro framework for Ruby. Different to Ruby on Rails, Sinatra has simplistic approach to develop web application. In this post, we will get started with Sinatra by learning about how to create routes and access URL parameters.
Playing sound in your iOS app is essential because it can add better user experience. This article will guide you how to play sound in Swift. In this case, we will use a class AVAudioPlayer from AVFoundation package. This class provides playback of audio data from a file or memory.