Category: Discovery!!!

The Swift Swift Tutorial: Ten Points for Using Optionals.

In the first month and a half of using Swift, I could argue the optional value is the most difficult new concept. It isn’t hard, just something different to wrap one’s head around. That Apple’s documentation peppers information about optionals in two different e-books…

From Apple to Raspberry Pi: Why use a Tkinter Listbox?

As those who have followed this series over the last few weeks might have noted, I’ve racked my brain trying to get around the Tkinter Listbox. For those not familiar with the Tkinter Listbox, it’s a GUI widget which allow for selection from a…

Living Without Storyboards or Interface Builder: Grids and a Grid Class

Using Grids As Steve Jobs liked to say… “Oh, and one more thing more thing.” In my last post Living without Storyboards or Interface Builder, I mentioned scribbling on a piece of paper. I do that often, but it is helpful to go one…

From Apple to Raspberry Pi: Configuring Buttons for GUI.

In our last installment, we learned how to add buttons and labels to a Python program. Now we are going to make them look a little nicer than the generic buttons we haven now using the configure method of Tkinter. Make a beginning framework…

From Apple to Raspberry Pi: Windows Buttons and Widgets — on Pi!

I’ve explored much of the basic coding in Python, but I’ll need a good user interface for the projects I’m doing. When it comes to the graphical user interface (GUI), Xcode and Python are on  two different planets. With storyboards and interface builder, Xcode…

SlippyFlippy 1.1: How to make a Countdown Timer in Sprite Kit.

The next item on the update project list is making a countdown timer.  For those who haven’t read earlier episodes of this blog, there is a bug I cannot find. For a very small number of users, the game ends immediately when starting in…

From Apple to Raspberry Pi: Using Strings

There are several ordered types in Python, one of the most common is the string. In Xcode, we defined a NSString this way: Objective-C has the @”…” indicators for a string. Python on the other hand can use the much easier “…” or ‘…’…

From Apple to Raspberry Pi: Importing Classes and Disturbing Attributes.

I didn’t do as much As I thought I would today, as I was installing tightvnc on the Raspberry Pi. I then tried out acessing my RasPi on my Mac, Pc, and even my iPad mini. I wasn’t nuts enough t try it on…

SlippyFlippy 1.1: Adding a Fading-in and out Label with Background in SpriteKit

Today we have a bug to deal with in SlippyFlippyPenguin. There are a two reports of when a user selects the hard skill level  the game  immediately goes to game over. I cannot find anything that is different in the code to account for…

from Apple to Raspberry Pi: Making Classes in Python

Objective-C and Python are similar when it comes to defining new classes, but be careful with their differences. In Objective-C we would define a class with two files: a header and an implementation file. In the header we would declare properties like this And…