SlideShare is now on Android. 15 million presentations at your fingertips.  Get the app

×
  • Partagez
  • E-mail
  • Intégrer
  • J'aime
  • Télécharger
  • Contenu privé
 

RestKit - From Zero to Hero

par Developer Advocate sur Google on Mar 27, 2012

  • 16,213 vues

This talk explains what RestKit is and how it can help you build applications that sync with REST services. The code for this talk is available at https://github.com/peterfriese/RestKitFromzeroToHero

This talk explains what RestKit is and how it can help you build applications that sync with REST services. The code for this talk is available at https://github.com/peterfriese/RestKitFromzeroToHero

Statistiques

Vues

Total des vues
16,213
Vues sur SlideShare
12,956
Vues externes
3,257

Actions

J'aime
17
Téléchargements
235
Commentaires
8

12 Ajouts 3,257

http://www.scoop.it 2786
http://lanyrd.com 419
https://twitter.com 32
http://www.linkedin.com 4
http://www.techgig.com 3
http://webcache.googleusercontent.com 3
http://coderwall.com 2
https://si0.twimg.com 2
http://hootsuite.scoop.it 2
http://translate.googleusercontent.com 2
http://twitter.com 1
http://www.m.techgig.com 1
Plus...

Accessibilité

Détails de l'import

Importé via SlideShare au format Adobe PDF

Droits d'utilisation

© Tous droits réservés

Report content

Signalé comme inapproprié Signaler comme inapproprié
Signaler comme inapproprié

Select your reason for flagging this presentation as inappropriate.

Annuler

18 sur 8 précédent suivant Publier un commentaire

  • gonzooin Gonzo Oin, iOS Developer at Bsoft.fr Nice work :) Il y a 1 an
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • riruilo Ricardo López Hello!

    A question:
    If I select RKRequestBackgroundPolicyContinue
    What happens before time expires (I think is about 10 minutes, but maybe you are downloading something large)? Is the request is cancelled, requeue again or restarted when app restarts?

    Thanks a lot.
    Il y a 1 an
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • mbabgi mbabgi Thanks for the useful slides.
    But in caching, when if I called 'fetchDataFromDataStore' method the app will crash and the reason: 'executeFetchRequest:error: A fetch request must have an entity'

    any idea why that happening since I did the same thing that you have done on 'RestKitDemo4' project.

    Mosab
    Il y a 1 an
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • adriennevillar9 Adrienne Villar where did you put these lines (slide 26) in your code? Il y a 1 an
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • daemonsy Damon Aw, Investments & Specialized Products (ANZ Wealth Management) at Royal Bank of Scotland You made me realize there's a simple call for the model, [XYZModel allObjects];

    That solves a lot.
    Il y a 1 an
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • riruilo Ricardo López Thanks a lot!
    Very interesting.
    Il y a 2 ans
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • peterfriese Peter Friese, Developer Advocate at Google @riruilo just saw your post, sorry for the delay.

    1) UDID: yes, I know. I did point out this issue in my talk, but nevertheless wanted to show how you can use this feature.

    2) XML: yes, you can use XML. RestKit will automatically map XML structures to Objective-C objects depending on the mapping you provide.

    3) Yes, you can cancel network request after they have been queued.

    4) There are no preconditions w.r.t. to the backend server, as you can influence how RestKit performs REST calls.

    HTH, Peter
    Il y a 2 ans
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
  • riruilo Ricardo López In slide 9 I see you use UDID, but nowadays Apple rejects apps that use it.

    Can be XML used or not at all?

    CAn be network request be cancelled while they are being executed?

    How do you usually create your REST servers? I remember there was time ago a library for iOS called objective resource, that was very easy integrating it if your server was created ussing Ruby on Rails. Are there any preconditions about the server or REST?

    Thanks a lot for help.
    Il y a 2 ans
    Êtes-vous sûr de vouloir
    Votre message apparaîtra ici
    Traitement...
Poster un commentaire
Modifier votre commentaire

RestKit - From Zero to Hero RestKit - From Zero to Hero Presentation Transcript