合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        代寫COMP228、代做Python,Java編程

        時間:2023-11-23  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯


        COMP228 Assignment 2 w/c 20th November 2023

        Developing a visitor App for Ness Gardens.

        Background:

        Ness Botanical Gardens is located on the Wirral Peninsula (at 53.27566, -3.04122) and is owned by the

        University of Liverpool. It features a wide variety of plants gathered from all over the world. Visitors may walk

        around the gardens exploring the plants and scenery.

        The Computer Science department worked with Ness in the **’s to develop a mySQL database to hold it’s

        thousands of plant records. This database does not record the GPS location of individual plants. Instead, plants

        are allocated to “beds” and it is the geographic locations of these that are recorded in the database table

        “beds”.

        Plant records in the database are held in a simplified version of the itf2 format (International Transfer Format 2 -

        an international standard for transferring plant data) in the table named “plants”,

        Your Task:

        You will design and develop a portrait orientation application written in Swift 5.7 or later, using UIkit and

        Storyboard for iPhone 15. The application is designed to assist visitors to Ness Gardens. Your app includes a

        map and table and uses the user’s current location. The project must be developed using the Git version control

        system (i.e. you must make regular commits to the repository, stored locally in your project. Note: Do not move

        your project to Windows systems without zipping it first. Doing so can lose the hidden Git repository folder).

        In order to get information about the plants, an API has been created. You will need to retrieve data from a web

        service (in the following URL’s the value for the record number, recnum, is just an example):

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness/data.php?class=beds all bed data

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness/data.php?class=plants all plant data

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness/data.php?class=plants&recnum=4041 data on a specific plant

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness/data.php?class=images all image data

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness/data.php?class=images&recnum=1129 image data on a specific plant

        Note that:

        • As can be seen in the example above, some plants have associated images referenced in an “images”

        table. The actual jpeg images referred to in the table are located at the following base URL:

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness_images/

        (Note: use secure URLs, otherwise your app will not load the data or images).

        • Thumbnail (i.e. small) versions of the images will be available shortly from the following base URL:

        https://cgi.csc.liv.ac.uk/~phil/Teaching/COMP228/ness_thumbnails/

        • Some of the plant records have multiple images. You should deal with displaying these in a sensible fashion.

        • The plant record is only valid if the accsta field has the value ‘C’. If it has any other value, that plant should

        be ignored (such plants may have originally been present, but subsequently died, or been removed)

        • A single plant record in the database, might reference a plant in multiple beds (some plants may be split or

        propagated and grown as several different instances in different locations). You will need to take the bed

        attribute and split it into an array of beds (split it based on whitespace - see hint at the end).

        Your application is required to have the following basic features (worth 55%):

        1. The user is initially presented with a map displaying a satellite view, centred on their current location and

        at a reasonable level of zoom so that features can be seen clearly. (A user location based in Ness

        Gardens is available for you to use in the simulator. A further gpx location file which simulates the user

        going on a “walk” around part of the gardens is planned to be made available shortly.) (worth 15%)

        Draft

        2. A table below the map contains plant data, grouped by bed (each of which should be implemented as a

        different table section) and ordered by distance from the user’s current location (which can, of course,

        change as the app runs). The location file featuring a “walk” around the gardens can be used to test this

        feature. Each cell should contain a thumbnail image of the plant (if available) and some textual details

        (e.g.genus, species, infraspecific epithet, vernacular name and cultivar name). (worth 15%)

        3. Tapping on a cell, displays an image (or images) where these exist in the database and other relevant

        information about a specific plant (you might wish to use a TextView for this purpose). Plant records that

        include a valid latitude and longitude of the original plant origin, should include a map showing this.

        Don’t show the map for a plant that is missing this information. (worth 15%)

        4. The App must feel like a good mobile application - no unnecessary transitions, popups or alerts etc.

        Layout of the interface elements and navigation within the app must be appropriate and aesthetically

        correct. (worth 10%)

        The remaining 45% of the marks may be obtained by implementing useful features such as:

        1. The user can, from time to time, mark as “favourite”, a plant that they really like (or unfavourite one). This

        should be displayed in the relevant table cell by displaying some kind of symbol against that cell. The list

        of favourites should be saved into persistent storage so that it is retrieved every time the app is run.

        (worth 5%)

        2. Caching the plant and other information (including your choice of favourite plants) in Core Data. This

        would effectively allow the app to run if there was no network connection. Please note: You do not need

        to cache the plant images. (worth 10%)

        3. Your code should be reasonably well-written. Functions should be used where it helps improve clarity

        and reduces repetitive code. Data structures should be appropriate and effective. (worth 10%)

        4. Ensure that your code is appropriately commented and that meaningful class, variable and constant

        names are used. (worth 10%)

        5. Your project should include a Git archive, featuring commits that you have made during the whole period

        of the development process. (worth 10%)

        If you use any additional images or other materials, ensure that these are copied into the project – not just

        referenced somewhere else in your filestore. The zipped folder that you submit should include everything

        required to compile and run your App. You can test this by copying the folder to another Mac (with the same

        version of Xcode) and trying to run your project on that.

        Important - Please note:

        This is real plant data, typed into the database by volunteers and so may contain errors (e.g. the bed field might

        contain references to non-existent beds). You should handle such data gracefully (e.g. if a bed referred to in a

        plant record, does not exist, then the plant shouldn’t be displayed in the table, since that is organised by valid

        bed names - each of which have a recorded location).

        Do not use any third-party frameworks in your App (e.g. Alamofire). Use Apple standard frameworks ONLY (i.e.

        only frameworks provided with Xcode 15). Use of third-party frameworks will involve a penalty of 25%.

        The App must be written using UIKit and Storyboard. Submissions written using SwiftUI will involve a penalty of

        25%.

        What to Submit

        Your completed project (which includes the Git repository, stored automatically in an invisible folder in the project

        folder) should be zipped up and submitted via the online submission system:

        https://sam.csc.liv.ac.uk/COMP/CW_Submissions.pl

        Draft

        (In the Finder, right click the icon for the folder containing the project file and folder and choose “Compress”)

        Also submit a short PDF document (maximum of **2 sides of A4) which describes how to use your app and any

        notable features or limitations.

        Deadline for submission: Monday December 11th at 5pm

        Reminder: This is the second of two assignments, each of which is worth 15% of the total mark for COMP228.

        Your second part of the portfolio of lab work will be worth another 6%.

        Draft

        Hints:

        Explore the API URLs on a web browser, copy the JSON data into a pretty printer program - such as https://

        jsonformatter.org/json-pretty-print. This will show you the structure of the JSON data that you will need to

        convert into Swift Codable classes (see

        Carefully look at the JSON structure - this will give you information about the Swift structs that you’ll need to

        create to hold the decoded JSON data. Remember that you’ll need an array of these (similar to the week 9

        research papers lab exercise).

        To use the gpx fie of a walk around Ness Gardens, you’ll need to refer to the guidance document “Obtaining the

        user’s location” which will be published on the canvas site shortly.

        Since each plant record’s bed field may contain a reference to multiple beds, you’ll need to take that bed string

        and split it into an array of items. Here’s an example:

        //This fixed string would actually be data from the plant record

        let beds = "PW1 PW2 PW3 PW4"

        let bedArray = beds.components(separatedBy: .whitespaces)

        //bedArray is now an array of individual bed Strings

        Ness Gardens map, showing the location of plant beds Draft

        Important Tables:

        plants Individual plant records

        images References an individual jpeg image of a plant

        beds Short and full-name and location of a plant bed

        The plants table contains the following fields:

        recnum record number (integer)

        acid accession ID - plant instance String

        accsta accession status - “C” means a plant that is still alive

        family family name

        genus genus name

        species species name

        infraspecific_epithet optional part of the species name of a plant

        vernacular_name common name for the plant

        cultivar_name name for a plant variation produced by selective breeding

        donor name of the donor who supplied the plant

        latitude latitude of origin

        longitude longitude of origin

        country full name of country of origin

        iso ISO 2-letter code for country of origin

        sgu specific geographical unit in country of origin

        loc locality in country of origin

        alt altitude of plant origin location

        cnam Primary collector’s name

        cid Collector’s identifier

        cdat Collection date

        bed Bed(s) in Ness gardens where plant is located

        memoriam Plant is sponsored in memory of a deceased person

        redlist Plant is endangered

        last_modified Date and time of last change to this plant record Draft

        請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

        掃一掃在手機(jī)打開當(dāng)前頁
      1. 上一篇:COMP2005J代寫、代做Python,Java程序設(shè)計
      2. 下一篇:代做COM661、代寫 Stack Strategies編程
      3. 無相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        出評 開團(tuán)工具
        出評 開團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動機(jī)性能
        戴納斯帝壁掛爐全國售后服務(wù)電話24小時官網(wǎng)400(全國服務(wù)熱線)
        戴納斯帝壁掛爐全國售后服務(wù)電話24小時官網(wǎng)
        菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話24小時服務(wù)熱線
        菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場巴士4號線
        合肥機(jī)場巴士4號線
        合肥機(jī)場巴士3號線
        合肥機(jī)場巴士3號線
      4. 上海廠房出租 短信驗(yàn)證碼 酒店vi設(shè)計

        主站蜘蛛池模板: 午夜精品一区二区三区免费视频| 熟妇人妻一区二区三区四区| 伊人久久精品无码麻豆一区| 无码人妻精品一区二区三18禁| 天堂国产一区二区三区| 无码少妇一区二区三区浪潮AV| 91福利一区二区| 国产高清视频一区二区| 中文字幕在线观看一区| 在线播放国产一区二区三区 | 久久一区不卡中文字幕| 亚洲一区二区三区91| 午夜爽爽性刺激一区二区视频| 免费萌白酱国产一区二区| 国产一区二区三区在线观看精品| 精品一区精品二区制服| 一级特黄性色生活片一区二区| 精品视频一区二区三区免费| 成人免费一区二区无码视频| 久99精品视频在线观看婷亚洲片国产一区一级在线 | 老熟妇仑乱视频一区二区| 深田咏美AV一区二区三区| 国产精品亚洲不卡一区二区三区| 无码人妻久久一区二区三区| 午夜视频在线观看一区二区| 日韩精品一区二区三区大桥未久| 人妻互换精品一区二区| 国产日韩一区二区三免费高清| 国产福利日本一区二区三区| 国产精品视频一区二区三区无码| 国产视频福利一区| 亚欧免费视频一区二区三区| 久久久久国产一区二区| 国产一区二区三区小说| 久久一本一区二区三区| 精品国产一区二区三区AV性色| 亚洲午夜精品一区二区麻豆| 午夜DV内射一区二区| 韩国福利一区二区三区高清视频 | 美女视频黄a视频全免费网站一区| 精品无码一区在线观看|