Fixed references since API moved to iOS repo, warnings resolved in API f...

...or NSInteger to long conversion

#2