Post

Replies

Boosts

Views

Activity

Will Nearby Interaction support AirTags?
Nearby Interaction is providing a rich story for spatial interaction with third-party UWB accessories. Yet there's been no mention of AirTags. Apple's gone to such great lengths to create (and demonstrate) and level playing field in this arena, it seems strange that they would allow interaction with third-party AirTag competitors that wasn't possible with AirTags themselves. Will AirTags support allowing apps to monitor spatial data outside of the standard UI? This would open up a plethora of opportunities for games, collaboration, and other uses; our (non-game) app has two distinct use cases that we'd love to use AirTags for already, we're lacking only API -- and Nearby Interaction would be the perfect API!
0
0
780
Jun ’21
Custom fonts with AttributedString and Markdown
What is the best way to customize rendering of Markdown styles, in both UIKit and Swift? For instance, how should I tell it what font to use for normal and Bold text? This is what kept us from using NSAttributedString+HTML for embedded string formatting in the past, and AttributedString+Markdown looks even better for this use case, so I'm hoping the fact that we use a custom font won't be a roadblock. Is calling .replaceAttributes() the expected pattern, and just doing this for each expected attribute in each string?
3
0
4.3k
Jun ’21