GitHub
All of our open source code and projects can be found on GitHub.
About

This is the developer blog of Simon Wolf, Mac and iPhone developer, owner of Otter Software Ltd.

I am currently available for contract work so please get in touch to see if I can help you.

Twitter Accounts

My source code is subject to some license terms.

The full details can be found on the Source Code License page but in summary:

  • You can modify the code as you wish, and use the modified code in your products.
  • You can redistribute the original, unmodified code, but you have to include the full license text.
  • You can redistribute the modified code as you wish without the full license text.
  • In all cases, you must include a credit mentioning Simon Wolf as the original author of the source.
  • I’m not liable for anything you do with the code.
  • I’m not responsible for any harm the code may cause.
  • You can’t use my name or other marks to promote your products based on the code.
  • If you agree to all of that, go ahead and download the source. Otherwise, don’t.

Tuesday
Jan172012

AVSynchronizedLayerTest

AVSynchronizedLayerTest demonstrates one way of displaying subtitles for a video using the AVFoundation framework. The demonstration project is for a Mac (OS X 10.7) project which demonstrates how to use an AVSynchronizedLayer to display the subtitles with a video playing an in AVPlayerLayer.

To run the project you will have to change the path to the video in AppDelegate.h.

The video either needs to be longer than 1minute 20 seconds or you need to edit the subtitles in setupSubtitles in AppDelegate.m

You can access the source code at https://github.com/ottersoftware/AVSynchronizedLayerTest.

Thursday
Sep292011

OTSCoreDataFormatSwitcher

OTSCoreDataFormatSwitcher demonstrates how you can switching between using XML and SQLite as Core Data storage formats whilst still keeping your existing data. This may be useful during the development stages of a project but there are some caveats you should be aware of. Please read the post entitled ‘Switching Between XML and SQLite in Core Data’ carefully.

You can access the source code at https://github.com/ottersoftware/OTSCoreDataFormatSwitcher.