Category: Swift

Shaking a macOS Window 0

Shaking a macOS Window

There may come a time when you’d like to shake a macOS application’s window (or one of them) to reinforce an event. In my case, I am creating a macOS application that serves as...

WatchConnectivity gotcha. willActivate() 1

WatchConnectivity gotcha. willActivate()

This may seem simple for many who have been busy developing Watch extensions for the Apple Watch, but it stumped me for about a minute. Not long, but long enough for me to slap...

Swift: When you have an Optional String you need to remove 0

Swift: When you have an Optional String you need to remove

Recently I have been developing an iOS app that comes with a companion Apple Watch extension. I wanted to play with the communication between iOS and WatchOS using

via

It was working well...

Swift: Bose SoundTouch device discovery using Bonjour 0

Swift: Bose SoundTouch device discovery using Bonjour

Are you a developer wanting to use the Bose SoundTouch Developer APIs to create an experience that drives SoundTouch devices? Are you interested in implementing Bonjour discovery AND resolving IP Addresses without using Objective-C...

Swift: Bonjour, NSNetService & IP Addresses 2

Swift: Bonjour, NSNetService & IP Addresses

Good morning. At least it’s a good morning here. I have recently been exploring Bonjour in Swift – I have never investigated Bonjour as a concept as networking is one of the weaker areas...

Multi-platform API for Google Nearby Messages 0

Multi-platform API for Google Nearby Messages

I happened upon a video presentation from Google I/O 2016 that I felt was interesting. It was called “Introducing Nearby: Physical proximity within and without apps – Google I/O 2016”. I present it here...

Developing with a live backend 0

Developing with a live backend

Sometimes developing on a live backend is a royal pain in the ass, Yorkshire pudding included with gravy from lost puppy’s caramelized souls. Time goes by with an inability to get proper work done...

Françoise Madeleine Hardy 0

Françoise Madeleine Hardy

I have been coding in Swift to the dulcet tunes of Françoise all afternoon. While it’s a little campy and sugary sweet most of the time, it smoothed me out and allowed some tedious stuff...

A magical bit of Swift (delay) 0

A magical bit of Swift (delay)

I recently had the need to delay a call, but only after a very slight delay. I had a UITableView that when scrolled a certain way would resize itself, and I’d want to have...

Swift Shadow Examples 0

Swift Shadow Examples

I recently came across an interesting article online where the original developer offered a Github repository of examples of various shadows. I cannot now remember the website that I visited, but I remember the code...