Make sure there’s a newline at the end of each file.
Fix 32 to 64-bit warnings, particularly in regard to protocols.
Use more for... in... loops.
Trim down the Xcode project by getting rid of duplicate and/or blank build settings.
Remove some unused functions and files.
minor things
Merge branch 'master' into protocolRewrite