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…

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…

The Joys of Beta Swift: More with Optionals and the “does not have a member named” error

We’ve had another change to the Swift compiler that was brought to my attention by an astute reader. I was aware of it, and you’ll notice I even used it in the last few posts, but I really should have warned people about it,…

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…

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….

From Apple to Raspberry Pi: How to Make a List Box (Somewhat) Useful

In the Popper’s Penguin application, I’d like to take my data, display it, and be able to select it. If I was doing this in Xcode, I’d use an UITableView to do exactly that. UITableViews are more advanced than what I want, as they…

The Summary of My Bad Day

Why blogs don’t get written:

SlippyFlippy 1.1: The Bug Hunt

Since my last post I got my first one-star review of SlippyFlippyPenguin. The Hard Mode bug  did it. Someone else can’t start the game in hard mode. In my last entry, I set up  a timer to fix what I thought is a user-related…

SlippyFlippy 1.1: Making a High and Low Score Indicator

This is the first of my improvements to the SlippyFlippy penguin game.  While this may not make sense since I have not posted all the game code yet, it might help those trying to come up with some of these solutions for their own…

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…