Code: func removeSkill(skill:DiSkillV2) { |
=== checks if it's the same actual object.
this is a work around because swift list only has a remove(at index) method.
!== checks is it's not the same object.
in this code snippet dClasses is an arraylist of objects
![FRspeaker40x40](/users/1414/27/21/86/smiles/619536811.png)