Apple provides the CoreLocation Framework to fetch the user’s current location through GPS. In the following article its explained how to get current location in Swift in the form of Latitude & Longitude. Just copy the following code in your ViewController, rest of the work will be done by it. The working of the code […]
Save & Load Image From Documents Directory in Swift
It’s a common requirement in Apps that we need to save images in the phone’s storage. For example, you download an image from your server and want to save it for future use. In IOS you can use Documents Directory for that purpose. Documents Directory is a slice of storage dedicated to each App where […]
Method to Convert Hexadecimal Color Code into UIColor Swift 5
It’s a common requirement that we have to convert HTML hexadecimal color code into UIColor in swift. Following is a utility method that you can use for that purpose. This code is written in swift 5. In this method, you need to pass Hex String as a parameter and it will return the UIColor object […]
Xcode Error: Multiple commands produce
“Multiple commands produce” is a common Error in Xcode when we build our App. In this article, I am going to show you the simplest solution to solve it. Reason of Xcode Error: Multiple commands produce There can be multiple reasons for this error. Sometimes upgrading the Xcode version causes this error. Or sometimes adding […]
Action Sheet in IOS & its Troubleshooting
Action Sheet is a native IOS component to show a multi-option picker in IOS Apps. I have noted that sometimes it works well in iPhones but causes crash in Ipad. In this article, I will show you the best way to show the action sheet in IOS which works for both, iPhone & iPad. Code […]
ld: framework not found Alamofire clang: error: linker command failed with exit code 1
Recently, I came across this “linker command failed with exit code 1” error in my Xcode when I tried to archive my project. Although the App was running perfectly when I run it on the simulator or even on the physical device. The error is the following. After searching a lot on Google I found […]
Utility Class to Upload Images, Videos & Files to Firebase Storage in Swift IOS
This article contains a utility class with 2 methods that would help you to upload Images, Videos, Audios and all other types of files to Firebase Storage in Swift IOS. It’s a guide to explain how to upload files into Firebase Storage in Swift IOS. You can also find the same methods here to Upload […]
Guide to Integrate Firebase SDKs into IOS Project
This article contains a step by step guide explaining how to integrate Firebase SDKs into your IOS Project. Prerequisite: First of all, you need to create a project into Firebase Console if you have not already created it. To create a project into Firebase Console you can follow our guide, Firebase integration for beginners. Steps to […]
Getting Started with Google Firebase
Firebase is a mobile and web application development platform is powered by Google. It gives you functionality like Analytics, Databases and Messaging. It also provides Crash Reporting, User Authentication, Test Labs, and many other features. Firebase provides very easy & simple integration steps to use these functionalities. This tutorial contains a following step by step […]