Open mazllia opened 10 years ago
@JASPER012: If new attributes have been created in server's SQL, would you please update the Wiki or even ServerCommunication.h for attribute names? Thanks :smile_cat:
@JASPER012: Also, would you post the relative API of Contact to the relative files?
丹丹,我覺得需要找時間跟你討論"使用者帳戶"的設定了。
我有點感到困惑。Orz
Because user's contacts need to be synced for their user-defined attributes, which need server APIs.
Wanna post here?
痾,我還是不太清楚 note 中的 synced 要拿來做啥。
我只要負責通知說這個note 的 synced 是 0 或 1,
還有設定 某個 note 的 synced 變成0 或 1 這樣嗎?
The synced attribute is available only in local to identify if this Note has been synced after modification.
Server
API improvement
Further support model properties:
See Model/Model.xcdatamodel
Xcode data model
Further support model properties:
useful review
NSURLSESSION tutorial