Posted on July 25, 2018
by Steven Lipton
Leave a Comment
A couple of weeks ago, I added a column on converting hex colors to UIColor. That was a function you had to copy and paste into your code. I’ve also shown you how to use the assets to keep color names handy. What would…
Category: GUI, Improvements and bugs, iOS 11, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift Programming, TutorialTags: class methods, Classes, extension, Hex Colors, properties, swift, UIColor
Posted on July 21, 2015
by Steven Lipton
6 Comments
I find a lot of confusion among beginners and a handful of intermediate developers about what is a class. Object oriented languages like Swift, Objective C or C++ use classes to organize everything in the language and the API’s. You might have heard words…
Category: Swift, Swift Programming, TutorialTags: class methods, Classes, constructors, inheritance, init, initialize classes, initializer, instance methods, instantiation, methods, Overrides, properties, self, subclasses, subclassing, super, swift
Posted on April 1, 2014
by Steven Lipton
Leave a Comment
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…
Category: Discovery!!!, Raspberry Pi, TutorialTags: attributes, Classes, def, dynamic typing, from include, functions, include, instances, properties, Python, Raspberry Pi, type checking
Posted on March 30, 2014
by Steven Lipton
1 Comment
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…
Category: Discovery!!!, Raspberry Pi, TutorialTags: attributes, Classes, Cocoa Touch, Discovery, functions, instances, methods, objective-c, properties, Python, Raspberry Pi, Tutorial, Xcode