Replace -objectAtIndex:, -objectForKey: with object subscripting
Minor code style fixes
Use dot syntax
Merge pull request #1271 from ikesyo/more-object-subscripting

Replace -objectAtIndex:, -objectForKey: with object subscripting