CoinToss
CoinToss is an iOS app written in Swift that simulates a coin being tossed. Now there is no need to carry spare change just so that you can flip a coin to see who pays for lunch :-)
Instructions
Updated for Xcode 9 and Swift 4. But really on requires iOS 8 (and probably less than that).
License
CoinToss is licensed under the MIT License. See the LICENSE file for more information, but basically this is sample code and you can do whatever you want with it.