Bitwise Operations And Core Data

Thursday 4 April 2013

It’s always best to solve a problem using as little code as possible.

This week I came across something that required flags for multiple states. In order to keep the code clean, I decided to use bitwise masking with NS_OPTIONS instead of multiple BOOL properties.

Read More