shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

271
active users

#iosdev

17 posts17 participants0 posts today

Working with #Swift Measurements and fighting to get something in miles to display as feet? What you want is NOT to use:

Measurement.formatStyle()

and instead use a MeasurementFormatter and configure it to use .providedUnit. Add a custom numberFormatter for rounding and comma separators

Some usage conventions may not typically use miles/km and prefer feet/meters and while handy in many cases Measurement.formatstyle will default to to using mile/km

#iOSDev #macOSDev

developer.apple.com/documentat

Apple Developer DocumentationMeasurementFormatter | Apple Developer DocumentationA formatter that provides localized representations of units and measurements.

Very rewarding to be at the point where new features build on foundational code I've already written

Added export of maps as images and copying a map to the clipboard in about 2 hours.

That may not seem all that quick but consider you are starting with #Xcode -> New Project and think about how much goes into getting to what feels like magic where you press Cmd-C and boom, there is an image of the map on the clipboard.