官术网_书友最值得收藏!

Identity operators

As classes are reference types, it is possible for multiple constants and variables to refer to the same single instance of class behind the scenes. To find out if two constants or variables refer to the same instance of a class exactly, Swift provides the following identity operators:

  • Identical to (===)
  • Not identical to (!==)
主站蜘蛛池模板: 陵川县| 邻水| 宁乡县| 东兰县| 镇雄县| 平舆县| 陵川县| 肃北| 和静县| 马鞍山市| 响水县| 丹棱县| 杭州市| 定南县| 彰化县| 商丘市| 龙胜| 苏尼特左旗| 鹿邑县| 滦平县| 商城县| 苍梧县| 托克逊县| 兰州市| 新蔡县| 丽水市| 呼玛县| 泰宁县| 玉环县| 藁城市| 巴塘县| 石城县| 阿克| 盘锦市| 武山县| 琼中| 达拉特旗| 锡林浩特市| 靖边县| 高邑县| 应用必备|