My first attempt to a mac application