CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

VKAlertController 1.0.1

VKAlertController 1.0.1

Maintained by sanctovali.



  • By
  • sanctovali

VKAlertController

Language Language Pod version License

VKAlertController is a simple but nice alternative to the Apple's UIAlertController. The alert has fully customazible appearance and similar to UIAlertController usage.

ScreenshotScreenshotScreenshot

Features


  • Header View
  • Header Image (Optional)
  • Title
  • Description message
  • Customizations: fonts, colors, dimensions & more
  • 1, 2 buttons (horizontally) or 3+ buttons (vertically)
  • TextFields Support
  • Closure when a button is pressed
  • Similar implementation to UIAlertController
  • Cocoapods
  • Animation
  • Swift 5 support
  • Swift Package Manager

Requirements


  • iOS 10.0+
  • Xcode 11+

Example


To try an example, clone or download Example.

How to install


CocoaPods

If there is now CocoaPods, first of all install it with the following command:

$ gem install cocoapods

To integrate VKAlertController into your Xcode project using CocoaPods, specify it in your Podfile:

target 'MyApp' do
  pod 'VKAlertController', '~> 1.0'
end

Then run inside your terminal:

$ pod install

Inside your project import module with import VKAlertController.

Swift package manager

To add the package to your project go to the File menu and choose Swift Packages > Add Package Dependency. For the URL enter https://github.com/sanctovali/VKAlertController.git Then check Version – Up to Next Major is selected and click Next -> Finish.

Inside your project import module with import VKAlertController.