Tag Archives: Swift tailor

Friday night – Swift Tailor

No.. not Taylor Swift.. I mean that I finally took the time to try out the new Swift programming language for my iPhone and iPad. I used to use Objective C.. which was pretty complicated…

 

Swift is a more modern language designed for morons  like me. It really is fun to program.. My first attempt was a tutorial by a guy named Wei-Meng Lee that coupled a TI sensor tag to my phone or table to allow you to take remote selfies.. How cool is that ?  I took advantage of a couple of boring meetings (not with any of you) to do my coding as I listened)

 

The Sensor tag is this very cool $25 dollar wireless gizmo with thermometers, barometer, accelerometer, magnetometer, gombometer (remember gumby ?)..

 

here’s the Storyboard for the design in Xcode

and heres a little bit  of the swift code.. almost all of it in one file

 

And here’s the result.. you click the button on the sensor tag and it takes your picture. how cool is that

 

i fee proud of myself l like a kid who just tied his own shoe for the first time.. !

you’re never to old or weird looking to learn.. are you ?

 

nite all, nite sam

-me