Detecting iPhone 5

iphone 5 sugartin xcode detect

Attempt to check if the current device is an iPhone 5 at runtime. The most advanced version of this I’ve found is from this answer on StackOverflow. The following is a slightly modified version of the macros created in the StackOverflow … 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

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