How do I find an appropriate position for my labels on a pie chart?
Question or problem in the Swift programming language: I am not using any libraries so this is not a duplicate of this.
Continue ReadingQuestion or problem in the Swift programming language: I am not using any libraries so this is not a duplicate of this.
Continue ReadingQuestion or problem in the Swift programming language: I am trying to replicate this cube image shape (with permission from the original creator) using scene kit.
Continue ReadingQuestion or problem in the Swift programming language: I gave myself an exercise to learn Swift, based on an example I have found on the Apple Swift website:
Continue ReadingQuestion or problem about Python programming: I’m having trouble with import cv in my python code.
Continue ReadingQuestion or issue on macOS: Apple’s CoreGraphics library defines two functions for describing an arc.
Continue ReadingQuestion or problem in the Swift programming language: I’m 3 days new to swift, and I’m trying to figure out how to draw a rectangle. I’m too new to the language to know the classes to extend and the methods to override, and I’ve looked around for sample code, but nothing seems to work (which […]
Continue ReadingQuestion or problem in the Swift programming language: I need to highlight an irregular shape when the user taps on it. My idea on how to do it was to draw a polygon that matches the shape, fill it with a color and change the opacity to make it translucent. Unfortunately I can’t find anything […]
Continue ReadingQuestion or problem in the Swift programming language: I have a UIImageView inside a UIScrollView which automatically zooms out to fit the image supplied. The user can zoom as usual with a pinch gesture, and the pan gesture is set to require two touches since the drawing takes precedence.
Continue ReadingQuestion or problem in the Swift programming language: I would like the user to touch 2 points and then a line is drawn between those two points. Here is what I have so far:
Continue Reading