WatchKit meet LIFX by Mark Aufflick

At last weeks Sydney CocoaHeads, barely 24 hours after WatchKit was released, I thought it would be a good idea to demo a little app I wrote to control a wifi-controlled light globe from LIFX. It went surprisingly ok! Hope you enjoy it.

For those wondering about the NDA, we tend to agree with Ray Wenderlich and Craig Hockenberry, that “Since the Apple Watch SDK docs are open to the public and we haven’t heard anything to the contrary, we are assuming it is OK to talk about WatchKit at this point. If anyone hears an official word on the matter, please let us know!” — Greg Heo on raywenderlich.com

The demo code shown is on GitHub: https://github.com/aufflick/LIFX-Watch-Remote

As a reminder, you can subscribe to all our video content via iTunes or any other rss reader with this url: RSS Video feed

As always, Sydney CocoaHeads brought to you by The High Technology Bureau and sponsored by Atlassian. Thanks to Craig Stanford for supplying and manning the video camera this month.

© 2014 Mark Aufflick (@markaufflick), The High Technology Bureau.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Australia License.

You are free to:

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms:

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

Sydney CocoaHeads is THIS THURSDAY. Now with 100% more ChronometerKit.

Hi all,

** STOP THE BITS AGAIN **

I couldn’t help it, I’ve made a simple WatchKit app that controls photons. I’m sure the demo will be flawless!

** STOP THE BITS **

I spoke too soon, and we have tracked down a real live speaker? Max Grebenets is going to give a talk on, wait for it, “Flappy Swift”, not to be confused with “Flappy Swtf” which is a new language Samsung is working on.

Come for the gameplay, enjoy the syntax!

** ORIGINAL MESSAGE **

Sydney CocoaHeads is THIS Thursday September 17th. Well, sort of. We don’t *actually* have any *actual* speakers lined up, so it’s going to be a fairly freewheeling night.

Maybe we’ll set up some tables for hacking, maybe we’ll just stand around drinking beer awkwardly semi-dancing-on-the-spot to some funky tunes. There’s always the pool table and table tennis table that we can pretend to be Atlassian employees and have a go at.

Some people might like to demo their apps or show something off the cuff.

And Craig thinks he has enough other stickers to do some sort of ad-hoc quiz.

I have a few other ideas for some random bits – we are all starting to wind down for the year anyway, right? Feel free to let me know or discuss online any other ideas. Maybe Chris and Gordon can just stand up the front and we’ll see who can come up with the best heckle. Or start an argument about Core Data with Tom. Whatever, it’s always fun to get together!

On the plus side, as always, CocoaHeads is held at Atlassian, which means free pizza and beer! Come and talk to me about Stash! Actually talk to Marcin – he knows a bit more about it.

When: Thursday September 18th, 6:30pm

Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, AustraliaLook for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

Sydney CocoaHeads, Thursday October 16

With our illustrious Sydney leader jaunting around the globe, you suckers are left with Craig hosting this month!

We have another great lineup with Craig Edwards from [REDACTED]* giving a talk entitled “Pipe Dreams – Getting your build & deployment pipeline sorted”. That’ll be followed by two lightning talks, one by Chris Hulbert entitled “Hide yo keys, hide yo bytes” & one by Gordon Childs entitled “Dollar Dollar Links Yo!”**.

If everyone is still enjoying them, I’ll also do another short quiz with some awesome stickers on offer. I’m open to suggestions on themes too, just shoot me an email or tweet at me.

As always, CocoaHeads is held at Atlassian, which means free pizza and beer!
When: Thursday October 16th, 6:30pm
Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, Australia)
Look for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

* Ask Craig on the night why it’s [REDACTED]
** Names of talks may not actually be real. I might have just invented them on the spot.

September CocoaHeads is THIS THURSDAY 18th

Hi all,

With all the iPhone & Beta madness these days, CocoaHeads has snuck up on us – it’s THIS Thursday September 17th.

We have a few different things lined up for this month, with (accidentally) a bit of a theme of application architecture.

Our main talk for the month is by Sye Boddeus:

Architecting Complex Apps, A Personal Story

Large applications require a special focus on architecture in order to keep them maintainable, to keep information flow controlled, to keep them testable and to keep project developers sane. By going over a recent project I worked on I will illustrate by example how through understanding design patterns and different application architectures I was able to achieve these goals (mostly).

The followup act will be by me (Mark Aufflick) – a few people have asked me to give a short (hopefully!) version of my talk from last week’s YOW! Connected conference which I readily agreed to, mostly because I like how the slides came out :)

Bluetooth LE API Design + Code Generation for iOS apps and hardware

A brief and whirlwind tour of the problem space of designing and implementing BLE communications between mobile apps and custom developed hardware/firmware where all your targets are moving! We will cover formally documenting the specification, why code-generation is good for you, and api and transport governance.

And again like last month, Craig will have a quick quiz to give out some tasty (not literally) laptop stickers. Should be a fun night!

As always, CocoaHeads is held at Atlassian, which means free pizza and beer!

When: Thursday September 18th, 6:30pm
Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, AustraliaLook for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

Swift—Adopting functional programming by Manuel Chakravarty

At the 2014 August CocoaHeads meetup in Sydney we were verty fortunate to have Manuel Chakravarty give us a talk titled “Swift—Adopting functional programming”. Manuel is an internationally renowned expert on functional programming based here in Sydney. Manuel is this year’s program chair of ICFP (The International Conference on Functional Programming), but he took time to talk to just a few days before flying out.

Apple’s new language Swift supports functional programming while being tightly integrated with Objective-C and Cocoa. This has sent the developer community on an adventure to explore how ideas from functional programming might help writing great apps for iOS and OS X. In this talk, I will concentrate on two of these ideas: types and immutable data structures. How do they benefit development, and how do they affect code architecture?

In addition to the video (which includes the slides) you can find just Manuel’s slides on SpeakerDeck.

As a reminder, you can subscribe to all our video content via iTunes or any other rss reader with this url: RSS Video feed

As always, Sydney CocoaHeads brought to you by The High Technology Bureau and sponsored by Atlassian. Thanks to Craig Stanford for supplying and manning the video camera this month.

August CocoaHeads – Thursday 21st

Hi all,

August CocoaHeads is next week – Thursday 21st.

NewImage

 

 

As widely promoted over the past few months, we have Manuel Chakravarty presenting on Swift— Adopting functional programming. Ever the professional, Manuel has given me an abstract for his talk!

Apple’s new language Swift supports functional programming while being tightly integrated with Objective-C and Cocoa. This has sent the developer community on an adventure to explore how ideas from functional programming might help writing great apps for iOS and OS X. In this talk, I will concentrate on two of these ideas: types and immutable data structures. How do they benefit development, and how do they affect code architecture?

NewImage

Matt Tonkin will do a short talk on using CloudKit.

And finally, Everyone’s favourite heckler Craig Stanford will be handing out some stickers in exchange for correct quiz question answers.

As always, CocoaHeads is held at Atlassian, which means free pizza and beer!

When: Thursday August 21st, 6:30pm Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, AustraliaLook for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

July CocoaHeads – Thursday 17th

Hi all,

July CocoaHeads is nearly upon us – Thursday 17th.

This month we have two new speakers! Everyone be kind and only heckle in a well meaning way please :)

Ben Taylor is going to speak on “Setting Fire to Your iPhone With Particle Effects” (ie. CAEmitterLayer, not actually setting your phone on fire, which would be very dangerous due to the Lithium battery).

Phil Farrugia is going to give a talk about “maybe a bit of REPL and mostly ‘I’m a beginner, do I swift or do I ObjC? How and why?’”

As always, CocoaHeads is held at Atlassian, which means free pizza and beer!

When: Thursday July 17th, 6:30pm Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, AustraliaLook for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

Sydney CocoaHeads, Thursday June 19

CocoaHeads is on this week, with post-WWDC filled goodness!

This month we’ve got an action packed line up – Adam Iredale will be giving us the run down with What’s New in Xcode 6, and Gordon Childs & Chris Hulbert will be bringing us their talk “Think Different” – being open minded enough to slay the sacred cows.

CocoaHeads is held at Atlassian, which means free pizza and beer.

When: Thursday June 19th, 6:30pm
Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, Australia)
Look for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

Sydney CocoaHeads – THIS Thursday, May 15th

CocoaHeads is on again this week – Thursday night, May 15th. And you thought Mark’s announcement was late…

This month Mark himself will be talking about “Modelling complex asynchronous tasks with NSOperation”.

CocoaHeads is held it Atlassian, and that means you get free beer and pizza (now including gluten free options!).

When: Thursday May 15th, 6:30pm
Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, Australia)
Look for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St.

Sydney April CocoaHeads is THIS THURSDAY

That’s right, Jason is away so here is your late announcement of Sydney CocoaHeads – I can barely remember how to work Google Groups!

All good programmers are optimisers at heart, and this fortnight is the best opportunity of the year to cash in the least number of annual day leaves in exchange for the most actual holidaying! Probably partly due to that I don’t have any firm talks locked in for this week.

What’s On

Adam Iredale is going to tell us about his new library to make use of iCloud Keychain (I was going to say exploit iCloud Keychain, but despite being correct usage of the English language it might send the wrong message).

Update: We also have Chris McChubs giving a lightning talk on “The Origins of ObjC”. Chris assures me it is well researched and there will be no need for heckling :)

I had planned to show off a cool Bluetooth thing I’ve been doing in my spare time, but it’s not quite ready for demo-ing yet so I’ll vacate my spot. I figure we can just have more social time and also some time for anyone to demo their latest apps if anyone wants to – no RSVP required, just let me know on the night.

CocoaHeads is held it Atlassian, and that means you get free beer and pizza.

When: Thursday April 17th, 6:30pm
Where: Atlassian (Level 6, 341 George St, Sydney, NSW, 2000, Australia)
Map: http://goo.gl/Pm0lA

Look for the Westpac building opposite Martin Place (next to the old Virgin Megastore) and since the bank will be closed there’s a side entrance to access the lifts on Wynyard St. There will be a sign saying CocoaHeads with a mobile number to call if you can’t get up in the lift.