Map
SwiftCurrent
Map | SwiftCurrent | |
---|---|---|
5 | 9 | |
175 | 305 | |
- | 0.0% | |
1.6 | 0.0 | |
7 months ago | over 1 year ago | |
Swift | Swift | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Map
-
Publishing changes from within view updates is not allowed, this will cause undefined behavior. on Map with Annotations
Something similar to this which can help w performance a lot especially if you use clusters
-
Map clustering for new Map()
Eventually they will have to add it but i wouldnt hold my breath. You can still use swiftui views in uikit annotations and wrap mkmapview to look like swiftui similar to this
-
Any good tutorials on how to get directions in a map for swiftui?
To get directions, have a look at the official MapKit documentation for MKDirections. In each route of MKDirection.Response, you can find an overlay of type MKOverlay that you can use on MKMapView. Apples own Map implementation for SwiftUI is actually pretty limited, so you can either wrap MKMapView yourself or use the library that I built: https://github.com/pauljohanneskraft/Map
-
MKMapView wrapper for SwiftUI
You can find a first approach in this pull request I opened. It allows you to effectively call setNeedsDisplay on the MKOverlayRenderer in use by use of Combine publishers and gives you custom access to the draw and canDraw methods of MKOverlayRenderer directly - would love this to be a SwiftUI view instead, but I'm not sure how to draw into a cgcontext directly - maybe with a UIHostingController and then draw its view into the cgcontext? but then again, how would you map the SwiftUI view to individual MKMapPoints? not sure, if this would ever be a simple task.
I was quite frustrated with the limited functionality of MapKit's MKMapView SwiftUI wrapper - so I built my own with a lot more features and customization options and made it open source on GitHub.
SwiftCurrent
-
What’s everyone working on this month? (November 2021)
Going to see if I can get data-driven workflows into https://github.com/wwt/SwiftCurrent so that you can define an order of things dynamically from a server. Already having some successes with SwiftUI, so I'm hopeful it'll land (or at least beta) by the end of the month.
-
Article: Why is SwiftCurrent using GitHub Actions?
If you want to look under the hood to see how we set up all our CI/CD code, you can look here: https://github.com/wwt/SwiftCurrent/tree/main/.github
-
Change screen depending from which screen it is pushed
I'm not sure if you're still looking into this, but this library might help: https://github.com/wwt/SwiftCurrent specifically that it helps you manage workflows through your app. It sounds like you're in UIKit, which there's support for managing at the view controller level. You might want to take a look to see if it gives you any ideas.
-
I've been working on an open-source library for managing complex workflows in Swift called SwiftCurrent. It comes with built-in support for UIKit and SwiftUI app-routing, and I think it's worth a look!
Repo: https://github.com/wwt/SwiftCurrent
-
What’s everyone working on this month? (September 2021)
Working on https://github.com/wwt/SwiftCurrent with a focus on getting SwiftUI support out of beta. I also need to do better in the readme to more convincingly portrait the library's value for managing complicated workflows in your swift apps.
- Show HN: SwiftCurrent – A library for managing workflows in Swift
- I've been working on an open source library for managing complex workflows in Swift called SwiftCurrent. It comes with built-in support for UIKit and SwiftUI app-routing, and I think it's worth a look!
- I've been getting to work on this open source project for work: SwiftCurrent. It manages complex workflows wherever Swift can be built. It comes with built-in support for UIKit, Storyboards, and SwiftUI app-routing.
- SwiftCurrent - Manage complex workflows wherever Swift can be built. It comes with built-in support for UIKit, Storyboards, and SwiftUI.
What are some alternatives?
SwiftUI-Kit - A SwiftUI system components and interactions demo app
URLNavigator - ⛵️ Elegant URL Routing for Swift
InteractiveMap - An Interactive Map Library for Swift and SwiftUI!
RxFlow - RxFlow is a navigation framework for iOS applications based on a Reactive Flow Coordinator pattern
SunKit - SunKit is a Swift library which uses math and trigonometry to compute several information about the Sun.
Linker - 🎯 Your easiest way to handle all URLs.
TCCMapTileAnimation - iOS Project to display animated map tiles within MapKit
Appz - 📱 Launch external apps, and deeplink, with ease using Swift!
PreviewDevice - PreviewDevice - is a library with type-safe syntax sugar for preview device on SwiftUI. Preview for UIKit and Cocoa.
MonarchRouter - Declarative URL- and state-based router written in Swift.
GaugeKit - GaugeKit is a free-to-use, open source Swift Package. It allows for easy creation of gauges not unlike the circular graphics used in many complications on the Apple Watch. ⌚️
LightRoute - LiteRoute is easy transition for your app. Written on Swift 4