合肥生活安徽新闻合肥交通合肥房产生活服务合肥教育合肥招聘合肥旅游文化艺术合肥美食合肥地图合肥社保合肥医院企业服务合肥法律

ITP4206代做、代写c/c++,Java编程
ITP4206代做、代写c/c++,Java编程

时间:2024-12-17  来源:合肥网hfw.cc  作者:hfw.cc 我要纠错



 ITP4206 Proprietary Mobile Application Development
Individual Assignment 2023-24 (20% of overall marks)
Objective: 
By completing the assignment, students can
• be familiar the basic features of the Swift programming language.
• practice through the steps to develop iOS app using the Xcode SDK.
Overall Task
• You are required to create an App to Pixel Editor.
• You don't need to make a 100% replicate of the example apps.
• You can choose either UIKit or SwiftUI to complete the tasks.
• Complete the tasks as many as you can.
Task 1- The Basic Task
Create a dartboard contains 256 cells, in a 16 by 16 grid. It is allowed to use 
a single view for the app and is suggested as shown on right hand side.
1. The app start with an empty art board. 
2. There are at least seven color available for selection. (Hints, user number 
to indicate color: 0 - red, 1 - yellow, 2 - green and .... or use hex code to 
indicate color) 
3. There are at least two tools - a draw tool and an eraser tool. 
4. In draw tool mode, when the user taps on each pixel, a corresponding 
color is set and displayed. In eraser tool mode, when the user taps on each 
pixel, a corresponding color is set and displayed.
The Constraints: 
• It is suggested to use array (Array) to store the values of a pixel, otherwise many variables are 
required to store the input data and the computation logic will be complicated. 
• A separate class is required in the project to perform the pixel drawing logic after the each pixel / 
button is pressed.
• Good coding standard is required – appropriate comments, error handling, well-structured coding 
and good naming convention.
 
Reference:
 Task 2 - Fill Tool
Add an additional tool "Fill Tool". Use the 4 directions flflood fifill algorithm to implement fifilling 
of pixels.
Pseudo code of a flflood-fifill algorithm. 
Reference: 
https://en.wikipedia.org/wiki/Flood_fifill
 
Task 3 - Undo / Redo functions
For each action, the app will store the data of the canvas (the array). 
• When the user press undo, the canvas will show the last committed canvas. 
• When the user press redo (after performing an undo), the canvas will show the next committed 
canvas. 
• When the user press undo and then draw on the canvas, all redo record will be replaced by the 
drawing. 
• No matter press the undo / redo, there will be no action taken if there is no more data for undo / redo.
• Tips: You can choose to just use an array or the iOS's UndoManager to manage the undo/redo. 
Task 4 - Data Persistence
• User can save the art board and load the art board for further editing. (By using UserDefault, JSON, 
CoreData or whatever solution you can think of.)
• If you can complete the following task, more marks will be awarded:
• Save multiple fifile, and you can choose to load which fifile to edit.
• Export and save the image to iOS's album. 
Flood-fill (node): 
 1. Set Q to the empty queue or stack. 
 2. Add node to the end of Q. 
 3. While Q is not empty: 
 4. Set n equal to the first element of Q. 
 5. Remove first element from Q. 
 6. If n is Inside: 
 Set the n 
 Add the node to the west of n to the end of Q. 
 Add the node to the east of n to the end of Q. 
 Add the node to the north of n to the end of Q. 
 Add the node to the south of n to the end of Q. 
 7. Continue looping until Q is exhausted. 
 8. Return.Marking Scheme (Full marks – 100) 
 
Remarks: Poor coding style (e.g. no suitable comments for methods and variables, poor indentation, and 
etc.) in the source codes will cause a maximum of 10 marks deduction.
 
Submission
• Hand in via moodle.
• Due date and time for submission: 21st December 2024 (Saturday) before 23:59pm.
 
Demonstration
• Submit a video demonstration to Moodle.
 
For Challenger 
You can choose to take the challenge to add even more extra feature on your app. 
• Art board with frame options and able to preview the art board animation.
• Export the animated art board in GIF animation.
Challengers who can complete one or more task will get the priority to choose the time slot for ITP4206 
project presentation and FYP interim presentation. :) 
• Basic Tasks 55 marks
• Fill Tool 10 marks
• Undo only / Undo and Redo 5 marks / 10 marks
• Data Persistence 5 marks (+5 marks for each extra features)
• Good Looking User Interface 10 marks

请加QQ:99515681  邮箱:99515681@qq.com   WX:codinghelp





 

扫一扫在手机打开当前页
  • 上一篇:代写QHE5701、SQL程序设计代做
  • 下一篇:金豆钱包客服电话-金豆钱包24小时客服热线电话
  • ·CS425FZ代做、代写Java编程设计
  • ·代写COMP3013、代做Java编程设计
  • ·代写COMP 250、代做java编程语言
  • ·代写6570USST、代做c/c++,Java编程
  • ·PROG2004代写、代做Java编程设计
  • ·代写ISIT312 、代做Java编程语言
  • ·代写INFO1113、Java编程设计代做
  • ·FIT5147代写、代做css/Java编程语言
  • ·代写CDS540程序、代做Python/Java编程设计
  • ·代写SWEN20003、代做Java编程语言
  • 合肥生活资讯

    合肥图文信息
    戴纳斯帝壁挂炉全国售后服务电话24小时官网400(全国服务热线)
    戴纳斯帝壁挂炉全国售后服务电话24小时官网
    菲斯曼壁挂炉全国统一400售后维修服务电话24小时服务热线
    菲斯曼壁挂炉全国统一400售后维修服务电话2
    美的热水器售后服务技术咨询电话全国24小时客服热线
    美的热水器售后服务技术咨询电话全国24小时
    海信罗马假日洗衣机亮相AWE  复古美学与现代科技完美结合
    海信罗马假日洗衣机亮相AWE 复古美学与现代
    合肥机场巴士4号线
    合肥机场巴士4号线
    合肥机场巴士3号线
    合肥机场巴士3号线
    合肥机场巴士2号线
    合肥机场巴士2号线
    合肥机场巴士1号线
    合肥机场巴士1号线
  • 币安app官网下载 短信验证码

    关于我们 | 打赏支持 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | 帮助中心 | 友情链接 |

    Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥网 版权所有
    ICP备06013414号-3 公安备 42010502001045