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 :
sudo gem install cocoapods
then change path project want install pod
cd your_project_path
once path set in terminal :
pod init
serach pods (this may take time):
pod search library_name
[open pod file ] copy pod line , paste in pod file pod lines this:
pod 'sclalertview-objective-c' [copy ]
the on terminal again
pod install
and close current project , open .workspace file onwards.
Comments
Post a Comment