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!
Post
Replies
Boosts
Views
Activity
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?
How should the new AttributedString be used with UILabel and other UIKit components? The only way I can find is to use NSAttributedString() to convert it, but this seems to lose much of the formatting (e.g. bold) when I try it in beta 1.