Saturday, October 10, 2015

RadioKit and Swift

Good news for those that are looking for an example of using RadioKit with Swift.   Matthew Fecher was kind enough to create a very nice Radio App using Swift 2.0 and he released it on GitHub.  He was also kind enough to give me permission to use it for demonstrating RadioKit usage with Swift.

Here is a link to the project: https://github.com/MostTornBrain/Swift-Radio-Pro/tree/RadioKit

This project demonstrates:
  • Playing stations from a JSON list 
  • Parsing the meta data of a live stream
  • Connecting to Live.FM to get album artwork for the currently playing song
  • Using the RadioKit rewind and fast forward features
  • Using the RadioKit buffer view to visualize where in the live stream playback is currently occurring
The sample project is a very good starting point for creating a professional radio app using Swift and RadioKit.



RadioKit linker warnings related to precompiled headers

If you are seeing a lot of warnings with Xcode 7 related to linking with RadioKit, please downloaded an updated version of RadioKit (2.15.3).   It corrects the issue.   Xcode 7 apparently handles precompiled headers differently now in libraries and the way I was building the library was causing these warnings.

Sorry for the confusion.

Latest version of the RadioKit SDK can be found here:

http://www.stormyprods.com/Libs/RadioKitLib-XCode7.zip

Monday, September 21, 2015

RadioKit and Apple TV

For anyone interested in making radio apps for the new Apple TV, I've created a beta version of RadioKit that is compatible with the current Apple TV beta (tvOS 9.0).    Apple TV uses different library images than iOS, so I needed to create a separate RadioKit library specifically for Apple TV.  You can't just use the existing iOS version of RadioKit - it is not binary compatible with Apple TV.

If you want to try it out, the library is here:

http://www.stormyprods.com/Libs/RadioKitAppleTv.zip

It uses the same API methods and names as the version of RadioKit for iOS.

I am currently working on putting together a sample Xcode project for Apple TV which demonstrates using the SDK.  I'll followup once I have it complete.

All content copyright © 2009  Brian Stormont, unless otherwise noted.   All rights reserved.