I have now compiled Homebrew and through that installed swig and compiled it also with the Terminal set up with Xcode 5.1 command Line Tools for MacOS 10.9 Mavericks. Then I made a folder and put in it the following Leap files:
Then used this swig command line:
swig -c++ -python -o LeapPython.cpp -interface LeapPython /Users/Username/Library/Leap.i
It ran successfully, creating a file called LeapPython.cpp
clang++ -arch i386 -arch x86_64 /Applications/Blender/blender/blender.app/Contents/MacOS/LeapPython.cpp Applications/Blender/blender.app/Contents/MacOS/2.69/scripts/modules/Leap_Motion/libLeap.dylib /Applications/Blender/blender.app/Contents/MacOS/2.69/python/lib/python3.3/lib-dynload -shared -o _LeapPython.so
This I copied and pasted into the command line.
An error occurred saying a file python.h is missing, which I looked up and found out is a Windows file. So now I have to find out why a Windows file is required for a Mac OSX setup. Perhaps one of my Leap files was originally for Windows use and now I need to replace it with a Mac version. On with the debugging!