Custom grid view in iOS Swift

Output