ios - How to install custom AlertViews to my xcode project? -


i found great alert view style on github : https://github.com/dogo/sclalertview . how install xcode project ?

open terminal , follow these steps :

  1. sudo gem install cocoapods

  2. then change path project want install pod

    cd your_project_path

  3. once path set in terminal :

    pod init

  4. serach pods (this may take time):

    pod search library_name

  5. [open pod file ] copy pod line , paste in pod file pod lines this:

    pod 'sclalertview-objective-c' [copy ]

pod file

  1. the on terminal again

    pod install

and close current project , open .workspace file onwards.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -