Skip to content

Instantly share code, notes, and snippets.

View vitorventurin's full-sized avatar
🏠
Working from home

Vitor Venturin vitorventurin

🏠
Working from home
View GitHub Profile
//
// ActivityIndicator.swift
// RxExample
//
// Created by Krunoslav Zaher on 10/18/15.
// Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
import Foundation
import RxSwift
//
// ProductService.swift
//
// Created by Vitor Venturin Linhalis.
// Copyright © 2016 Vitor Venturin Linhalis. All rights reserved.
//
import Foundation
import Moya
//
// Product
//
// Created by Vitor Venturin Linhalis.
// Copyright © 2016 Vitor Venturin Linhalis. All rights reserved.
//
import Foundation
import Mapper
//
// Type.swift
// RxPlaces
//
// Created by Vitor Venturin Linhalis on 12/12/16.
// Copyright © 2016 Vitor Venturin Linhalis. All rights reserved.
//
import Foundation
//
// PlaceViewModel.swift
// RxPlaces
//
// Created by Vitor Venturin Linhalis on 17/01/17.
// Copyright © 2017 Vitor Venturin Linhalis. All rights reserved.
//
import UIKit
import RxSwift
//
// Place.swift
//
// Created by Vitor Venturin Linhalis on 27/11/16.
// Copyright © 2016 Vitor Venturin Linhalis. All rights reserved.
//
import Foundation
import Mapper
//
// ViewController.swift
//
// Created by Vitor Venturin Linhalis on 26/11/16.
// Copyright © 2016 Vitor Venturin Linhalis. All rights reserved.
//
import UIKit
import Moya
import RxSwift
//
// ReachabilityService.swift
// RxExample
//
// Created by Vodovozov Gleb on 10/22/15.
// Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
import RxSwift
import Foundation
@vitorventurin
vitorventurin / airport-distances
Created January 29, 2021 16:37
airport distances
This file has been truncated, but you can view the full file.
AAL ✈️ ABQ | Distance: 8195.183652584217 km
AAL ✈️ ABZ | Distance: 730.2386543388001 km
AAL ✈️ ACC | Distance: 5777.147943540879 km
AAL ✈️ AES | Distance: 644.8547502389752 km
AAL ✈️ AGP | Distance: 2507.4437035749943 km
AAL ✈️ AKL | Distance: 17510.039331730943 km
AAL ✈️ ALA | Distance: 4809.780861544547 km
AAL ✈️ ALC | Distance: 2226.079743224819 km
AAL ✈️ AMM | Distance: 3457.963091935342 km
import UIKit
protocol PropertyStoring {
associatedtype T
func getAssociatedObject(_ key: UnsafeRawPointer, defaultValue: T) -> T
}
extension PropertyStoring {
func getAssociatedObject(_ key: UnsafeRawPointer, defaultValue: T) -> T {
guard let value = objc_getAssociatedObject(self, key) as? T else {