This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Simplify.swift | |
// adapted from https://gist.github.com/yageek/287843360aeaecdda14cb12f9fbb60dc | |
// updated to work with Swift 5.9 | |
// | |
// Simplification of a 3D-polyline. | |
// A port of https://github.com/hgoebl/simplify-java for Swift | |
// | |
// | |
// The MIT License (MIT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Simplify.swift | |
// | |
// Simplification of a 3D-polyline. | |
// A port of https://github.com/hgoebl/simplify-java for Swift | |
// | |
// | |
// The MIT License (MIT) | |
// | |
// Created by Lachlan Hurst on 10/02/2015. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AsyncMessages.swift | |
// TradeAnalyst | |
// | |
// Created by Will Temperley on 25/07/2023. | |
// | |
import Foundation | |
import SwiftProtobuf | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ProtoIter.swift | |
// | |
// Created by Will Temperley on 28/06/2023. | |
// Varint decoding adapted from SwiftProtobuf | |
// | |
import Foundation | |
import SwiftProtobuf | |
extension InputStream { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftProtobufIssue1410Tests.swift | |
// | |
// Created by Will Temperley on 26/06/2023. | |
// | |
import Foundation | |
import XCTest | |
import SwiftProtobuf |