An open API service indexing awesome lists of open source software.

https://github.com/choiysapple/care-dementia

Simple app using Swift Playground
https://github.com/choiysapple/care-dementia

avfoundation playgrounds swift texttospeech uikit

Last synced: 12 months ago
JSON representation

Simple app using Swift Playground

Awesome Lists containing this project

README

          

# Care Demantia
Simple interactive educational app with Swift Playgorunds

## Contents

### 1. Introduction
this was imagethis was image
this was image
this was image
this was image
### 2. Simple Dementia Test
this was imagethis was image
this was image
this was image
this was image

## Tech Stack
- UIKit
- Swift 5

### Text to Speech
Used `AVFoundation`
```swift
func textToSpeech(_ text: String){
let synthesizer = AVSpeechSynthesizer()
let utterance = AVSpeechUtterance(string: text)

utterance.voice = AVSpeechSynthesisVoice(language: "en-US")
utterance.rate = 0.5
synthesizer.speak(utterance)
}
```

## Design
- Main Font: `AvenirNext`
- Background Color: `#colorLiteral(red: 0.968627451, green: 0.9647058824, blue: 0.9529411765, alpha: 1)`
- Tint Color: `#colorLiteral(red: 0.968627451, green: 0.9647058824, blue: 0.9529411765, alpha: 1)`

## Information Sources
- Introfuction: [Alzheimer's Disease International](https://www.alzint.org/about/)
- Demetia Test: [MMSE](https://en.wikipedia.org/wiki/Mini–Mental_State_Examination) test, Self Assessment - [Psycom](https://www.psycom.net/dementia-test/)