Skip to content

GallagherSecurity/ios-toast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This source code is Copyright (c) 2018 Gallagher Group Ltd and made available under the MIT license.

It is designed to provide a convenient option on iOS to mimic Android's Toast 
functionality, which is often useful for displaying transient informational messages.

As of September 2018 this code compiles as Swift 4.2 under Xcode 10.0, and supports iOS applications
targeting back to iOS 8.

Note: It is the intention of the author that you copy/paste or otherwise link this source file
in with your iOS application. As such, the classes and enums it uses are not marked as public.

usage:

    toast("a toast messsage appeared!")

advanced usage:

    toast("a toast message appeared!", size: .large, duration: .long)

Releases

No releases published

Packages

No packages published

Languages