Swift: Advanced operator – bitwise NOT operator

Swift provides advanced operators such a s bitwise operators. The bitwise NOT ( ~ ) operator inverts all bits in a number.

Leave a Reply