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
- Host: GitHub
- URL: https://github.com/choiysapple/care-dementia
- Owner: ChoiysApple
- License: mit
- Created: 2021-04-07T02:34:39.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T01:30:24.000Z (over 4 years ago)
- Last Synced: 2025-06-07T13:07:16.113Z (about 1 year ago)
- Topics: avfoundation, playgrounds, swift, texttospeech, uikit
- Language: Swift
- Homepage:
- Size: 1.36 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Care Demantia
Simple interactive educational app with Swift Playgorunds
## Contents
### 1. Introduction

### 2. Simple Dementia Test


## 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/)