联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Web作业Web作业

日期:2018-10-27 11:44

Developing a Data-Driven App.

Your Task You will design and develop an application written in Swift 4 (or later) for iPhone 8

(or equivalent). The App will read data from a web service connected to a database that

provides information about research reports written by academic staff in the Computer

Science Department. Each record in the database includes the following information:

Year the report document was published Document id (starts at 1 every year and is incremented for every document submitted that

year)

Owner (the staff username of the document’s submitter – or null if not a current staff

member)

Authors (a list of the people who wrote the document)

Title of the report ? Abstract of the report document (or null if none)

URL of the document as a PDF or PS file (or null if no copy is available)

Comment (a short string, but usually null)

The date on which the entry in the database was last modified.

The App should:

1. Retrieve the JSON data about the technical reports (using the URL below), and have an

initial View that displays a table, containing the information sorted descending by year

published (i.e. 2018 documents should appear first in the table). The table should have a

section for every year (i.e. not one continuous table of all the documents). Cells containing

an item that the user has marked as a favourite (see item 2) should be highlighted. (worth

40%)

2. On the user selecting a cell in the table, the app should transition to a second View that

contains more detailed information about the selected document (including displaying the

abstract). This View should also include a button where a user can indicate that this report is

one of their favourites, and button for returning to the initial view. (worth 20%)

3. (Where possible) provide a button or other mechanism to display the full report

document (PDF), using the URL from the database. (worth 15%)

The web service can be found at the following URL. Note that data is returned as a JSON

formatted string:

http://cgi.csc.liv.ac.uk/~phil/Teaching/COMP327/techreports/data.php?class=techreport

s

The app must work in portrait orientation, on both the iPhone, and the iPad, maintaining a

sensible UI in both (worth 10%)

Please ensure that your code is appropriately commented and meaningful variable and

constant names are used (worth 5%).

Use Core Data to store and retrieve details of the user’s favourite reports (i.e. once a user

has marked some reports as their favourites, if your app is stopped, upon running it again, it

should display the table of reports, with a checkmark against the user’s favourites). (Worth

10%)

What to Submit Your completed project should be zipped up and submitted via the online

submission system. (Right click the icon for the folder containing the project file and folder

and choose “Compress”) Also submit a short informal document (1-2 sides of A4 at most)

documenting how to use your app, and indicating any notable features.

Sample JSON data:

{ "techreports": [ {"year":"2001","id":"1","owner":null,"authors":"Peter McBurney, Rogier M. van

Eijk, Simon Parsons and Leila Amgoud","title":"A Dialogue-Game Protocol for Agent Purchase

Negotiations","abstract":"\nWe propose a dialogue-game protocol for purchase negotiation

dialogues which identifies appropriate speech acts,\ndefines constraints on their utterances, and

specifies the different sub-tasks agents need to perform in order\nto engage in dialogues according

to this protocol. Our formalism combines a dialogue game from the philosophy\nof argumentation

with a model of rational consumer purchase decision behaviour adopted from marketing theory.

In\naddition to the dialogue formalism, we present a portfolio of decision mechanisms for the

participating agents\nengaged in the dialogue and use these to provide our formalism with an

operational semantics. We show that\nthese decision mechanisms are sufficient to generate

automated purchase decision dialogues between autonomous\nsoftware agents interacting

according to our proposed dialogue-game formalism.\n\n\n<P>\n\n<em>Keywords:<\/em>

Argumentation, Autonomous Agents, Consumer decision making, Dialogue Games,\nNegotiation.

<P>\n\n","pdf":"https://intranet.csc.liv.ac.uk/research/techreports/tr2001/ulcs-

01001.ps","comment":null,"lastModified":"2018-10-17

09:48:59"},{"year":"2001","id":"2","owner":null,"authors":"Peter McBurney and Simon

Parsons","title":"A Hundred Schools of Thought Automatically

Contending","abstract":null,"pdf":"https://intranet.csc.liv.ac.uk/research/techreports/tr200 1/ulcs-

01-002.ps","comment":null,"lastModified":"2018-10-17

09:48:59"},{"year":"2001","id":"3","owner":null,"authors":"Peter McBurney and Simon

Parsons","title":"Towards a Formal Theory of Dialogue Game Protocols for Autonomous Agent

Interactions","abstract":null,"pdf":"https://intranet.csc.liv.ac.uk/research/techreports/tr2 001\/ulcs-

01-003.ps","comment":null,"lastModified":"2018-10-17 09:48:59"} ]}


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp