Post

Replies

Boosts

Views

Activity

Reply to Is Thread Networking Supported in HomeKit Matter preview?
HomeKit already supports Thread based devices that work with the HAP protocol in iOS 14. Matter works on top of Thread or Wifi (with some BLE for discovery…) and if I see this correctly, the examples they provide are based on Matter with Thread. While Matter devices will appear in HomeKit, they said in the session that you can control Matter directly without HomeKit, too. You have to install a profile for the Matter support, as it's a "Developer Preview", which kinda means it's even more beta than the beta ;-) Also everything "Matter" is called "CHIP" in the current build, because that's the "old" name.
Jun ’21
Reply to Issue to hide swiftUI view in UIHostingController
In the hideFlux function you are creating a new instance of your HostingViewController that is different from the instance you are presenting, so calling dismiss on it does nothing. Call dismiss() on the presentedViewController, which should be the ViewController you instantiated in the showFlux method. In general though this is a very brittle pattern. Your code should call the dismiss function from within the ViewController that is to be dismissed, so there is no ambiguity on what should be dismissed. Also, this is basically UIKit code, if you want to do it in SwiftUI, it is all a bit different, and maybe you shouldn't need to get down to the UIKit layer in the first place.
Jun ’21
Reply to Extra large SF glyphs
In the CarPlay video they talk about SF being a variable font, that can adjust boldness, italics, roundedness etc with arbritary values. I did not research how deep you have to go down in the font system, but that seems to be the way to do this. Those glyphs are not a special font, but a different set of those variable parameters.
Jun ’24