check if delegate method is implemented

fixed #1
update .gitignore