Category: Core Graphics
-
Swift Swift: Making Background Images, Small Images and Custom UIViews with Autolayout
For those who have worked a bit with auto layout, there are two topics that seems to be a real challenge: using a custom UIView, especially when using Core Graphics , and displaying photos either in the foreground or as a background. Both suffer from similar problems. When changing device or changing orientations they are…
-
Happy Pi Day! — Add a Pie to the Ring Graph
For those of us in the U.S. with a geekiness toward math March 15, 2015 at 9:26:53 is going to be the best pi day ever. As the date in the American calendar format is 3/14/15, the closest approximation to pi the mm dd yy hh:mm:ss format can have. To celebrate this, I’m going to…
-
Swift Swift: Basic Core Graphics for the Ring Graph
If you take a look at many of the cutting-edge designs for mobile User interfaces on Behance or Pinterest, you find a ring, arc or circle graph. The Apple Watch’s fitness activity app uses them extensively. Yet, if you scroll down the object library in Xcode it is a not a control to drag and…