Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

How can I detect when a card is being flipped? #17

@Sweeper777

Description

@Sweeper777

I am writing an app where the user can write notes on the back of the cards. I am using a database to store the notes, so I need to update the values in the database when the card gets flipped back (i.e. the user ends editing).

I tried to look for a delegate method called willFlipCard or something like that, but realised that there is no such method. I tried doing the update in willUnrevealCard but apparently by the time that is called, it is too late. The text view instance is already gone.

How can I do something just before the card gets flipped back?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions