Skip to content

Commit c22901d

Browse files
committed
Document headerAnimator
1 parent ef31cf2 commit c22901d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/DashboardViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ final class DashboardViewController: UIViewController {
5959
/// When we hide the header, we disable this constraint so the content view can grow to fill the screen
6060
private var contentTopToHeaderConstraint: NSLayoutConstraint?
6161

62+
/// Stores an animator for showing/hiding the header view while there is an animation in progress
63+
/// so we can interrupt and reverse if needed
6264
private var headerAnimator: UIViewPropertyAnimator?
6365

6466
// Used to trick the navigation bar for large title (ref: issue 3 in p91TBi-45c-p2).

0 commit comments

Comments
 (0)