A simple iOS app for typing notes that can be cleared with a shake or swipe gesture. Built with SwiftUI.
- Type anywhere: Tap the empty screen to start typing centered text.
- Adjustable text: Use the keyboard toolbar buttons to change size.
- Two ways to clear:
- Shake: Triggers one of 10 random animations.
- Swipe (Left/Right): Strikes through and rapidly fades out the text.
- Note: Text is ephemeral and never saved.
- Open Xcode and create a new iOS SwiftUI App project named
Clear. - Replace defaults with the provided
PaperShredderApp.swiftandContentView.swift. - Add
TextDisappearAnimations.swiftto the project. - Set iOS Deployment Target to 17.0+ for iPhone.
- Build and run (shake detection works best on physical devices).
PaperShredderApp.swift: App entry point.ContentView.swift: Main view with text input and gesture handling.TextDisappearAnimations.swift: Contains 10 different random disappear animations.