TouchTheBed

Author: Helen Dun

Descripition

This is a Swift application built for MacOS for the purpose of annoying the user into going to bed. I created this for a research project for my CSC 485C course, “Computing for Cognitive Augmentation”, at the University of Victoria. The PDF file “Augmenting Devices to be Less Addictive” is my powerpoint for the presentation I did in class, which was acclaimed the most entertaining presentation for the day I presented.

The TouchTheBed application primarily uses the menu bar (the far-right side of the top bar of a MacOS desktop) and pop-ups. The pop-over of the menu bar allows users to set their bedtime hours in military time. The icon in the upper-riight of the pop-over also tells the user whether the application thinks it is currently bedtime or not, with a moon indicating it is bedtime and a sun indicating it is not.

The pop-up gives a random, inspirational quote, the current time and how many times the pop-up has popped up since the application was opened. While open, the pop-up also plays a loud foghorn sound on repeat, which I find is the most annoying and a bit jumpscarey- this application may not be for the faint of heart. During bedtime, the pop-up occurs at the start of bedtime and once every 10 minutes from then until daytime.

Credit

Code

Some of the code for the BedtimeTimer, Viewcontroller and AppDelegate files is taken from and/or inspired by the following tutorials:

Art & Sounds

GitHub

View Github