Skip to content

Swift Scribe is a sleek, powerful, and intuitive text editor designed to elevate your writing experience. This app allows users to create, view, and delete notes with a user-friendly interface. The app utilizes SwiftUI for the interface and SwiftData for data management, ensuring a smooth and efficient experience.

Notifications You must be signed in to change notification settings

owaisazmal/Swift-Scribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Scribe - Notes App

Overview

Swift Scribe is a sleek, powerful, and intuitive text editor designed to elevate your writing experience. This app allows users to create, view, and delete notes with a user-friendly interface. The app utilizes SwiftUI for the interface and SwiftData for data management, ensuring a smooth and efficient experience.

Features

  • Create Notes: Easily add new notes with the "plus" button.
  • View Notes: Scroll through your list of notes, sorted by title.
  • Delete Notes: Long press on a note to reveal a context menu for deletion.
  • Responsive Design: Adapts seamlessly to different screen sizes with a dynamic layout.

Screenshots

Screenshot 2024-06-15 at 3 54 28 PM
Screen.Recording.2024-06-15.at.3.55.00.PM.mov

Code Structure

ContentView.swift

The main view of the app. It contains:

  • A gradient welcome banner.
  • A list of notes fetched from SwiftData.
  • A sheet for adding or editing notes.
  • A button for creating new notes.

NotesRow.swift

A custom view representing each note in the list.

NotesSheet.swift

A sheet view that appears when adding or editing a note.

Note.swift

A SwiftData model representing a note, with properties for the title and description.

Usage

Adding a Note

  1. Tap the "+" button at the bottom right corner.
  2. Fill in the title and description in the sheet that appears.
  3. Save the note.

Viewing Notes

  • Notes are displayed in a scrollable list. Tap on a note to view or edit it in a sheet.

Deleting a Note

  1. Long press on the note you wish to delete.
  2. Select "Delete" from the context menu.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any changes or improvements.


Thank you for using Swift Scribe! We hope it enhances your writing experience.

About

Swift Scribe is a sleek, powerful, and intuitive text editor designed to elevate your writing experience. This app allows users to create, view, and delete notes with a user-friendly interface. The app utilizes SwiftUI for the interface and SwiftData for data management, ensuring a smooth and efficient experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages