Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ノハナのアプリを爆速で動くようにした話

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 ノハナのアプリを爆速で動くようにした話

Avatar for Keishin Yokomaku

Keishin Yokomaku

May 15, 2014
Tweet

More Decks by Keishin Yokomaku

Other Decks in Programming

Transcript

  1. ParseSDK Ͱඇಉظॲཧ ParseQuery<ParseObject> query = ParseQuery.getQuery(“SomeData”); query.findInBackground(new FindCallback<ParseObject>() { public

    void done(List<ParseObject> result, ParseException e) { if (e == null) { // Normal } else { // Error } } });
  2. ParseSDK ͰৼΔ෣͍Λ֦ு public class SomeData extends ParseObject { @Override public

    void saveInBackground(SaveCallback callback) { if (!isValidName()) { callback.done(new ParseException()); } super.saveInBackground(callback); } }