From 9c8a025e81040b082d21d3967a2d63a8c7f8869f Mon Sep 17 00:00:00 2001 From: Dan Barela Date: Mon, 23 Oct 2023 15:31:06 -0600 Subject: [PATCH] compilation fix --- CHANGELOG.md | 3 +++ Marlin/Marlin/Extensions/SFGeometryExtensions.swift | 9 +++++++++ Marlin/Marlin/Marlin-Bridging-Header.h | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5a7072e..f6a1e06c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ All notable changes to this project will be documented in this file. * Navigational Warning drawing bugs fixed * Navigational Warning tap areas consistently work now * Fix for iOS 17 batch import +## 1.2.1 + ### Bug Fixes + * Set the correct URL for MSI ## 1.2.0 ### Bug Fixes * UI Improvements to prevent unncessary redraws, ongoing fixes diff --git a/Marlin/Marlin/Extensions/SFGeometryExtensions.swift b/Marlin/Marlin/Extensions/SFGeometryExtensions.swift index 20c281f1..77db8de1 100644 --- a/Marlin/Marlin/Extensions/SFGeometryExtensions.swift +++ b/Marlin/Marlin/Extensions/SFGeometryExtensions.swift @@ -7,6 +7,15 @@ import Foundation import CoreLocation +import sf_ios + +// Need this here so that XCode will compile the SFGeometryCollection class before it is used in a subsequent file +// why XCode will not just compile the class in the file it is referenced in is beyond me..... DRB 2023 OCT 4 +extension SFGeometryCollection { + var thingToMakeItCompile: String { + "hi" + } +} extension SFPolygon { diff --git a/Marlin/Marlin/Marlin-Bridging-Header.h b/Marlin/Marlin/Marlin-Bridging-Header.h index 6acd2257..58fd4d51 100644 --- a/Marlin/Marlin/Marlin-Bridging-Header.h +++ b/Marlin/Marlin/Marlin-Bridging-Header.h @@ -14,7 +14,7 @@ #import "SFLineString.h" #import "SFGeometry.h" #import "SFPoint.h" - +#import "SFGeometryCollection.h" //#import "sf-ios-umbrella.h"