Perform Wireless Debugging in Xcode 9 with iOS 11

      No Comments on Perform Wireless Debugging in Xcode 9 with iOS 11

Xcode 9 make you free with wireless debugging.No more tied to cable. In order to connect your device for wireless debugging you need to perform following steps Open Devices and Simulators window Connect your device normally with lightening cable Select the device which you want to connect from Devices tab… Read more »

Transport security has blocked a cleartext HTTP

      No Comments on Transport security has blocked a cleartext HTTP

App Transport Security ATS encourages developers to use HTTPS over HTTP and thus any HTTP request is blocked. You can still workaround this security feature during development. But remember its strictly a workaround and should not be carried over to production as it will leave you app vulnerable Workaround for… Read more »

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 »