Add key In all MongoDB collection objects

      No Comments on Add key In all MongoDB collection objects

Adding key in all collection object is bit tricky in mongoDB as there is nothing like alter table db.collection.update( criteria, ourobj, upsert, multi ) criteria is used to select objects which will be updated. e.g {“name”:”testName”} ourobject is the document which will be appended or overwrite fields of object found by… Read more »

Xcode dmg download

      No Comments on Xcode dmg download

In 2015 apple remove hundreds of apps from Appstore. Hackers some how managed to directly infect the build system of hacked XCode and upload infected apps to Appstore. Infected XCode where also available for download over the website and many unsuspecting developer were using them. “We’ve removed the apps from… Read more »

Swift 3 UIColor utilities : Random Hex color codes, Random UIColor

Simple  to use swift 3 functions which are very useful in development and testing. 1.Generating random UIColor in Swift 3: Function returns random UIColor each time func randomUIColor(alpha:CGFloat!)-> UIColor { return UIColor.init(red:(CGFloat(arc4random_uniform(256))/255.0), green:CGFloat(arc4random_uniform(256))/255.0, blue: (CGFloat(arc4random_uniform(256))/255.0), alpha: alpha) } 2.Random HEX Color code in Swift 3 : Function returns random 3 char… Read more »

Apple into BLE and WiFi aided indoor positioning

In WWDC 2014  session 708 Apple gave a introduction about indoor positioning. The indoor positioning is a area which cannot be covered using GPS as the signals are not expected to be accurate enough inside steal and concrete structure.So the the available signals were WiFi and beacons using BLE.

Settingup Xib in XCode6,Xcode7 : Removing storyboard and setting up xib.

There is still a significant number of people who prefer Xib over Storyboard though i wont get into debate which one is better but still there might be some who would want to develop using Xib.From XCode 6 onwards Apple has removed the option to create an empty application. While… Read more »

UITableView Tutorial : Creating a simple app in swift

This article has been updated for Swift 3 One of the most versatile UI elements which you come across in iOS development is UITableView.With a combination of custom cell and animation its possibilities are endless.From fancy menu to image scroll you must have found it at many places. In fact… Read more »

Missing iOS Distribution signing identity for … Xcode can request one for you

if you tried upload App to iTunes Connect resp. AppStore and get the following error: Failed to locate or generate matching signing assets Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues. Missing iOS Distribution signing identity for … Xcode can… Read more »