-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove extra whitespace between the menu underline and the menu items * Match horizontal scroll animation duration with the vertical scroll animation time * Fix bug with extra animation with "Menu" label * Adjust animation timing * Adjust delay constant * Fix spacing and update docstring * Factor out translate y constant
- Loading branch information
1 parent
e965f7d
commit 7510747
Showing
9 changed files
with
67 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Eatery/Views/Eateries/EateryScreenViews/ExpandedMenus/ExpandedMenuHeaderView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// ExpandedMenuHeaderView.swift | ||
// Eatery | ||
// | ||
// Created by Justin Ngai on 10/11/2021. | ||
// Copyright © 2021 Cornell AppDev. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
import SnapKit | ||
|
||
class ExpandedMenuHeaderView: UIView { | ||
|
||
let titleLabel = UILabel() | ||
|
||
/* | ||
// Only override draw() if you perform custom drawing. | ||
// An empty implementation adversely affects performance during animation. | ||
override func draw(_ rect: CGRect) { | ||
// Drawing code | ||
} | ||
*/ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters