A way past the blank page
I built WriterCards from February to April 2024 as an independent SwiftUI app for creative writing and reflection. It presents a selection of writing prompts as cards, lets the user open one and write, and keeps the entry in a history they can return to.
I handled the concept, design, implementation, local data model, testing, and project planning. I used Jira to organize the work and GitHub for version control.
Make starting feel inviting
The app has three main views: a prompt editor, the card-selection screen, and writing history. Users can work with the existing topics or create their own. Selecting a card opens the writing sheet, while earlier entries remain editable and can be reordered or deleted.
The visual style is deliberately more expressive than a conventional notes list. Cards use generated gradients and reveal animations to make choosing a prompt feel like opening something, rather than completing a form.
Controlled randomness
I generated gradients in HSB color space, selecting a starting hue and an offset for the second hue within a constrained range. Saturation and brightness ranges keep the results within the intended visual style. The colors are converted to hex strings for storage.
A shared background manager coordinates the gradient across views. That helped the transitions feel connected without requiring each screen to create an unrelated background.
Keep the writing intact
The WritingTopic model conforms to Codable. Prompts, the current set of cards, and history are encoded as JSON in UserDefaults. SwiftUI state and bindings connect the writing and editing screens, while a custom drop delegate supports history reordering.
Keyboard focus handling matters in a writing app: entering text should be easy, and leaving the editor should not obscure the rest of the interface. I worked on dismissal and layout behavior alongside the more visible animations.
What I learned
WriterCards let me practice expressive design without losing sight of the main task. Random colors and animated cards give the app character, but the user’s text needs predictable editing and persistence.
I kept the product focused on choosing a prompt, writing an entry, and returning to its history, with local persistence supporting the full flow.