File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new  do  |s |
22
33  s . name  =  'SPAlert' 
4-   s . version  =  '3.0.5 ' 
4+   s . version  =  '3.0.6 ' 
55  s . summary  =  'Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.' 
66  s . homepage  =  'https://github.com/ivanvorobei/SPAlert' 
77  s . license  =  {  :type  =>  "MIT" ,  :file  =>  "LICENSE"  } 
Original file line number Diff line number Diff line change 2222import  UIKit
2323
2424/**
25-  Protocol for animatable views.
25+  SPAlert:  Protocol for animatable views.
2626 */
2727public  protocol  SPAlertIconAnimatable  { 
2828
2929    /**
30-      Shoud call when need start animation.
30+      SPAlert:  Shoud call when need start animation.
3131     */
3232    func  animate( ) 
3333} 
Original file line number Diff line number Diff line change 2222import  UIKit
2323
2424/**
25-  Layout model for alert view.
25+  SPAlert:  Layout model for alert view.
2626 */
2727open  class  SPAlertLayout  { 
2828
2929    /**
30-      Icon size.
30+      SPAlert:  Icon size.
3131     */
3232    open  var  iconSize :  CGSize 
3333
3434    /**
35-      Alert margings for each side.
35+      SPAlert:  Alert margings for each side.
3636     */
3737    open  var  margins :  UIEdgeInsets 
3838
3939    /**
40-      Space between icon and title if both available.
40+      SPAlert:  Space between icon and title if both available.
4141     */
4242    open  var  spaceBetweenIconAndTitle :  CGFloat 
4343
Original file line number Diff line number Diff line change 2222import  UIKit
2323
2424/**
25-  Acess level. Here you get ready-use methods.
25+  SPAlert:  Acess level. Here you get ready-use methods.
2626 Recomended use it.
2727 */
2828public  enum  SPAlert  { 
2929
3030    /**
31-      Present alert with preset and custom haptic.
31+      SPAlert:  Present alert with preset and custom haptic.
3232
3333     - parameter title: Title text in alert.
3434     - parameter message: Subtitle text in alert. Optional.
@@ -42,7 +42,7 @@ public enum SPAlert {
4242    } 
4343
4444    /**
45-      Present alert with preset and automatically detect type haptic.
45+      SPAlert:  Present alert with preset and automatically detect type haptic.
4646
4747     - parameter title: Title text in alert.
4848     - parameter message: Subtitle text in alert. Optional.
@@ -56,7 +56,7 @@ public enum SPAlert {
5656    } 
5757
5858    /**
59-      Show only message, without title and icon.
59+      SPAlert:  Show only message, without title and icon.
6060
6161     - parameter message: Title text.
6262     - parameter haptic: Haptic response with present. Default is `.success`.
Original file line number Diff line number Diff line change 2222import  UIKit
2323
2424/**
25-  Main view. Can be customisable if need.
25+  SPAlert:  Main view. Can be customisable if need.
2626
2727 For change duration, check method `present` and pass duration and other specific property if need customise.
2828
Original file line number Diff line number Diff line change 2222import  UIKit
2323
2424/**
25-  Wrapper of haptic styles.
25+  SPAlert:  Wrapper of haptic styles.
2626 */
2727public  enum  SPAlertHaptic  { 
2828
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments