Avaliable on the Mac App Store: Link
This is a simple menu-bar application for Mac OS X devices (10.10+) that lets the user select which League of Legends server they are playing on, and shows them their current ping (delay) to this server.
The ICMP protocol is used to send and receive data to remote servers. The project implements the SimplePing API by Apple to ease the process.
The application is run automatically at startup (whenever the user logs in). This is achieved by the LauncherHelper application embedded in the project. LauncherHelper is registered as a login item, and launches LoLPing when it is run. LoLPing terminates LauncherHelper once it initializes properly.
The user data (the users selected LoL server) is stored in the UserDefaults.standard library.