Skip to content

Instantly share code, notes, and snippets.

View shonorio's full-sized avatar

Solli Moreira Honorio shonorio

View GitHub Profile
@shonorio
shonorio / flutter_flavors
Created July 14, 2020 17:55
Opções de flavors para o Flutter
Flavors in Flutter with Fastlane - yet another guide
https://roszkowski.dev/2019/flutter-flavors/#flavors-on-ios
import Foundation
import PlaygroundSupport
/// A thread-safe array.
public class SynchronizedArray<Element> {
fileprivate let queue = DispatchQueue(label: "io.zamzam.ZamzamKit.SynchronizedArray", attributes: .concurrent)
fileprivate var array = [Element]()
}
// MARK: - Properties