Source Code

This page contains some of my reusable source code.

  • You can use the code in your own products.
  • You can modify the code as you wish, and use the modified code in your products.
  • You can redistribute the original or modified code as you wish.
  • In all cases, you must include a credit mentioning Matteo Bertozzi as the original author of the source.
  • I’m not liable for anything you do with the code, no matter what. So be sensible.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

If you use some of my code

If your app uses some of my code, and let me know about it. I’ll be glad to add it to the Featured Apps page here on the site.

Objective-C and Cocoa

Cocoa Filterbar

Cocoa Filterbar Demo

Look at Post: Cocoa Filterbar Control.
Download: Source Code.

Objective-C SQLite Wrapper

A simple class to manage SQLite database using Objective-C. You can use it on Mac OS X and iPhone OS.

Look at Post: Objective-C SQLite Wrapper.
Download: Mac Source Example, iPhone Source Example.

Qt4 (C++)

QDesktopMime

QFreeDesktopMime is a Qt4 class for determining the MIME type of files using FreeDesktop Specification.

Download: Source Code.

Qt JSonStreamReader

JSonStreamReader is a Qt4 class provides a fast parser for reading JSON via a simple streaming API.

Look at Post: Qt4 JSON Stream Reader.
Download: Source Code.

Qt Imap

Qt4 Imap provides an RFC 3501 Interne Message Access Protocol Library.

Look at Post: Qt4 Imap.
Download: Source Code.

Qt Google MapView

Qt4 MapView allow you to interact with Google Maps and Google Geocoder.

Look at Post: Source Code.