Tableview timed reading and removal of information for a morse code use case

Hello! I am working on a school project for a “morse code communicator” type app where one types into the app in English and is returned with a translation in morse code on screen and in a table view you message is entered character by character.

 

My thought is that when the user presses the send button after they have finished typing their message, the app will grab the top character from the table view, interpret what character it is, vibrate in morse code the correct letter that corresponds, and then remove it and move on to the next character.

 

Here is a link to a video of my app: https://drive.google.com/file/d/1L6kgVh5nziXObD4kaqDjTGhbumMGez4s/view?usp=sharing

 

This is seems like a very hard thing to do, but this is what I need help with and if anyone could lead me in the right direction that would be much appreciated! Thank you!

 

 

(I am thinking as of right now for the vibration, as morse code is short and long vibrations, AudioServicesPlayAlertSound(kSystemSoundID_Vibrate) for a long vibration would be good and maybe AudioServicesPlaySystemSound(1520) would work for a short vibration)

 

Powered by WPeMatico

You may also like...

Comments are closed.