LoginSignup
4
4

More than 5 years have passed since last update.

iOSでParse.comを使うときに調べたこと

Posted at

Q.生成されるObjectIDはアプリ内を通して全てユニークなのか?

A.ユニークである。

https://www.parse.com/questions/are-all-object-ids-unique-in-an-app-across-all-tables

Yes, object ids should be unique across all class


Q.PFObjectをローカルに保存したい時どうすればいいの?

A.Cache Queryを使う。

https://www.parse.com/questions/how-can-i-save-pfobject-data-to-disk

PFObject does not implement the NSCoding protocol, but you can cache queries to disk in order to access this data while offline.


Q.PFObjectをCache Query使わずにローカルに保存したいんだけど?

A.Parse-NSCodingを使う。
※CocoaPodsで入れると古いバージョンのParseSDKが入るので注意
[PFUser enableRevocableSessionInBackground] が使えなくなって気がついた。

https://github.com/eladb/Parse-NSCoding


4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4