Sign in

Tony Trejo

What is an API?

API Documentation

What is Binance?


Photo by @zgc1993


  • Asynchronous Callback (URLSession, DispatchQueue, DispatchGroup)
  • Synchronous Callback (Append String, Sort)
  • Property Callback (Network, Append String, Sort)
Photo by Nicolas Lobos @lobosnico

What is a Closure?

  • Case No 1 “Closure used in an Asynchronous Callback”


Photo by Vasily Koloda @napr0tiv

What the documentation says?


In this post I will be talking about protocols in Swift and the things you should know about protocol applied to classes, structs and enums.

What is a protocol?

protocol SimpleProtocol { // 1
}
protocol ClassProtocol: class { // 2
}
protocol AnyObjectProtocol: AnyObject { // 3
}
protocol AnyProtocol: Any { // 4
}
protocol ObjectProtocol: NSObject { // 5
}
@objc protocol ObjcProtocol { // 6
}
  1. This is the default syntax of one protocol.
  2. This is a protocol that inheritance from class, so for that reason this…


What is a Swift Class?

// MARK: CrytoExchange classclass CrytoExchange { // 1   // MARK: Properties  let



import VideoSubscriberAccount
open func checkAccessStatus(options: [VSCheckAccessOption : Any] =…



In this post I will be talking about how to create a builder that conforms the sign in foundations for User-Password, Facebook, Google process.

What is a builder pattern?

The example

  • UserSignIn
  • FacebookSignIn
  • GoogleSignIn

Tony Trejo

Experienced Software Engineer with 12+ years of experience. https://www.linkedin.com/in/antoniotrejof/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store