-
Notifications
You must be signed in to change notification settings - Fork 368
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
Whistles #9
Whistles #9
Conversation
RamonGilabert
commented
Dec 7, 2015
@@ -120,11 +129,20 @@ class ViewController: UIViewController { | |||
} | |||
|
|||
func presentNotificationDidPress(button: UIButton) { | |||
let announcement = Announcement(title: "Ramon Gilabert", subtitle: "Vadym Markov just commented your post", image: UIImage(named: "avatar")) | |||
let announcement = Announcement(title: "Ramon Gilabert", | |||
|
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.
😱
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.
😄
The code to display a whistle is the following:
It will display it as a window in the current context, it supports landscape and portrait. @zenangst, @vadymmarkov, @attila-at-hyper. The support for landscape and stuff like that needs to be done for Whisper and Shout, but at the moment we don't need it. |
😱 |
😘 |