Logging a Frame in iOS
It happens quite often that you need to log the dimensions of a frame in iOS (which is a CGRect struct). Because you need to log 4 different values, it’s quite clunky.
Turns out, there’s a much easier way.
Happy coding.
It happens quite often that you need to log the dimensions of a frame in iOS (which is a CGRect struct). Because you need to log 4 different values, it’s quite clunky.
Turns out, there’s a much easier way.
Happy coding.