iPhone / iPad / iOS Interview questions Part 2

Creating shortcuts to iOS Simulators with XCode 6 onwards 3

In previous article, we’ve discussed several iOS Interview questions which covers some of the very basic/easy question-answers. In this post, we’ll continue adding more related interview questions on the same topic. Q: Describe App Extensions in iOS8 A: iOS 8 … Continue reading

Create an iPA using shell Script from XCode Archive

Creating shortcuts to iOS Simulators with XCode 6 onwards 3

Once you’ve generated XCode archive (make sure you are using valid provisioning profile and code signing identities), you can use following command to generate iPA file. xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name” xcodebuild – … Continue reading

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

Proper understanding of 1x, 2x, 3x for iDevices

1x 2x 3x iPhone, iPad, iPod Touch display sizes

Device Type iPhone / iPod Touch iPad Scale 1x 2x 3x 1x 2x Size by Points 320 x 480 320 x 480 320 x 568 375 x 667 414 x 736 768 x 1024 768 x 1024 Size by Pixels … Continue reading

Locations for Simulators, Provisioning profiles, Snap-shots, Build, Documentation, Project Archives

XCode Documentation Location

Simulators location cd ~/Library/Developer/CoreSimulator/Devices/ Provisioning profile location ~/Library/MobileDevice/Provisioning Profiles/ Build location ~/Library/Developer/Xcode/DerivedData/your-project-name-xyz/ Snapshot location ~/Library/Developer/Xcode/Snapshots/your-project-name-xyz/ Archives location ~/Library/Developer/Xcode/Archives/ Documentation location ~/Library/Developer/Shared/Documentation/DocSets/

Asset Catalogs : Using Sliced images in XCode – iOS Development

Asset Catalogs - Using Sliced images in XCode - iOS Development

Asset Catalogs Use asset catalogs to simplify management of images that are used by your app as part of its user interface. An asset catalog can include: Image sets: Used for most types of images, an image set contains all … Continue reading

UISearchBar : Change Keyboard appearance

UISearchBar Keyboard Appearance

Hi Guys ! I’ve noticed that one can not change the keyboard appearance directly as we do in UITextfield. So, I’ve found a code snip, which can help to change UIKeyboard appearance. Go through following code snip. Copy-paste may easily … Continue reading