Console only on Debug mode & not in release mode

Console during development mode

It is strongly recommended to console each thing during the development time of the application. But during the development time, developers also have to send the build to the end client. Its an obvious thing that, no one would wish … Continue reading

Console only on Debug mode & not in release mode

Console during development mode

It is strongly recommended to console each thing during the development time of the application. But during the development time, developers also have to send the build to the end client. Its an obvious thing that, no one would wish … Continue reading

Checking Current Device using macro

I use following macro. I place following macro in Application-Prefix.pch file.

Now, I can write anywhere in code as follows. One can directly write ‘UI_USER_INTERFACE_IDIOM’ but I prefer isIPAD as better option.