Basic & Great useful cocoa pods.
Hello friends, I am here again with new great basic step for iOS coding.
Here I want to discuss some more cocoa pods which is used for easier development.
1. R.Swift
It is wonderful pods which use to get rid of many thing like need to remember the image name, controller segue name, fonts, storyboard names, nib name, reusable cells and some more.
This pods create auto instance of the image from assets and create UIImage instance which can be use throughout the project by simply writing single line of code.
For Example:
After installation and setup of R.Swift
You have one image name "ic_setting" in your image assets. You just have to write the below line only
let image = R.image.ic_setting() ?? UIImage()
This will return UIImage, you can directly assign this image to Imageview. All the name will suggest by the Suggestion list.
Same for the Segue
For Installation write this in your project pod file and install it
Read for more
2. Fabric + Crashlytics
Crashlytics is very useful to identify crash in development and after deployment. Crashlytics has basic steps to install the crashlytics, once you follow all the step. you will have the detailed report on their website. So you can easily identify the steps and resolve the crash issue. In general case it is very hard to find the crash step.
For Installation write this in your project pod file and install it
Hello friends, I am here again with new great basic step for iOS coding.
Here I want to discuss some more cocoa pods which is used for easier development.
1. R.Swift
It is wonderful pods which use to get rid of many thing like need to remember the image name, controller segue name, fonts, storyboard names, nib name, reusable cells and some more.
This pods create auto instance of the image from assets and create UIImage instance which can be use throughout the project by simply writing single line of code.
For Example:
After installation and setup of R.Swift
You have one image name "ic_setting" in your image assets. You just have to write the below line only
let image = R.image.ic_setting() ?? UIImage()
This will return UIImage, you can directly assign this image to Imageview. All the name will suggest by the Suggestion list.
Same for the Segue
self.performSegue(withIdentifier: R.segue.loginVC.segDashboard.identifier, sender: nil)
For Installation write this in your project pod file and install it
pod 'R.swift'
Read for more
2. Fabric + Crashlytics
Crashlytics is very useful to identify crash in development and after deployment. Crashlytics has basic steps to install the crashlytics, once you follow all the step. you will have the detailed report on their website. So you can easily identify the steps and resolve the crash issue. In general case it is very hard to find the crash step.
For Installation write this in your project pod file and install it
pod 'Fabric'
pod 'Crashlytics'
Comments
Post a Comment