diff --git a/Iguazu.podspec b/Iguazu.podspec index 162081b..6d7c69f 100644 --- a/Iguazu.podspec +++ b/Iguazu.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "Iguazu" - s.version = "1.4" + s.version = "1.4.1" s.summary = "An aviation file format parser written in Swift" s.description = <<-DESC Iguazu is a new project and still work in progress. The goal is to have a Swift framework with support for various popular aviation file formats to facilitate development of apps for pilots on the iOS platform. @@ -26,5 +26,5 @@ For more details on the Iguazu Falls: https://en.wikipedia.org/wiki/Iguazu_Falls s.platform = :ios, "10.0" s.source = { :git => "https://github.com/ekurutepe/Iguazu.git", :tag => "#{s.version}" } s.source_files = "Iguazu", "Iguazu/**/*.{swift}" - s.swift_version = "5" + s.swift_version = "5.0" end diff --git a/Iguazu/CUP/Waypoint.swift b/Iguazu/CUP/Waypoint.swift index cc3e88b..120b4fe 100644 --- a/Iguazu/CUP/Waypoint.swift +++ b/Iguazu/CUP/Waypoint.swift @@ -8,7 +8,7 @@ import Foundation -struct Waypoint { +public struct Waypoint { let title: String let code: String let latitude: Double @@ -16,7 +16,7 @@ struct Waypoint { let elevation: Double } -extension Waypoint { +public extension Waypoint { static func waypoints(withContentsOf url: URL) -> [Waypoint] { var cupString = "" do {