I just realized that this might be a reason why certain apps stop working when transferring your data to a new device - even though these apps are copied, keys stored in the secure enclave aren't transferred
I guess we'll find out when the beta comes out, as there aren't any public resources on this API yet.
Either way, if using the model isn't possible, I guess apps could make use of Apple's CoreML Stable Diffusion implementation.
Alright, but what I wanted to highlight is that the value of myVar in the sheet’s View closure does not match the actual value in the outer ContentView, and it is never updated to reflect it’s new value (unless it is changed again). Is this expected as well?
The .onAppear was just a way for me to check what value myVar actually had.
@aboutzeph "This includes the use of iOS 17/iPadOS 17 only. " This leads me to believe that making an iOS 17-only Playground should be fine.
Also, I mentioned editing the Package.swift file in previous threads since you can't currently modify the minimum target version in Xcode. You are right, I also recently noticed that this is possible in the Swift Playgrounds app.
Afaik the app needs to support iOS 16 so the new Observable macro isn't an option unless it's being used as an iOS 17-only feature with an if #available version check or the @available(iOS 17.0, *) attribute.
I just realized that this might be a reason why certain apps stop working when transferring your data to a new device - even though these apps are copied, keys stored in the secure enclave aren't transferred
I guess we'll find out when the beta comes out, as there aren't any public resources on this API yet.
Either way, if using the model isn't possible, I guess apps could make use of Apple's CoreML Stable Diffusion implementation.
Alright, but what I wanted to highlight is that the value of myVar in the sheet’s View closure does not match the actual value in the outer ContentView, and it is never updated to reflect it’s new value (unless it is changed again). Is this expected as well?
The .onAppear was just a way for me to check what value myVar actually had.
@aboutzeph "This includes the use of iOS 17/iPadOS 17 only. " This leads me to believe that making an iOS 17-only Playground should be fine.
Also, I mentioned editing the Package.swift file in previous threads since you can't currently modify the minimum target version in Xcode. You are right, I also recently noticed that this is possible in the Swift Playgrounds app.
Afaik the app needs to support iOS 16 so the new Observable macro isn't an option unless it's being used as an iOS 17-only feature with an if #available version check or the @available(iOS 17.0, *) attribute.