XCode, Assets & Simulators – analysis with display & assets

Assets analysis - Article Thumb

Lets create 3 images named as follows. my_image.png my_image@2x.png my_image@3x.png Dimension of above mentioned images are as follows. my_image.png = 100 pixels width x 100 pixels height my_image@2x.png = 200 pixels width x 200 pixels height my_image@3x.png = 300 pixels … Continue reading

Shell script for genrating XCAssets for Projects

Shell script for genrating XCAssets for Projects

Hi All ! In this post, you’ll find a script. This shell script is going to help you to generate XCAssets. Why do we need XCAssets? In earlier XCode5, we’re forced to (or it is more preferable to) manage assets/images … Continue reading

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