<< operator in objective c enum?

后端 未结 6 1179
别跟我提以往
别跟我提以往 2021-02-04 05:46

I was looking for something and got in to this enum is apple UITableViewCell.h.

I am sorry if this is trivial but I wonder/curious what is the point of this.

I

6条回答
  •  囚心锁ツ
    2021-02-04 06:19

    These types of operator are called bitwise operator which operates on bit value of a number. These operation are very fast as compared to other arithematic operations.

提交回复
热议问题