Skip to content
View kbazzani's full-sized avatar

Block or report kbazzani

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.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, 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 swift dependency injection example... A swift dependency injection example using a variable property and generics
    1
    import Foundation
    2
    
                  
    3
    protocol SomeProtocol<Thing>
    4
    {
    5
    	associatedtype Thing
  2. Concurrent Generic NSCache wrapper i... Concurrent Generic NSCache wrapper in Swift -- thought it was interesting, might delete later :P
    1
    import Foundation
    2
    import Dispatch
    3
    import SwiftUI
    4
    
                  
    5
    class Cache<K:AnyObject,V:AnyObject>
  3. ImageCacheActor with NSCache backing... ImageCacheActor with NSCache backing store
    1
    /*
    2
    3
    This code is based on an WWDC demonstration regarding Actors
    4
    I combined it with NSCache
    5
  4. LRUCache+DependencyInjection.swift LRUCache+DependencyInjection.swift
    1
    import Foundation
    2
    
                  
    3
    
                  
    4
    protocol LRUKeyStore<K>
    5
    {