Tag Archives: async

What is XCTest framework in iOS?

By | February 5, 2024

The XCTest framework is the testing framework provided by Apple for writing and running unit tests in iOS and macOS applications. It is part of the broader XCTest framework available in the Apple ecosystem. XCTest is commonly used with Swift and Objective-C to test various aspects of your code, ensuring its correctness, reliability, and maintainability.… Read More »

Concurrency in Python

By | January 18, 2024

In Python, there are several ways to implement concurrency, allowing you to execute multiple tasks concurrently to improve the performance of your code. Here are some commonly used methods: Threading: Multiprocessing: Asyncio (asynchronous I/O): ThreadPoolExecutor and ProcessPoolExecutor: Choose the concurrency approach that best fits your specific use case, considering factors such as the nature of… Read More »

Performance programming in Flutter using Isolates

By | September 8, 2019

Watch Video Tutorial As you all know Flutter is a single threaded App platform. So then How to do multithreading ?. How to execute heavy operations in one thread ?. How to run big operations without affecting the UI ?. But yes, all these can be achieved with the help of Isolates. What are Isolates?… Read More »

Offline Database from WebService using SQFlite in Flutter

By | September 8, 2019

We are going to create an Offline Database using data from a Webservice. Watch Video Tutorial We are going to use the below service for that. https://jsonplaceholder.typicode.com/photos This service has about 5000 records, we are going to parse these records and insert all the records into the Offline SQLite database. Generate JSON Models To create… Read More »

File Operations in Flutter – Read and Write Files – Easiest Example

By | December 25, 2018

In Today’s tutorial, we will see how to handle files in Flutter. Its so easy… So Let’s start… Below is the sample app we are going to create…   Watch Video Tutorial   Add Dependencies For handling files in Flutter, we have to add a flutter dependency. Go to the below link and read more… Read More »

Flutter – Android, iOS , Native communication Simple Demo

By | December 25, 2018

Hello Devs, You know flutter is now a hot topic. Learning flutter will always help in your future career. In this article we will see how we can communicate between Flutter and Android. Watch Video Tutorial MethodChannel Flutter communicate with Native using “MethodChannel“. So you have to create a method channel with a constant as… Read More »

Service Call in Flutter with Retry Button, Catch Network failures.

By | December 21, 2018

Hello Devs, In today’s tutorial we will find out how we can write a simple service call in flutter and show retry when network call fails. Below is a sample video of the app we are going to make… Watch Video Tutorial You can watch the complete video tutorial from here… Add Library To do… Read More »

Doing HTTP Calls in Flutter and Parsing Data

By | October 3, 2018

Here is a simple example of doing Http calls in Flutter. In this example we will try to fetch some JSON value from the below url https://jsonplaceholder.typicode.com/posts/1 You can read more from here. Add Dependencies First you need to add the http plugin in dependencies. The latest version of http can be found here (https://pub.dartlang.org/packages/http).… Read More »