Post

Replies

Boosts

Views

Activity

Reply to onContinueUserActivity(NSUserActivityTypeBrowsingWeb) getting called twice
I also have a similar problem. In my case, the onContinueUserActivity(NSUserActivityTypeBrowsingWeb) is called at the AppClip launch time, which I expect, but it is also called every time the AppClip receives a push notification. I've just discovered this surprise, just one day before I have to release the app in the App Store. Looks like someone's not sleeping tonight...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’24
Reply to Xcode 15.3 crippled with "internal inconsistency error"
I've never run into this issue until today. I was migrating from Apollo GraphQL to OpenAPI generator, both come from SPM. I removed every dependency to Apollo and added OpenAPI generator, runtime and urlsession packages. And now Xcode throws Internal inconsistency error every second time I try to build the project. While writing this post, I remembered I had this issue last year or so. I solved it by re-adding the files Xcode was barking at. I'm going to try it now, maybe it will solve the issue I now have.
Apr ’24
Reply to Any way to use a SymbolEffect in an NSButton
I've just faced the same issue. I can now solve this only by adding an NSImageView as a subview in the button, and apply the animations there. But I also have to deal with image transparency now - when I switch to the other window, the image stays fully opaque, while NSButton.image's default implementation decreases image's alpha in this case. So my implementation doesn't seem right, although it works...
Topic: UI Frameworks SubTopic: AppKit Tags:
Apr ’24
Reply to No Framework called MetalFX found?
I guess you have to wait for a new release of Xcode which will contain MetalFX for mac, or test this example on a real iOS device with iOS 16. Or you also can install the latest Xcode beta. And I think there is only Swift implementation of this example. If you really want to, just rewrite it on Objective-C, the API call are similar and there is not that much code in Swift.
Topic: App & System Services SubTopic: General Tags:
Oct ’22