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 without consolidating the information doesn’t help. I decided to combine what […]
-
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 step further: use a preset grid. The web building world, at […]
-
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 arguably spoils developers. There are times one does need to add […]
-
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 possibly public methods In the implementation file we would have the […]