Post

Replies

Boosts

Views

Activity

Comment on Implementing RawRepresentable for a DictionaryType has broken my Test target build. Not sure how to fix things...
Thanks Quinn, this makes sense. My 'final destination' is: @AppStorage("scriptPickers") var scriptPickers: ScriptPickers = ScriptPickers.defaultDictionary In order for this to work I implemented RawRepresentable for ScriptPickers. While the part of my brain that likes efficiency has an allergic reaction to: struct ScriptPickersWrapper: { let scriptPickers: ScriptPicker } I now see how this is preferable to adding a RawRepresentable conformance for Dictionary. thanks
2w
Comment on Trying to better understand CGAffineTransform.... and need a bit of guidance.
Your sample code is exactly what I needed to do (ie translation before rotation) Stepping back from my specific question, my larger goal is to perform 4 steps scale up in size translate (so the scale happens about a specific 'center' point) rotate translate (so the rotation happens about the same centre point) Based on the feedback here I've change to translate (to compensate for the scaling) translate (to compensate for the rotation) scale up rotate Thanks Claude
Jan ’25
Comment on Should Photo Extensions work in iOS simulators?
Hello gchiste, your assumption is correct. I was referring to a "Photo Editing Extension" I still do not see my extension when I follow the above steps, however I do see it when I follow these steps: run my new 'empty' PhotoEditingExtension target in an iOS simulator select photos as the app to run open a photo tap 'Edit' tap the ... button in the Edit view Following the above steps no a physical device I don't see my extension in the Options bottom sheet :-(
Jan ’24