Category: ios8
-
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: Split View Controllers (Round Two) Part 1: The Master-Detail template
Back in July of 2014, I wrote one of this first posts on Split views, I said I would write another post on the subject. I ended up making this a section in chapter six of my Book I ended up making this section 2 of chapter six of my Book Swift Swift: UI View […]
-
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 […]
-
Converting Objective C to Swift : The Circular Picker View Example
Swift is a new language. Objective C is not. Sometimes you have some Objective C code and want to make it into Swift code. I had a case of that this week when a reader asked me about continuous picker view wheels. If you are familiar with the date picker it goes from 0 to […]
-
The Joys of Beta Swift: as Versus as! and Why I Avoid Betas
It came to my attention this week there’s a big change to Swift code on the way. It doesn’t look big though: it is the difference between as and as!. The keyword as is the conversion operator. Usually type or class are easily defined like this: But there are times you get things like this […]
-
Create Dynamic and Static Table Views in Swift 3
In an early post on this site, I wrote a table view tutorial. I decided to update that tutorial a bit for The Swift Swift View Controllers Book and add a bit more sophistication and depth. This tutorial deep dives in the subject. Both will remain on the site. In October 2016 I updated this for […]