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
pod _1.8.4_ install

If you enjoyed reading this post, please share and give some claps so others can find it 👏👏👏👏👏 !!!!


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=”https://pixabay.com/users/JESHOOTS-com-264599/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_
Image by <a href=”https://pixabay.com/users/JESHOOTS-com-264599/?utm_source=link-attribution&amp;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=”https://pixabay.com/users/Clker-Free-Vector-Images-3736/?utm_source=link-attribution&amp;utm_medium=referra
Image by <a href=”https://pixabay.com/users/Clker-Free-Vector-Images-3736/?utm_source=link-attribution&amp;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?

Q. Which class will allow you to use one or more blocks concurrently?

Q. Is it possible to record video during background execution?

Q. Is it possible to record audio during background execution?

Q. Is it possible to Download content during background execution?

Q. Which method would you use to respond to a transition between two scenes in a storyboard triggered by a user?

Q. Which class supports sharing small amounts of data (strings — for example) automatically across every instance of an app used by the same iCloud user?

Q. Which delegate method can be used declared in UIGestureRezognizerDelegate to give precedence to conflicting gesture recognizers?

If you enjoyed reading this post, please share and give some claps so others can find it 👏👏👏👏👏 !!!!


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

an image
an image

How to use storyboard references?

  • Create a new project (Single view application).
  • Create a new storyboard file and name it Second.storyboard .


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 🙂.

source: stocksnap.io

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

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


The Taptic Engine is Apple’s implementation of haptic user interface feedback. This is available from iPhone 7 and above. Let’s understand more about it. Taptic Engine is available from iphone 6s, but iphone 7 has a better version of it.

How to do a basic vibration on iOS devices?

AudioServicesPlaySystemSound(SystemSoundID(kSystemSoundID_Vibrate))


Let’s see how we can create a QRCode or barcode scanner app in iOS using swift AVFoundation.

let metadataOutput = AVCaptureMetadataOutput()metadataOutput.setMetadataObjectsDelegate(self, queue: DispatchQueue.main)metadataOutput.metadataObjectTypes = [.qr, .ean8…

Abhimuralidharan

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