-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ios 9356 rename crouton to snackbar #427
base: IOS-9356-fix-crouton
Are you sure you want to change the base?
Ios 9356 rename crouton to snackbar #427
Conversation
import UIKit | ||
|
||
// Protocol implemented by view controllers that want to Snackbar in a very specific view | ||
@objc public protocol CustomSnackbarContainer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new??? in that case, remove @objc
pls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just moved and renamed the file, no logic changes in this PR.
File in main:
`
import UIKit
// Protocol implemented by view controllers that want to show croutons in a very specific view
@objc public protocol CustomCroutonContainer {
var customCroutonContainerView: UIView { get }
}
`
|
||
| `Info` | `Critical` | | ||
|-----------------------------------------------|---------------------------------------------------| | ||
|  |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Info link looks broken
@@ -20,29 +20,29 @@ public class CroutonController: NSObject { | |||
public typealias DismissHandlerBlock = (SnackbarDismissReason) -> Void | |||
public typealias DidTapActionBlock = () -> Void | |||
|
|||
private var croutonViewList = [OngoingCrouton]() | |||
private var SnackbarViewList = [OngoingSnackbar]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private var SnackbarViewList = [OngoingSnackbar]() | |
private var snackbarViewList = [OngoingSnackbar]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ποΈ Jira ticket
https://jira.tid.es/browse/IOS-9356
π₯ What's the goal?
Rename Crouton component to Snackbar
π§ How do we do it?
Rename the component.
Update readme.
:
π§ͺ How can I verify this?
Catalog -> snackbar
snackbar.mov
π AppCenter build