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

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

Cocos2D-x : File Template for Creating a new Game Scene

Cocos2D-x Add Scrollview

Hi All ! I have found that, in cocos2D-x, developer has to copy and paste GameScene files & then modify it again and again for each scene you create for your game. Using following source code, one does not need … Continue reading

Convert UnixTimeStamp Date with specified Timezone. Example "/Date(1395486890000+0530)/" as a sample value.

Convert Unix time stamp to NSDate

Convert UnixTimeStamp Date with specified Timezone. Example “/Date(1395486890000+0530)/” as a sample value.

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.

 

Generate random string in Objective-C

Random string generation in objective-c

Following code snip will help you to generate random string by specifying the length of random string to be generated. Copy & paste following method as per your desire.  

Fetching recent tweets from twitter which works for iOS 7 + iOS 6 + iOS 5

Twitter icon

Fetching recent tweets from twitter which works for iOS 7 + iOS 6 + iOS 5 Download following class into your project & use class to fetch recent tweets.