sudo launchctl unload /Library/LaunchDaemons/com.netskope.stagentsvc.plist
sudo launchctl load /Library/LaunchDaemons/com.netskope.stagentsvc.plist

This article gives a brief idea on how to use multiple pod version on same Mac.

  1. Install a particular pod version on your mac. the following command installs 1.8.4 version
sudo gem install cocoapods -v 1.8.4
gem list — local | grep cocoapods

Adding a small code snippet in swift to show a temporary toast for debugging purpose. I use it most of the time instead of print statements.

I had this confusion on how to add a dependency to a nested target via Cocoapods. This may helps someone. Here is how I did it.

Image by <a href=”;utm_medium=referral&amp;utm_
credit : Image by Pixabay

I used to end up having so many local branches in sourcetree branches section which I no longer user. Here is a quick way by which you can delete multiple branches all at once.

One option is to right-click on each branch and delete them. But that is not easy if you have too many branches.

In this article, I will try to add as many Q&A’s related to iOS . I will keep on updating this article. Hope it helps you guys 🙂😉.

Image by <a href=”;utm_medium=referra
image credit : pixbay

Q. Which function can you use on XCTest to clean up after every unit test?

Q. Which framework has a C-based API to play short, simple sound effects in iOS?

Q. Which technique can be used to fire a completion handler when several asynchronous tasks finish at different times finish using GCD?

Q. Which Instrument would be most suited to debug whether a view is drawn from cache or redrawn?

Q. To opt a UIViewController into state preservation, which property must first be set by the programmer?

Q. Which method will inform the current view controller to update its status bar appearance?

Q. What is the use of the displayScale property on UITraitCollection?

Q. Which framework allows developers to use biometric authentication, such as Touch ID or Face ID?

Q. When creating a supplementary view for a custom collection view, what view needs to be the superclass?

Q. Which class is used to provide a popover UIViewController?

Q. What is the maximum number of tabs that can be shown in a UITabBarController before a "More" option is added?

Q. Which is provided as standard with the default table cell using the default table cell style?

Q. When internationalizing an app, what is the XML-based document used by translators to localize user-facing strings into multiple languages?

Q. What option could you use within the simulator to identify views using transparent backgrounds?

This article explains how we can create segues between multiple storyboards in the same Xcode project using storyboard references.

an image

In this article, I will try to add as many Q&A’s related to iOS . I will keep on updating this article. Hope it helps you guys 🙂.


1. Do we have an extension in Objective — C?

2. Difference between a category and extension in objective C?


iOS and tvOS developer, dreamer, photographer 🤨

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store