Added .gitignore
Added newlines at end-of-file.
Assigned weak property to local variable.

Clang will warn against weak properties being accessed as they may be set to
nil.
Ignored the Clang warning "selector".
Made explicit type conversions.
Ignore the Clang warning, "gnu".
Declared unused parameters as "__unused".
Made explicit type conversions.
Declared unused variables as "__unused".
Created strong, local reference to weak properties to satisfy Clang.
Declared unused parameters as "__unused".