Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Clear App

A simple iOS app for typing notes that can be cleared with a shake or swipe gesture. Built with SwiftUI.

Features & Usage

  • 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.

Setup Instructions

  1. Open Xcode and create a new iOS SwiftUI App project named Clear.
  2. Replace defaults with the provided PaperShredderApp.swift and ContentView.swift.
  3. Add TextDisappearAnimations.swift to the project.
  4. Set iOS Deployment Target to 17.0+ for iPhone.
  5. Build and run (shake detection works best on physical devices).

Project Structure

  • PaperShredderApp.swift: App entry point.
  • ContentView.swift: Main view with text input and gesture handling.
  • TextDisappearAnimations.swift: Contains 10 different random disappear animations.

About

Clear - the simplest vanishing note.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages