Tagged: iCloud Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 6:16 am on June 30, 2014 Permalink | Reply
    Tags: iCloud,   

    Categories: iOS ( 222 ), Screencast ( 87 )   

    How to use iCloud in your iOS App 

    In this series I’ll show you how to use iCloud in your iOS apps. We’ll discuss how to setup Xcode and your app, including App ID and Provisioning Profiles and I’ll demonstrate how to use all three flavours of iCloud: Key Value Storage, Document Storage and iCloud with Core Data.

    The rest of this series is for members of my iOS Dev Diary only – you can watch it here: http://pinkstone.co.uk/how-t-use-icloud-in-your-ios-apps/


  • Jay Versluis 11:57 am on March 3, 2014 Permalink | Reply
    Tags: iCloud, ,   

    Categories: Screencast ( 87 )   

    How to remove data from your iCloud Storage 

    Apple_Podcast_logoTrouble backing up your device to iCloud? Is your storage constantly at the limit and you don’t know what to do about it?

    Fret not! In this video I will show you some option you have to deal with that dreaded message “Not enough iCloud Storage”.

    Essentially there are four things you can do to prevent this problem:

    • buy more iCloud Storage
    • backup less data (for example, don’t backup pictures)
    • remove older iCloud backups (think of devices you no longer own)
    • use less iCloud Document Storage (remove data from iMovie Theater, Shared Photostreams)

    I will demonstrate all these options on my iPod Touch and show you how it works.



  • Jay Versluis 8:08 pm on January 10, 2013 Permalink | Reply
    Tags: iCloud   

    Categories: iOS ( 222 )   

    How to use iCloud key value storage 

    Storing small bits of info in iCloud is very similar to using the local NSUserDefaults device storage. The only difference is that your App ID needs to be enabled for iCloud in iTunes Connect and that you need to enable it in your project:

    Screen Shot 2013-01-10 at 19.00.51

    Here’s how you save data to iCloud (from a text label):

    // save to iCloud
        NSUbiquitousKeyValueStore *cloudStore = [NSUbiquitousKeyValueStore defaultStore];
        [cloudStore setObject:self.myString.text forKey:@"myString"];
        [cloudStore synchronize];

    And here’s how to retrieve it:

    // load from iCloud
        NSUbiquitousKeyValueStore *cloudStore = [NSUbiquitousKeyValueStore defaultStore];
        self.myString.text = [cloudStore objectForKey:@"myString"];

    Synchronization takes a few seconds between devices, provided they are connected to the internet. Note that for testing iCloud you need physical devices – the simulator doesn’t work.

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc