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

Get average color from image and fill that color as a background

Creating shortcuts to iOS Simulators with XCode 6 onwards 3

Hello all here I post the code for retrieve average color of the image and return that UIColor directly those use into your image view background color. Same that kind of the functionality shows into iTunes  album image load image that time retrieve … Continue reading

Search and match word is exists in array or not using regex

4b27347123d470cf1a5dcfb4f60b51c6

Hello, In array numbers of a string contain and that string match with another string which match that string is exist into array or not using regex we match. following code for checking using regex to match if string contain into … 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

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

Compare two array without use of loop

1526

In this post, I’m going to provide you code snips for compare two different array of objects using NSMutableSet of NSSet class methods use which is following ,among of that here some example and output here.