When developing in Swift, you will eventually need to interact with Objective-C APIs. Most of the time this is fine, and fairly straightforward to do using #selector. However, every once in a while you will need to invoke an Objective-C selector that you did not write (usually when the selector is part of the iOS or macOS SDK), does not have a unique signature, or is just pretty hard to figure out. This article put out by Big Nerd Ranch’s Mark Dalrymple is an excellent rundown of how to properly invoke Objective-C selectors from Swift. He even covers really hairy signatures that may be very difficult to come up with on your own at first glance. Big Nerd Ranch —[…]
The latest episode of iOS Dev Break has arrived! This one was recorded just before WWDC, and a new episode will be published shortly! It Was A Very Googly Experience – IDB009 | iOS Dev Break In this episode: The return of iOS Dev Break! Adventures with the Google Play Store, Swift 4 and the Codeable protocol, plus AirPods and their amazing user experience!
Somehow I don’t think I broadcasted this when it was available so now seems a good a time as any… My Core Bluetooth talk from Forward Swift 2016, “How Hot Is My Coffee? Sensors, Core Bluetooth and Swift!” has been up since last year, but thankfully it’s still up! Evan K. Stone: How Hot Is My Coffee? Sensors, Core Bluetooth and Swift! – Forward Swift 2016 Fitbit, Withings, Nest. The Internet of Things (IoT) innovation tidal wave has just begun, and those are just three of the more well-known players in the IoT and connected gadget landscape. It’s critical that iOS developers know how to connect and interact with BLE prototyping devices using the Core Bluetooth Framework provided by the[…]
Evidently this got posted to Realm’s website back in November, and I was not informed. Better late than never! Evan K. Stone – Saving Lives with iBeacons You’ve probably heard of iBeacons, but have you seen them up close or developed apps for them? iBeacon technology is a fun and easy way to start working with Bluetooth Low Energy devices. Cloud City Development has been working with Pop Up Labs at MIT to help develop a solution for educating health professionals about the Maker Movement and how it positively affects the medical community. With the help of iBeacons, health professionals have learned how to start creating their own devices and tools! In this talk from AltConf 2016, Evan will introduce[…]
I’m happy to announce that I recently updated Part Two of my Zero-to-BLE series on Core Bluetooth Post Updated for Swift at Cloud City Development Blog! It’s been updated for Swift 2, because when I wrote it, Swift 3 hadn’t officially been released and I honestly thought it would be published well in advance of the September 7 Apple Event. Zero to BLE on iOS – Part Two – Swift Edition Better late than never! Who knows? Maybe there will be a Swift 3 version in the future? For sure all my code samples will be in Swift 3… Hope you like it!
This was a new one on me and I discovered it accidentally. In one of my apps, NineOneOne ~ One-Touch Emergency Dialer, I query for the presence of the Skype app, so that an emergency call can be placed using Skype instead of the phone app. Why would one want to do this? Well, as it turns out, I wanted users who had an iPad or an iPod Touch to be able to use NineOneOne on those devices without the presence of the phone. The obvious candidates were Skype and Google Voice, and at the time Google did not provide a way to launch Google Voice via custom URL scheme. Therefore Skype was it. Prior to iOS 9, this process[…]
I’ve had my Apple Watch for a little while now, and I have really found myself relying heavily on it as a device primarily for notifications. The one thing that has really bothered me, however, is the somewhat random nature in which notifications are delivered to The Watch. I’m not sure I want all notifications to go to the watch, but I’d certainly like to know why some don’t end up on my watch and others do. Finally I thought I’d take the time to find out, since I happen to be doing a lot of work lately with push notifications in iOS and I was wondering why certain notifications were delivered on my watch and others weren’t. Turns out[…]
As a consultant, I’ve had this situation come up many times, and it’s very frustrating because Apple doesn’t allow an Apple ID to belong to more than one iTunes Connect account. The scenario is that you have a client or friend that you would like to be an internal tester in your organization’s iTunes Connect account, or, perhaps it’s the corollary situation in which you have a client who has their own iTunes Connect account and you need access to their account as a tester or admin or developer. I’ve had this situation come up both ways, and here is how I’ve dealt with it. The main requirement is that your prospective tester has a Gmail account. I’m not sure if this trick[…]
This has been something I’ve wanted to do for a long time. I was already signed up for CocoaConf San Jose 2015, and just a couple of weeks ago they announced in a conference email that they had four slots open for Lightning Talks. I immediately jumped at the chance. Thankfully (and amazingly)… they accepted! I don’t want to spoil the presentation since, after all, it’s only a five-minute presentation. However, I will say that the theme is Saving lives with iBeacons and it focuses on the combination of iOS, iBeacons, and Healthcare. The talk came out of a recent project I was working on for a client of Cloud City Development and I thought would be perfect for a[…]