Coders Packet

Packets submitted by Faruque Ahamed Mollick

Fixed 'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:)

the deprecated 'animation' modifier in SwiftUI and learned how to adapt to the changes introduced in iOS 15. By embracing 'withAnimation' and 'animation(_:value:)'.

Change Button Color When Pressed in SwiftUI

Explore how to change the button color when pressed in SwiftUI, explaining the process step-by-step with easy-to-understand examples.

Swift Array containing all US States and State codes

iOS or Apple developers often may need a Swift array that contains all the US states with the state codes. This packet exactly contains this.

Converting the SwiftUI Toggle Switch into a Checkbox

This packet contains the struct that conforms to the ToggleStyle protocol in order to change or convert the SwiftUI Toggle Switch into a Checkbox.

How to draw USA map using Basemap in Python

Learn how to use basemap to draw USA map in Python. We will add lake color too. The map output is also given.

Custom Map Marker Annotations in SwiftUI Map View

This is a complete project where you can see custom Map markers added using annotations in SwiftUI map view.

Example of adding multiple marker on Map using SwiftUI MapKit

This is an example to show you how to add multiple locations using MapAnnotation() in SwiftUI. Using the annotation we have added a custom market on the SwiftUI map.

Simply Merge Two Python Arrays using Addition Operator

You can merge or concatenate two Python arrays just by using an addition operator. This packet contains the Python program for this example.

Menu and submenu SwiftUI code

This packet contains the SwiftUI program for creating Menu and Submenu for iOS using built-in control.

Main Stylesheet (style.css) of WordPress theme with header texts

This packet contains Main Stylesheet of WordPress theme with header texts which is style.css.

Simplest Nginx configuration file for Reverse Proxy

This packet only contains the configuration file for Nginx reverse proxy. This is the simplest way for using Nginx as the reverse proxy.

PHP Class for OpenWeatherMap API

This is a PHP class for OpenWeatherMap API. OpenWeatherMap provides current weather and weather forecasting data.