New iOS Beta2 SDK now available

We've recently released a beta2 version of the Mobile Services iOS SDK with offline support. See the
changelog for a list all changes in this release.
We've added a lot of new features, including:
- Support for incremental sync (breaking change to pullWithQuery method signature)
- Query parameters for pull operations
- Soft delete support
- Force purge of local data
Get new SDK
To use the new SDK, delete your existing Mobile Services framework, and add the
new beta2 iOS SDK. Or, you can try a new Todo List sample by following the
updated offline tutorial.
Update calls to pullWithQuery
Once you have updated to the new SDK, your project will fail to compile because of a change to the signature of pullWithQuery, which now takes a queryID as a parameter.
Each time a pull operation retrieves new results, the SDK saves the query ID and the most recent updated timestamp of the result. Incremental sync uses this timestamp to pull only those records that have been added or modified since the last sync. The query
ID should be a descriptive string that is unique for each logical query in your app. To opt-out of incremental sync (which is potentially inefficient), pass nil as the query ID.
So, calls to pullWithQuery should now be similar to the following:
[self.syncTable pullWithQuery:query queryId:@"allTodoItems" completion:^(NSError *error) { /* ... */ } ];
Update Data Model
The new incremental sync feature also requires a few changes to system tables in the Core Data store. If you haven't yet released your app and you have synced all of your data to your mobile service, the easiest way is to uninstall your app, then update
your SDK and data model. The data model changes are listed below.
Alternatively, you can use
lightweight Core Data migration to upgrade to a new data model. Download
this model definition for a sample todo app as the basis for a new model.
Model changes
In MS_TableOperations, add a new attribute:
  - tableKind of type Integer 16
In MS_TableOperationErrors, add two new attributes:
  - tableKind of type Integer 16
  - operationId of type Integer 64
Add a new Entity named MS_TableConfig with the following attributes:
 - id of type String
 - table of type String
 - key of type String
 - keyType of type Integer 64
 - value of type String
If you have any questions about offline sync or the new beta2 SDK, please post here!

You’re correct that you cannot use fetchLimit and fetchOffset if you are using incremental sync. Essentially the SDK is managing the batching behavior for you, and we have currently hardcoded a batch size of 50. If you need to limit the actual size
of the full query results, I recommend using the query itself, such as limiting the date range of records retrieved. Alternatively, you can add code in the backend to put a hard limit on query result size, regardless of how many skip and top requests come
from the client. 
Our new sample always queries the server when online, but by default all reads will only go to the local store. You have to explicitly call pull or push in order to make a server request.

Similar Messages

  • I used iCloud before I updated to the new iOS 6 and now I only have 44 pictures how can I get them all back?

    I used iCloud before I updated to the new iOS 6 and now I only have 44 pictures how can I get them all back?

    Photo stream only keeps your photos for 30 days.  After that, they are removed from your photo stream but not from any device that has already received them.  Chances are, the 44 photos are from the last 30 days; the others are not there because they are no longer in your photo stream.
    If the photos were in your camera roll when you last backed up, restoring to the backup should recover them.  However, you will have to restore to the entire backup to do so.  If they weren't backed up or imported to your computer, there is no way to recover them now.
    To be sure your photos are saved, regularly import them from the camera roll to your computer as outlined here: http://support.apple.com/kb/HT4083.

  • I just tried to install the new IOS version and now my screen is all black.. since an hour. My power button is broken so i cant reset my phone. When i plugg it in my computer, it makes a sound, but the screen stays black. MAY YOU HELP ME PLEASE???

    I just tried to install the new IOS version and now my screen is all black.. since an hour. My power button is broken so i cant reset my phone. When i plugg it in my computer, it makes a sound, but the screen stays black.
    WHAT TO DO

    carter87 wrote:
    so i bought this Iphone 4 thats jail broken,
    Return it.
    Unauthorized modification of iOS can cause security vulnerabilities, instability, shortened battery life, and other issues
    Security vulnerabilities: Jailbreaking your device eliminates security layers designed to protect your personal information and your iOS device. With this security removed from your iOS device, hackers may steal your personal information, damage your device, attack your network, or introduce malware, spyware or viruses.
    Inability to apply future software updates: Some unauthorized modifications have caused damage to iOS that is not repairable. This can result in the hacked iPhone, iPad, or iPod touch becoming permanently inoperable when a future Apple-supplied iOS update is installed.
    ... It is also important to note that unauthorized modification of iOS is a violation of the iOS end-user software license agreement and because of this, Apple may deny service for an iPhone, iPad, or iPod touch that has installed any unauthorized software.

  • HT4623 I installed the new IOS 7 and now it asks me to inform a password, but I really do not know what password I need to inform. Could you help me:

    I installed the new IOS 7 and now it asks me to inform a password, but I really do not know what password I need to inform. Could you help me:

    if you mean it asks you to add a passcode to the device, you may say no.  It really tries to encourage you to put a code on, by asking twice.....

  • Okay, so i've finally downloaded the new ios 7, but now i cant connect the app store

    Okay, so i've finally downloaded the new ios 7, but now i cant connect the app store. The layout looks great, but when i type something in on the App Store search bar and then click search... It say that it cant connect

    No problem, glad to help!
    Update: my PC USB hub was connected to a USB 3 port, I connected the 30 pin cable directly to my PC, And the restore worked just fine. Restored phone from iCloud backup and seems to be working fine.

  • HT4993 I upgraded to the new IOS 7 and now my phone wont charge

    I upgraded to the new IOS 7 and now my phone wont charge

    I just updated my phone last night while I was sleeping and because of the update my reliable fast charging cable stopped working. Guess what happened...my alarm didn't go off because my phone was dead. I have tried 3 different chargers and they don't work. I was dissapointed with the first IOS 7 update and now I'm mad. I have always been an apple supported for 20 years. They need to fix this IOS now or I will never buy another IPhone again. Just reverse these horrible "updates". Please give advice if anyone can, thanks

  • I have just updated my iphone 4 to the new ios 6.1, now I can not sync my music to my phone via my iTunes. Before I done the update I was able to put the songs on my phone via iTunes, can anyone please help as i really need to put the songs on my phone.

    Hi everyone, I need some help big time. I was currently running the IOS 6.0.1 on my iphone 4 and I could sync and transfer music to my phone via my iTunes account. But I updated my phone to the new IOS 6.1 and now I can not transfer music onto my iphone, all it does is tries to sync the songs but it doesn't. I have uninstalled and reinstalled iTunes back onto my laptop yet it still does not work. Can anyone please help me.

    Everything is Sorted!
    The release of iTunes 11.0.2 and iOS 6.1.2 for my iPhone 4, seems to have sorted everything. I can now sync music, films and photos between my MacBook and my phone.
    I was dubious about blindly doing the updates but decided they couldn't really mess up any further functionality so I went for it and it's sorted now.
    Look in to, and take the gamble, it's up to you.

  • New version of Webutil now available

    I am pleased to annouce the new version of webutil (Webutil 1.0.6) is now available for download on OTN. This version is certified with versions 9.0.4 and 10.1.2.0.2 of Oracle Forms.
    For details go to http://otn.oracle.com/products/forms
    For other Forms information and advance notice check out
    http://www.groundside.com/blog/content/GrantRonald/

    Is there a "What's New in 1.0.6". Do we need to upgrade if we are still running 9.0.4 and Webutil 1.0.5. Is it just compatibility issues with 10.1 that have been addressed or are there other enhancements and bug fixes that we need. I don't want to have to upgrade unnecessarily.
    Thanks
    Richard

  • HT4606 i put the new ios 5. and now my ipod touch can't open my wifi or bluetooth

    i put the new ios 5....  and now my ipod touch can't open my wifi or Bluetooth it is haper on gray like it no disposable

    How are you trying to accomplish these two tasks?
    The correct way is as follows:
    Camera zoom: pinch with your fingers like you do when viewing pictures.
    Camera button in lock screen: Double-tap on the home button while in lock screen
    If you are already doing it that way and it doesn't work, then maybe someone else here has another idea.

  • I have several users who have updated to the new iOS 5 and now are unable to get to the apple store

    I have several users with ipads who have updated to the new iOS5 and are now unable to access the itunes store.  It loads about half way and then nothing.  Any ideas on how to fix this?

    Photo stream only keeps your photos for 30 days.  After that, they are removed from your photo stream but not from any device that has already received them.  Chances are, the 44 photos are from the last 30 days; the others are not there because they are no longer in your photo stream.
    If the photos were in your camera roll when you last backed up, restoring to the backup should recover them.  However, you will have to restore to the entire backup to do so.  If they weren't backed up or imported to your computer, there is no way to recover them now.
    To be sure your photos are saved, regularly import them from the camera roll to your computer as outlined here: http://support.apple.com/kb/HT4083.

  • AE CS5 and SDK now available!

    Hi all,
    Just wanted to give you a heads up that After Effects CS5 is now publicly available for download, both the 30-day trial, and the retail download:
    http://www.adobe.com/go/tryaftereffects
    We've also publicly posted the initial release of the AE CS5 SDK:
    http://www.adobe.com/devnet/aftereffects/
    Enjoy, and happy coding!

    Hi,
    I have just downloaded the Windows copy. It looks like it now allows remote administration, which is cool. However, I found out that it does not install itself as a Windows service! Is it possible to install it as a Windows Service?
    BTW, I think 'Sun ONE AppServer 8' sounds better that 'Java System Application Server 8' :P
    Sincerely,
    Sergei Batiuk.

  • TS4268 I updated my iphone 5 to the new ios 7, well now my imessages and facetime wont work!! I have tried everything! So went to go restore my iphone throw itunes and well the backup was taking hours, so i went to cancle it now it wont do anything!!

    Need help!! How do i cancle my backup? It wont let me do anything! Trying to get my imessages and facetime to work

    Hi Natasha,
    Below is a copy of my post in another thread on this topic. I'm not sure which country you are from, but hope it's helpful.
    Possible fix for Australian users on Telstra and using Tango
    I'm using the iPhone 5S with iOS 7.0.1 on a contract with Telstra in Australia and have been experiencing the problem with iMessage and FaceTime not activating. My iPhone 4S on iOS 6 worked perfectly on the same network however.
    I seem to have now fixed this issue by removing the Tango app (it is similar to Skype). Reading through this thread and seeing the refernces to TuGo triggered my solution, although I believe the 2 apps are entirely unrelated (just have a similar sounding name).
    This fix may have been co-incidental, given that I had to wait quite a while for a sync with iTunes to complete. After syncing, I didn't check the settings for Messages and FaceTime to see if they had been activated. I just went straight to the Tango app on the iPhone and deleted it - hey presto, instantly both Messages and FaceTime were activated.
    Hope this helps others in Australia who may have Tango installed, and are on the Telstra network.
    John

  • HT4623 I just downloaded the new ios 7 and now I dont have all my apps.  I don't see the settings icon, email icon,camera icon. They are all go please help.

    Help with ios 7.  All my apps are gone as well as my camera, email, settings.  Where do I find them.

    Hi,
    Swipe left and right just in case they are in different pages of home. Note that now a folder can contain lots of pages as well.
    Hope that helps.

  • HT201412 i downloaded the new ios update and now my ipod is frozen. what do i do?

    AAAAHHHHHHH!!!!!! Please help me I think I just lost all my photos! I guess I wasnt supposed to download the new update because since i have my Ipod hasnt cut back on. ALL it does is show the Apple logo and cut off and on.

    Try connecting it to iTunes in recovery mode and restoring it. This article has instructions for placing the iPod Touch into recovery mode.
    iOS: Unable to update or restore
    B-rock

  • I went to update my ipod to the new ios 6 and now it won't connect to itunes and its telling me to restore it. How do i restore it without losing all my stuff?

    Can someone please help me!

    Only thing i suggest as i had similar issues is to restore the phone! using itunes and then continue as a new install and not as a back from..
    Or forget the network and search again!

Maybe you are looking for

  • How to get all files from Archive server

    Hi Experts, My problem is: When i try to read from an archived file, the moment archive_open_for_read function module is executed, a popup box appears asking to choose the name of the archive file to be read. I have to pass only one Export Parameter

  • TypeError: Error #1006 - Removing MovieClip from the stage

    I have a movie clip that is called to the stage and once the movieclip is finished it calls a function that removes it from the stage. The code works but I get an error message about 4 seconds after the movie clip ends. Here's the error message: Type

  • User Exit for reading data from a hierarchy in BW-BPS

    Hello Forum, How can i fetch all the records from a particular node in a Hierarchy using a user exit in a variable in BW-BPS, Plz Help, Regards, KK

  • How to start learning Oracle SOA

    Hi All I am a Siebel Guy with 7+ years of experience. I would like to learn Oracle SOA Suite including BPEL, BPM, OSB and AIA. Please suggest me how to start and proceed. It will be helpful for me. Thanks in Advance. C.R.Bala Bangalore India

  • Counter output, on demand

    I'd like to have a counter output a single pulse whenever a condition occurs within a loop. My current solution (in pseudocode; I use LabWindows CVI on a RT target) looks like this: DAQmxCreateTask(...); DAQmxCreateCOPulseChanTime(...); while (true)