In #UIKit, we can add an insets to a MKMapView to have additional space around a specified MKMapRect. It's useful for UIs like Apple Maps or
Flighty.
I'm trying to do the same for a #SwiftUI Map (iOS 17) but I can't find a way to do it. Has anyone played with that yet?
#UIKit #swiftui #mapkit #iosdev
MKMapItems don't have any global unique identifier?
In my app, users can search & select places. I don't want to store duplicates in my database, so I'm looking for a way to compare MKMapItems. Comparing properties seems weak.
Some 3rd-party removed:
- Kingfisher: I used it to cache snapshots generated by #MKMapSnapshotter (for UITableView cells) ➡️ I'll now cache them in my Core Data store, if needed.
- Alamofire: I used it to fetch locations by consuming Foursquare API ➡️ I'll now use #MKLocalSearch (#MapKit).
#mkmapsnapshotter #mklocalsearch #mapkit #indiedev #BuildInPublic
Happy Monday everyone! 👋
ICYMI: I published a new article on my blog last week about how you can build a searchable map component using SwiftUI 🗺️.
Create new #macOS #SwiftUI app in the latest #Xcode beta. Change ContentView by including #MapKit and replacing the body with ```Map { }```. Compile and run on Sonoma beta. Get an assert failure.
I guess Apple tests with metal API validation turned off. If I edit the scheme to turn off validation the program will run until the map is zoomed in on an area with lots of detail. Then it crashes.😢
#macos #swiftui #xcode #mapkit
Perfectly in line with #WWDC, I have a four day weekend because of Corpus Christi, which means I have a lot of time to try out the new stuff. Especially lookig forwards to the new #MapKit options and the #SwiftUI observation changes 🔥
#wwdc23 #swift
#WWDC #mapkit #swiftui #wwdc23 #swift
I am starting to work on a new app.
It uses HealthKit, Photo Library, SwiftData, MapKit, CloudKit, SharePlay, WidgetKit, AppIntents and more frameworks.
Available on iPhone, iPad, and Vision Pro.
#WWDC #WWDC23 #HealthKit #SwiftData #MapKit #CloudKit #SharePlay #WidgetKit #AppIntents #iPhone #iOS17 #iPad #iPadOS17 #VisionPro #visionOS
#wwdc #wwdc23 #healthkit #swiftdata #mapkit #cloudkit #shareplay #widgetkit #appintents #iphone #ios17 #ipad #ipados17 #visionpro #visionos
Something like this example from the State of the Union, but powered by #MapKit. Hope this will be one of the sample apps.
#MapKit #MKLocalSearch tip: use a real device to check the results.
I first used Previews or a simulator and was really surprised by the results: they were quite different from results in other apps I use for the same query.
I then launched my app on my phone... and results were almost the same (some POI filters are probably different)!
First screenshot is from simulator, second is from my phone.
Using MKLocalPointsOfInterestRequest in #MapKit on #iOS, is there a way to get the same results than Apple Maps?
For example, my request for beaches near Bonifacio with a 10km radius provides me *one* MKMapItem 😫. Apple Maps shows 29 results… 🤩
#mapkit #iOS #indiedev #iosdev #indieios
Working with #CoreData, #MapKit, #CoreImage, and #PhotosUI can be a challenging task, but I'm constantly learning more about their functionalities. The journey is still long, but the satisfaction of making progress every day is priceless 💪 #developers #HackingWithSwift
#coredata #mapkit #coreimage #photosui #developers #hackingwithswift
Maybe we can attempt a #MastodonPlays with my prototype and you can give me feedback! #GameDev #SwiftUI #iOSDev #MapKit Our case begins in NYC… tell me where to go next!
#mastodonplays #gamedev #swiftui #iosdev #mapkit
I've been messing around with MapKit a LOT trying to see if I can massage enough metadata out to build a game upon. I was really excited to find this circle distance in Placemarks as a kind of analog to city "size". Then I saw Tokyo's... 👀 Evidently there is a LOONG chain of islands that are part of Tokyo! #GameDev #iOSDev #MapKit
[#Actu] « Map Kit : Huawei va lancer une alternative à Google Maps » https://siecledigital.fr/2019/08/18/map-kit-huawei-va-lancer-une-alternative-a-google-maps/ #technologie #googlemaps #smartphone #googlemaps #harmonyos #huawei #cartes #mapkit
#mapkit #cartes #huawei #harmonyos #smartphone #googlemaps #technologie #actu