Category: Pie on my face
-
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 […]
-
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 […]
-
The Joys of Beta Swift: A Change to Outlets
I went to open the pizza demo to get ready for my next post and was greeted by 10 compiler error messages, all the same. ‘IBOutlet’ property has non-optional type ‘UILabel’ Just after I finished the optionals post, It turns out there a change in Beta 4. Before Beta 4, and as described in Apple’s […]
-
The Swift Swift Tutorial: Oops! Why your Pizza Prices Don’t Update
There are plenty of people who say if you make a mistake you will lose your reputation, so It’s best to hide your mistakes. I’m not one of those people. If I goof I’d rather get the situation fixed and get everything working again. I like that kind of transparency and integrity. So — I […]
-
The Summary of My Bad Day
Why blogs don’t get written:
-
Bass ackwards with Objective C.
It drives me nuts, thinking backwards. in Java or C++ or C, functions and methods are simple. They’re close to what I did in Pascal a quarter century ago: and then the call would be No biggie. If sampleMethod was in a an object I was calling, But Objective C turned things around. Definitions are […]