Fixed logic and misc type errors
Fix API misuse errors
Some Fixes
Merge commit 54c19a7 into 3_5_0_64-bit
Removed autorelease on init function
Merge pull request #6363 from vishalduggal/timob-16946

[TIMOB-18028][TIMOB-18031] iOS: Static Analyzer fixes