Home
AKDebuging
Cancel

Automate your Flutter web deploy to Firebase using Github actions

If you’re developing a Flutter web application and you want to share it with the world, Firebase Hosting provides a reliable and secure way to do so. In this tutorial, I’ll guide you throug...

Automate your Flutter PR review using Danger and Github actions

PLEASE ADD FIX THE WARNINGS IN YOUR CODE PLEASE ADD UNIT TESTS PLEASE UPDATE THE CHANGELOG ... How many times did you see this kind of comments on a PR? I’m sure a lot! Did you thought be...

What is DispatchGroup and how to use it

DispatchGroup All of us ran into case where you need to wait for multiple works to finish to do something, maybe downloading models from multiple APIs then group them, or do a group of API...

What is DispatchSemaphore and how to use it

DispatchSemaphore Have you ever ran into issue where you want a code to be accessed by one thread at a time? DispatchSemaphore give you this abilty in vary clean way! Example Imagen that ...

What is DispatchWorkItem and how to use it

DispatchWorkItem Creating a DispatchWorkItem You can use DispatchWorkItem to create a work to be performed on a dispatch queue. let workItem = DispatchWorkItem { print("I'm doing some w...

What are Dispatch queues and how to use them

DispatchQueue A class that manage the tasks execution serially or concurrently on your app’s main thread or on a background thread. Serial queue vs Concurrent queue Serial queue Serial qu...

How to use SKEmitterNode programatically

Lately, I was developing a game for the AppleTV and WatchOS, and while doing that, I was looking for a way to create the SKEmitterNode programmatically. Surprisingly that was hard! The main...

What is @objcMembers and @objc in Swift

If you tried to use Swift code in Objective-C and you were not able to create an object from a class or to call a swift method, that’s most probably because you didn’t add the @objc to the ...

What is @main in Swift

In all programs you always have an entry point, a place where your app should start from, and swift is not an exception to that. If you remember the very old days we where having main.m as ...

Game center Access point

This year apple has done a really good updates to the Game Center to make it look better and modern, One of the good changes is the new Access point where the user will have an access point...