Popularity
0.9
Growing
Activity
0.0
Stable
28
3
3

Code Quality Rank: L5
Programming language: Swift
License: MIT License
Tags: UI     Alert    

GSAlert alternatives and similar libraries

Based on the "Alert" category.
Alternatively, view GSAlert alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of GSAlert or a related project?

Add another 'Alert' Library

README

GSAlert δΈ­ζ–‡θ―΄ζ˜Ž

If you want to use UIAlertController, but still need to support iOS 7 this project is for you.

Key Features

  • On iOS 7 GSAlert uses UIAlertView or UIActionSheet and on iOS 8 it uses UIAlertController.
  • Support iPad.

Example

Show alert in controller or view:

//
// - parameter type       : .Alert or .ActionSheet
// - parameter sourceView : iPad popover from
//
self.showAlert(.Alert, title: "This is Alert!", message: "some message...", sourceView: sender, actions: [
    AlertAction(title: "Cancel", type: .Cancel, handler: nil),
    AlertAction(title: "Sure", type: .Default) {
        print("I'm Alert.")
    }
])

Installation

Drag GSAlert folder to your project.

Requirements

  • iOS 7.0+

License

GSAlert is available under the MIT license. See the LICENSE file for more info.


*Note that all licence references and agreements mentioned in the GSAlert README section above are relevant to that project's source code only.