iOS Training from beginner to advanced
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… Continue Reading “The Swift Swift Tutorial: Ten Points for Using Optionals.”
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… Continue Reading “Living Without Storyboards or Interface Builder: Grids and a Grid Class”
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… Continue Reading “From Apple to Raspberry Pi: Windows Buttons and Widgets — on Pi!”
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… Continue Reading “SlippyFlippy 1.1: How to make a Countdown Timer in Sprite Kit.”
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 ‘…’… Continue Reading “From Apple to Raspberry Pi: Using Strings”
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… Continue Reading “From Apple to Raspberry Pi: Importing Classes and Disturbing Attributes.”
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… Continue Reading “SlippyFlippy 1.1: Adding a Fading-in and out Label with Background in SpriteKit”
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… Continue Reading “from Apple to Raspberry Pi: Making Classes in Python”