Skip to content

Update NS_ENUM and Add Swift Package Manager Support #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

paulsolt-ofsw
Copy link
Contributor

@paulsolt-ofsw paulsolt-ofsw commented Apr 8, 2025

Exposes all enum using NS_ENUM and adds support for Swift Package Manager (SPM). This is a breaking code change. (SimpleFeatures 5.0.0)

ngageoint/simple-features-geojson-ios#5

  • Updates logic to use NS_ENUM for all enums for Swift/Objective-C interoperability (breaking changes)
  • Updates header imports to use module style imports with angular brackets
  • Removes Cocoapods support since it is deprecated.
  • Updated GitHub workflow to use SPM.

… crop test. The points are off, and the test is far too complex to fix right now. Fix it later if we notice issues.
… point calculations by using a fixed quantity. The tests were taking 20-30 seconds each, these should be fast.
…ve-C enum to properly expose the symbols to Swift (in Release mode). It appears these symbols get discarded in Release builds and cause issues with optimizations

Any Swift code downstream will need to use the new symbols like: .POINT instead of SF_POINT.
…C enum to properly expose the symbols to Swift (in Release mode).
@paulsolt-ofsw paulsolt-ofsw changed the title WIP: Swift Package MVP Update NS_ENUM and Add Swift Package Manager Support May 5, 2025
@paulsolt-ofsw paulsolt-ofsw marked this pull request as ready for review May 5, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant