added library project
Added missing UIKit include
Fixed clang warnings
ignoring xCode workspaces
made demo project use the library
fixed memory leak