Whisper is an open source Swift component that allows you to easily display unobtrusive notifications in several different styles called Hyper.
With Whisper you don’t have to worry about content offsets as they are are adjusted automatically, and if the user transitions between views the offsets adjust for the new view. If desired you can also add code to execute when a user dismisses a Whisper notification.
The three different styles of Whisper from the readme include the Whisper style that displays a simple message with customizable background colors as below:
Larger shout styles which include a title, subtitle and image:
And whistles which just display the color:
You can find Whisper on Github here .
A nice component for unobtrusive alerts.
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » Maniac Dev : Swift iOS Component For Displaying Un-Obtrusive Notifications With Clean Styling