hello
i have seen a barcode app for iphone which is called barcode2sql in app store,
this app can be downloaded and the sourcecode for the development of the application is free for download
---> see Barcode 2 sql