Post

Replies

Boosts

Views

Activity

Simultaneous Drag and Magnification Gestures
I wrote an application that enables simultaneous rotate and magnification gestures on a rectange. This application worked as expected. When I adapted the same application to enable simultaneous drag and magnification gestures on a rectange, I can either drag the rectangle or resize the rectangle, but I cannot do both.I'm thinking this behavior is normal, because the two gestures are different; that is, drag is a one-finger gesture and magnify is a two-finger gesture. Can someone confirm this behavior for me?If this is indeed working as expected, then how can I drag and resize a view at the same time?
7
3
7.6k
Jan ’23
Can DocC Generate Documentation for Extensions?
Is there a way to force the documentation compiler to generate documentation for extensions to types outside a package/framework? This is incredibly important, as some packages and frameworks extend types that are part of the Swift Foundation (e.g., extensions to primitive types and collection) and SwiftUI (e.g., view modifiers and environment values).
5
0
2.7k
Apr ’22
Simultaneous Drag and Magnification Gestures
I wrote an application that enables simultaneous rotate and magnification gestures on a rectange. This application worked as expected. When I adapted the same application to enable simultaneous drag and magnification gestures on a rectange, I can either drag the rectangle or resize the rectangle, but I cannot do both.I'm thinking this behavior is normal, because the two gestures are different; that is, drag is a one-finger gesture and magnify is a two-finger gesture. Can someone confirm this behavior for me?If this is indeed working as expected, then how can I drag and resize a view at the same time?
Replies
7
Boosts
3
Views
7.6k
Activity
Jan ’23
Can DocC Generate Documentation for Extensions?
Is there a way to force the documentation compiler to generate documentation for extensions to types outside a package/framework? This is incredibly important, as some packages and frameworks extend types that are part of the Swift Foundation (e.g., extensions to primitive types and collection) and SwiftUI (e.g., view modifiers and environment values).
Replies
5
Boosts
0
Views
2.7k
Activity
Apr ’22