In this article, we are going to learn about Custom Marker and Custom Info Window in Google maps.
First, create a new Xcode project and name it as Custom Marker.
In this example we are going to use completely auto layouts without a storyboard, every...
Post Top Ad
16 Dec 2019
11 Dec 2019
Chat App | Message Bubble in iOS Swift Without any external libraries.
In this article we will learn how to create our own message kit like whatsapp, messanger using swift language.
We can customize the way we want like avatar, sender name, time label etc.
At the end of this article you can find full project...
10 Dec 2019
Firebase Dynamic Link Not Found in swift ios
Failed to resolve uri domain prefix: https://www.yourdomain.com.
If you are the developer of this app, ensure that your Dynamic Links domain is correctly configured and that the path component of this URL is valid.
Possible reasons for the invalid...
12 Aug 2019
Add ImageView (profile picture) to TabBar item (UITabBarController) using swift 5 - iOS
Adding image view to tab bar is quite easy.
First create new single view application. Embed ViewController inside tabBarController and add new tab name it my account.
After doing all above stuff you will see output as the following image
Now...
20 Jun 2019
Add View below TabBar Controller in swift - iOS
In this post we are going to learn how to add a subview under UITabBarController in swift 5.
First download the starter project from the below link:
Open the project and run, we will see as below images in the simulator.
In...
11 Jun 2019
Swift UISwitch color in On state & Off state, Change Switch height in swift - iOS
UISwitch in swift has two states either On or Off. This switches mostly see in native settings app.
First add switch to view as below, add following code in viewDidLoad() method:
let switchButton = UISwitch()
switchButton.translatesAutoresizingMaskIntoConstraints...
9 Jun 2019
Cannot preview in this file - active schema cannot build this file Xcode 11 beta.
This is happening most of times, no need to worry we can fix with one of the following solutions.
Solution 1:
Go to Xcode preferences -> Locations -> Command line tools
Here, most of them are set to Xcode 10, change to Xcode 11.
Restart...
27 May 2019
Enums as Constants in Swift iOS, Easily parse with JSONDecoder & JSONEncoder
In olden languages like c, we can create enumerations with only integers. Swift allows to create enumerations in any type(int, string, Float) and easily create constants.
Enums can conform to protocols like Codable, CaseIterable.
Basic Enum:
enum...