I have a UIView that displays lines, and I zoom in (scale by 2 on the scroll view zoomScale variable containing the UIView).
As I zoom in, on the Mac version (Designed for IPad) I loose the graphic after a certain number of zooms (the scrollView maximumZoomScale is set at 10).
To ensure that lines are correctly represented, I modify the contentScaleFactor variable on the UIView; otherwise, the line's display is pixelated.
On the IPad (simulator and real) I do not loose the graphic when zooming.
So the Mac port of the UIView drawing is not working as the IPad version.
Everything else of the application works fine except this important details.
I already submitted a feedback request (#FB16829106) with the images showing the problem. I need a solution to this problem.
Thanks.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Now that SwiftCharts exist, when will I be able to plot a swift array as a line plot, or a 2D height plot/image directly from the XCode debug command window. (p for print, p for plot also!).
Thanks
Topic:
Developer Tools & Services
SubTopic:
Xcode
With Swift, SwiftUI and Swift Charts and many other tools (Swift Tests, swift accelerate, etc), Apple needs to create a Jupyter notebook like (but better), helping Scientific and AI programming stepping through different hypotheses and tests.
Thanks
When will SwiftUI plot will support dates on the x-axes (hrs, month, years) and when will the plot library supports logarithmic scales.
Great progress so far.
Thanks.
Topic:
UI Frameworks
SubTopic:
SwiftUI