Skip to content

aaxu/Schedule-Alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Schedule Alert

Author

  • Aaron Xu

Never miss an event again!

This app is similar to an alarm clock. When an event is close the app will remind you that you need to get going! It will continually send you reminders until the alarm is dismissed.

Features

  • When an event is within 30 minutes, the phone will give a notification that will appear on the screen. If the phone is locked, the app will wake up the screen and display the alert.

  • If the alert is not dismissed, as the time gets closer to the event, the duration and the intensity of the vibration will increase. When there are 5 minutes remaining, an alarm will sound and the phone will vibrate continually until dismissed or 10 minutes have passed.

Due to Swift limitations, the vibration modifications and continuous alerts were not able to be implemented. Currently, the app sends notifications every 5 minutes.

  • The app itself functions essentially like an alarm and you can set multiple alarms (with the ability to go off on selected days of the week at specific times).

  • On each alarm, there is a switch to turn the alarm on and off.

  • Each alarm can have a description added to it to show what it's for.

Control Flow

  • Upon opening the app, the user will be presented with a list of all upcoming events in order, from top to bottom.

  • Tapping an event on this screen will allow the user to change its settings.

  • On the top right, there will be a button that allows the user to add a new task and set the time when it will go off and other settings.

  • There will be a button that allows you to select your alarm tone. When clicked, the view will go to TableViewController that displays a list of available ringtones to select from.

  • After adding a new alarm, the view will unwind and user will go back to the screen they were in before.

Implementation

Model

  • Event.swift

  • Day.swift

  • Alarm.swift

View

  • AlarmTableView (Used for displaying the events in order)

  • WeekdayTableView (Displays events in order when user taps calendar)

  • CalendarCollectionView (Used to display the calendar)

  • AlertView (Used as the alert popup view that the user must dismiss)

Controller

  • AlarmTableViewController

  • WeekdayTableViewController

  • CalendarCollectionViewController

  • AlertViewController

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages