Przeszaf/BoardGamesTracker

Double segue - textView delegate method

Opened this issue · 0 comments

While using the textView delegate method - textViewShouldBeginEditing - the segue is sometimes performed twice. Now a workaround is implemented.
Using Date I check if the that passed since last textView segue is less or greater than 1 second. If it is less than 1 seconud, then the segue is not performed, else it performs normally.