Passing Data between View Controllers

      No Comments on Passing Data between View Controllers

A ViewController in an application is seldom standalone in nature. They require data from ViewControllers in front and from those behind them, this leaves us with two types of data passing Forward Data passing Backward data passing For discussing both kinds of data passing we have two ViewCotrollers ASViewController ASViewControllerB… Read more »

What does GM Seed mean in Xcode GM Seed

      No Comments on What does GM Seed mean in Xcode GM Seed

  Apple just launched Xcode 9 GM seed and had many people confused what GM Seed means. GM stands for gold master. It is finalized firmware released before the public release. It is different from beta versions as it can be used to build and upload apps on Appstore   DOWNLOAD… Read more »

String length in Swift

      No Comments on String length in Swift

To get the string length in swift we have two options depending on swift version Swift 3 yourString.characters.count //EXAMPLE if yourString.characters.count == 0{ //do something } 2. Swift 4 yourString.count //EXAMPLE if yourString.count == 0{ //do something }      

How to Delete a Git branch both locally and on remote?

To delete local branch : $ git branch -d branch_name To delete local branch Forcefully : $ git branch -D branch_name Here -D is an alias for – -delete – -force, which deletes the branch irrespective of its merged status. To delete remote branch : $ git push origin –delete… Read more »

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 »