Setup

xode -> file -> add packages -> https://github.com/BurakAltunoluk/Cici.git -> Cici -> Add Package

import Cici //add
class Viewcontroller: UIViewController {
    let cici = Cici() //add 
    
 override func viewDidLoad() {
     super.viewDidLoad()
     cici.view = view //add
     } 
 }

Ready to use...

Example

    func alertMenu() {
        
        cici.horizontalMargins = 30.0
        cici.showAlert(messageText: "HelloWorld", buttonTitle: "Ok")
        
    }

Features

        cici.backroundImage.image = UIImage(named: "imageName")   //to change backround image
        cici.buttonBackroundColor = . red                         //to change button backround color
        cici.mesaggeTextColor = .white                            //to change mesagge text color
        cici.backgroundColor = .orange                            //to change backround color
        cici.buttonWidth = 120.0                                  //button width
        cici.heightExtra = -40.0                                  //to change message box height bigger or smaller
        cici.horizontalMargins = 30.0                             //to change message box left/right blank
        cici.showAlert(messageText: "HelloWorld", buttonTitle: "Ok") //Show Alert box

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Oct 21 2024 06:31:09 GMT-0900 (Hawaii-Aleutian Daylight Time)