I write about programming, technology, and mobile apps development. 🚀 https://thinkdiff.net

Flutter

Learn stateful widget, regular expression, floating button, text fields, etc. in Flutter

Image for post
Image for post
Created by the author
Image for post
Image for post
Screenshot captured by the author

Features:

  1. User can add a row with 2 text fields: category and cost
  2. While typing the cost, the total cost will be shown on the…


Programming

One web scraping technique to rule them all

Image for post
Image for post
Photo by Madison Yocum on Unsplash | Modified by the Author


Android Dev

Easy to say but expensive to do

Image for post
Image for post
Photo by Daniel Romero on Unsplash and updated by Author


Flutter

The easiest way to manage the global state in a flutter app

Image for post
Image for post
By author
Image for post
Image for post
  1. Home
  2. About
  3. Settings
Image for post
Image for post
Flutter App With Provider


iOS Dev

Adding dark and light mode in SwiftUI based iOS app

Image for post
Image for post
https://apps.apple.com/us/app/id1527918864#?platform=iphone | Created by the Author

1. Create a New Project

Image for post
Image for post
Screenshot created by the author

2. Create the User Interface


iOS Dev

Save time by automating deployment

Image for post
Image for post
Credit https://fastlane.tools/ Modified by the Author

I assume you know, how to deploy an iOS app manually on the App Store.


iOS Dev

Learn to add SwiftUI in your existing UIKit based project

Image for post
Image for post
Photo by Matthew Fournier on Unsplash | Edited by the author

I want to integrate my other app’s SwiftUI based module in my existing UIKit based app.

Image for post
Image for post
Our Apps Module is developed using SwiftUI

The proper way to assign a state variable in the init() method

Image for post
Image for post
Created by the author
Image for post
Image for post
Screenshot created by the author

This is because:


Firebase

Write a firebase function to download a file from a remote URL and upload it to firebase storage

Image for post
Image for post
Photo is created by the author
Image for post
Image for post
Diagram created by the author

Use Case:

  1. The user will create a data entry in the database. In this case, it is a collection in Firebase Cloud Firestore.
  2. The document consists of a remote image URL, id, and userId.
  3. When the data creates it triggers a Firebase Cloud Function

Firebase Cloud Function’s Tasks:

  1. Download the image from the other site
  2. Upload the image to Firebase Cloud Firestore Storage
  3. Update the document in Firebase Cloud Firestore…

iOS Dev

How to hide disclosure arrow indicator on SwiftUI List on iOS 13 and iOS 14

Image for post
Image for post
Created by the author

1. iOS 13 Solution:

2. But the problem is, on iOS 14 it doesn’t work.

3. But the problem again appears on iOS 14.2

Image for post
Image for post
captured by the author

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