iOS developer, game developer
Pinned Loading
-
A class to handle keyboard appear on...
A class to handle keyboard appear on view controller (move safeArea up and down) 1import Foundation
23class KeyboardAppearListener {4private weak var viewController: UIViewController?
5 -
Simple Color picker with standard 12...
Simple Color picker with standard 120 apple colors 1//
2// AppleColors.swift
3// ToDoStack
4//
5// Created by Ilya Biltuev on 23.04.2024.
-
CircleLoadingView - loading indicato...
CircleLoadingView - loading indicator with loop animation 1struct CircleLoadingView: View {
2@State private var rotationDegree: Double = 0
34var body: some View {
5ZStack {
-
Debouncer. Work logic: 1.Takes a dur...
Debouncer. Work logic: 1.Takes a duration and an async block to execute 2.Cancels previous tasks when a new event comes in 3.Waits for the specified duration before executing the block . Use case: 1.Perfect for search functionality 2.Prevents excessive API calls 3.Waits 0.5 seconds after the user stops typing before searching 1import Foundation23final class Debouncer {
4private let block: @Sendable () async -> Void
5private let duration: ContinuousClock.Duration
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



