I have two dictionary with multiple items. I want to compare values.
Dict1:{
"Displacement_trim" = "49.26 ";
"Dry_Weight" = "<null>";
}
Dict2:{
"Displacement_trim" = "171.20 ";
"Dry_Weight" = "<null>";
}
- I want to know which "Displacement_trim" is greater.
- Also checking null values.
- Print the data in cell.
How can I achieve this?
Let me know if any thing get wrong.
To find out which value from the dict is bigger use the following code:
Swift 3
Objective-C