Skip to content
View ilyanengen's full-sized avatar

Block or report ilyanengen

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. A class to handle keyboard appear on... A class to handle keyboard appear on view controller (move safeArea up and down)
    1
    import Foundation
    2
    
                  
    3
    class KeyboardAppearListener {
    4
        private weak var viewController: UIViewController?
    5
    
                  
  2. 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.
  3. CircleLoadingView - loading indicato... CircleLoadingView - loading indicator with loop animation
    1
    struct CircleLoadingView: View {
    2
        @State private var rotationDegree: Double = 0
    3
    
                  
    4
        var body: some View {
    5
            ZStack {
  4. 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
    1
    import Foundation
    2
    
                  
    3
    final class Debouncer {
    4
        private let block: @Sendable () async -> Void
    5
        private let duration: ContinuousClock.Duration