Skip to content

Added signout code for firebase, and a simple alert for public to sig…#9

Open
enayatullahna wants to merge 2 commits intodevelopfrom
Enayatullah
Open

Added signout code for firebase, and a simple alert for public to sig…#9
enayatullahna wants to merge 2 commits intodevelopfrom
Enayatullah

Conversation

@enayatullahna
Copy link
Copy Markdown
Contributor

…n up.

@enayatullahna enayatullahna requested a review from jdkouris January 8, 2020 02:39
Comment on lines +21 to +25
let alert = UIAlertController(title: "Sign up Alert!", message: "To view more or add dad jokes please sign up, under private tab.", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: NSLocalizedString("OK", comment: "Default action"), style: .default, handler: { _ in
NSLog("The \"OK\" alert occured.")
}))
self.present(alert, animated: true, completion: nil)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @enayatullahna why are you adding the alert to the viewWillAppear? I thought we were going to add it as an alert when a user clicks on the cell?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants