#CoreLocation

iOSoho Meetupiosoho@iosdev.space
2025-01-20

Newly posted: a video from March 2023:

• Pushing the limits of Core Location by Nick Patrick
• Native UI, Shared Logic: Leveraging Kotlin Multiplatform to share code between iOS and Android by Carlo Rapisarda

youtube.com/watch?v=Xjvu23Hyj0

#iosdev #swift #Kotlin #CoreLocation

Stuart Minchingtonstumin@fosstodon.org
2024-11-05

A huge thank you to @twostraws and @StewartLynch for their incredible #MapKit and #CoreLocation resources, which were invaluable for implementing and truly understanding these iOS features in #SwiftUI.

Axel Le Pennecalpennec@iosdev.space
2024-06-17

Now, this is the first version of the app, I have tons of ideas to improve it but I wanted to get it in people's hands and see what people like, what they want, and how it's used 🙂

On the technical side, the app is entirely built in #SwiftUI (what did you expect?), and leverages #CoreLocation, #MapKit, #WeatherKit and a little bit of #SwiftCharts.

This app is the reason I filed and share many feedback related to these frameworks lately 😄

#iOS #AppStore #IndieDev

Malcolm Hallmalhal
2024-05-01

I'm beginning to think the CLMonitor actor is badly designed. You can only have one instance per identifier (which regions are tied to) and you can only listen for async events stream in one place (if you use the stream twice there is corruption of next()). This means you can't use it from SwiftUI where there is no app level .task available. SwiftUI is designed to have multiple .task spread through out and can all create their own async streams.

developer.apple.com/documentat

Malcolm Hallmalhal
2024-03-24

Just reported a bug FB13696956

CLMonitor: No events received for a region added while app is running

openradar.appspot.com/radar?id

Malcolm Hallmalhal
2024-03-16

Found another disappointing Apple code sample, this time from the team. They wrapped async/await Task in a Combine ObservableObject instead of just using the .task modifier. They could have also used @.AppStorage instead of UserDefaults.
developer.apple.com/documentat

Leif 🧡leif@mas.to
2023-12-13

Here's a gentle reminder that small steps lead to big changes. 🚀 I'm thrilled to announce the initial release of LocationApplication. This tool aims to simplify dealing with location services in Swift. It's built upon AppState, which promotes manageable code and improved testability. If you're working on location-based applications, this could be a handy tool for you.

github.com/0xLeif/LocationAppl

#SPM #LocationApp #AppState #Swift #corelocation #iOS #SwiftLang #SwiftUI #OpenSource #macos #mobile

Axel Le Pennecalpennec@iosdev.space
2023-10-16

With the new CLLocationUpdate API in #CoreLocation, is there a way to set the desiredAccuracy for the location updates?

I currently specify kCLLocationAccuracyNearestTenMeters on my CLLocationManager to only get GPS locations.

developer.apple.com/documentat

#iOSDev #BuildInPublic #IndieDev

Axel Le Pennecalpennec@iosdev.space
2023-08-29

So many reasons to target iOS 17+ & drop support for older versions:
- MapKit for #SwiftUI (annotations & overlays)
- #CoreLocation now supports live updates using Swift concurrency’s async/await capability
- #SwiftData (no, just a joke, I'll stick to my #CoreData stack for now)

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst