mazllia / Social-Networking-Notes

NCTU CS Project (2012 Fall-2013 Spring)
0 stars 0 forks source link

Server API #1

Open mazllia opened 10 years ago

mazllia commented 10 years ago

Server

API improvement

"receiver_uid_list": [
    "receiver_uid":"2"
    "receiver_uid":"5"
]

Further support model properties:

See Model/Model.xcdatamodel

accepted
archieved
sendTime
location
read
isVIP
nickName
type

Xcode data model

Further support model properties:

synced

useful review

NSURLSESSION tutorial

mazllia commented 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:

mazllia commented 10 years ago

@JASPER012: Also, would you post the relative API of Contact to the relative files?

JASPER012 commented 10 years ago

丹丹,我覺得需要找時間跟你討論"使用者帳戶"的設定了。

我有點感到困惑。Orz

mazllia commented 10 years ago

Because user's contacts need to be synced for their user-defined attributes, which need server APIs.

Wanna post here?

JASPER012 commented 10 years ago

痾,我還是不太清楚 note 中的 synced 要拿來做啥。

我只要負責通知說這個note 的 synced 是 0 或 1,

還有設定 某個 note 的 synced 變成0 或 1 這樣嗎?

mazllia commented 10 years ago

The synced attribute is available only in local to identify if this Note has been synced after modification.