Updates (some API changes) to the Azure Mobile Services iOS SDK


Another quick one today. After some feedback from the community, we released a new version of the Azure Mobile Services iOS SDK which contains, in addition to a few bug fixes, some changes in the method names of some of the classes. Those changes were made to make the iOS SDK more in sync with the design and naming guidelines for other iOS libraries. The new SDK is live, and the Quickstart app which can be downloaded from the Azure Portal is also using the new APIs as well. Finally, our tutorials have also been updated to reflect the naming changes.

The changes are listed below. You can also find the changes to the SDK in our public GitHub repository. The changes were made in this commit.

  • MSClient interface
    • Class method clientWithApplicationURLString:withApplicationKey: ==> clientWithApplicationURLString:applicationKey:
    • Class method clientWithApplicationURL:withApplicationKey: ==> clientWithApplicationURL:applicationKey:
    • Initializer initWithApplicationURL:withApplicationKey: ==> initWithApplicationURL:applicationKey:
    • Instance method loginWithProvider:onController:animated:completion: ==> loginWithProvider:controller:animated:completion:
    • Instance method loginWithProvider:withToken:completion: ==> loginWithProvider:token:completion:
    • Instance method getTable: ==> tableWithName:
    • Instance method clientwithFilter: ==> clientWithFilter: (capitalization of the ‘W’)
  • MSClientConnection interface (mostly internal usage)
    • Initializer initWithRequest:withClient:completion: ==> initWithRequest:client:completion:
  • MSFilter protocol
    • Method handleRequest:onNext:onResponse: ==> handleRequest:next:response:
  • MSLogin interface (mostly internal usage)
    • Instance method loginWithProvider:onController:animated:completion: ==> loginWithProvider:controller:animated:completion:
    • Instance method loginWithProvider:withToken:completion: ==> loginWithProvider:token:completion:
  • MSQuery interface
    • Instance method initWithTable:withPredicate: ==> initWithTable:predicate:
  • MSTable interface
    • Initializer initWithName:andClient: ==> initWithName:client:
    • Instance method readWhere:completion: ==> readWithPredicate:completion:
    • Instance method queryWhere: ==> queryWithPredicate:

That’s it. As usual, please let us know if you have any suggestions / comments / question either by using our MSDN forum or our UserVoice page.

Comments (0)

Skip to main content