Bluetooth Smart / BLE Scanning on OSX + Xcode 6

Starting to play around with BLE development with Intel Edison, here are some useful tools for scanning and discovering local BLE services for developers.

I am using an older MacBook Pro and I frequently encountered problems connecting to and reading BLE characteristics. Of the below options, I have had the best success using the LightBlue iOS app (NOT the OS X app). I suspect I might get different results if I tried these scanners with my newer Mac Air.

First, there is Xcode’s Bluetooth tools. You can get them by opening Xcode and selecting “Xcode -> Open Developer Tools -> More Tools” and then downloading the “Hardware IO” libraries after logging in with your developer credentials.
[Read more…]

Let’s Call REST APIs with AlamoFire, iOS 8 and Swift

Screen Shot 2014-10-26 at 2.22.38 PM

About Rex St John

I am a mobile software engineer and technical evangelist working for Intel’s Mashery subsidiary. Aside from attending dozens of hackathons, workshops and technical events, it is my job to help developers learn about and engage with REST APIs.

iOS 8 Networking With AlamoFire and Swift

In this article, we will be exploring the basics of REST APIs, learning how to create our first iOS 8 networking application using the AlamoFire library (and using the Swift programming language with Xcode 6). I have written this article to help beginners learn how to interact with REST APIs and learn the basics of iOS 8 development. The GitHub repo for this article is freely available by clicking here.

What are we building?

We are going to be building a basic app to make REST API calls to the JamBase API and display the results in a UISplitViewController. This particular chapter will be primarily concerned with building a very basic networking layer using AlamoFire.
[Read more…]