基于IOS平台的学生服务应用程序设计与开发

 2021-12-16 08:12

论文总字数:38208字

摘 要

本学位论文的研究课题旨在建立服务于东南大学同学日常生活的校内平台。课题的主要内容是开发一套基于iOS平台的手机应用程序,主要实现以下功能:一个校内的二手交易和社交平台,大学校内的同学可以在此平台上实现二手的物品的交易,提供同学们交易的通道。

该软件主要由前端界面和服务器接口构成,手机端的应用程序需要实现与后台服务端的交互,交互方式使用http协议。本程序在开发过程中,以Xcode为开发环境,开发要求能够兼容iOS7以上的操作系统,需要开发者了解Xcode软件开发环境的搭建、Object-c开发语言、swift开发语言、iOS应用开发的常用方法和应用基础架构,同时掌握iOS界面和viewController的设计步骤,iOS应用与服务器端的基本交互流程等。

论文在阐述ios基本开发方法的基础上,给出了一套详细的系统前端设计方案,描述了方案中各个重要模块的页面设计与实现的方法,以及系统中核心的模型数据架构,同时也解释了通过AFNetworking框架与服务器端交互的方法与流程。

全文共分五章。第一章主要介绍了本文课题研究的背景和课题的意义,以及全文的主要内容、行文结构以及各章节的安排。第二章首先对iOS技术做了一个简要的说明,描述了iOS的层次结构,然后分别就应用中所使用到的Objective-C语言和Swift语言进行了介绍,阐述了两者各自的特点和优势。最后,介绍了苹果开发中所使用到的必不可少的IDE工具Xcode,首先从概述Xcode的特点和大致功能开始,接着以开发软件的流程顺序描述了一些常用的iOS开发时所涉及到的Xcode操作和特性,最后总结了学习Xcode的经验及其优势所在。第三章中,首先给出了“校园淘”应用的整体框架结构图。其次,根据结构图设计将应用模块化,划分成为若干大模块和子模块的组合,以简洁的语言清晰地描述了模块应当实现的功能,以及父子模块之间的逻辑承接跳转关系。第四章首先描述了应用开发中所涉及到的关键技术,如设计界面时用到的故事板,确定布局的坐标系统和自动布局功能,与服务端交互时所用的JSON数据格式和AFNetworking框架等。第五章就模块划分阐述了各模块的具体实现方法和流程。第六章简要地介绍了在真机上测试的情况。

关键词:ios平台,前端设计,Xcode开发,Swift语言

ABSTRACT

The aim of this essay is to build an in-school platform serving students in South-east University. The project is about developing an application for iPhone. The application has functions as below: Building up a second-hand exchange and social contact platform. Enable students in the college to trade their goods.

The app consists of the front end user interface and the interfaces for the Internet server. The app needs to interact with a given server with the http protocol. During the development of this app, Xcode is used as IDE. The app is compatible with operating system of iOS7 or higher edition. Developers are required to learn the establishment of the developing environment, Objective-C language, Swift Language, basic iOS developing methods and basic frameworks of applications. Also, the design steps of iOS UI and viewControllers and the interactions of iOS apps with the server are necessarily needed.

On the basis of introducing the basic developing methods of iOS, this essay gives a detailed design of the system's front end and describe every important UI page's design and implement method, together with the core data model. It also explains how to use AFNetworking Framework to contact with the server.

The essay can be divided into five chapters. Chapter one mainly introduces the background and meaning of this project and the content and structure of the passage. Chapter two makes a brief introduction of the iOS technology and the layer structure of it, then quickly introduces the Objective-C and the Swift language's advantage. It also focuses on the necessary IDE tool, Xcode, used in iOS development. It first introduces the features and functions of Xcode, then mentions some common operations and usages of Xcode in development. It also concludes the advantages of using Xcode as the IDE tool. Chapter three is about the whole structure of the application, and it explains how the app is divided into several modules and what function should each module implement, together with the logic relationship between each module. Chapter four Chapter four introduces several key technologies in application development. Chapter five presents what we need to do in the development and how to implement each module mentioned in Chapter three in detail. Finally,Chpater Six briefly introduces how to run the app on a real iPhone.

Key words: iOS platform,front-end design,Xcode development,Swift programming language

目录

第1章 绪论 1

1.1 课题背景及意义 1

1.2 论文的主要内容及各章节的安排 2

第2章 ios开发简介 3

2.1 关于iOS技术 3

2.1.1 Objective-C语言 4

2.1.2 Swift语言 5

2.2 Xcode简介 5

2.2.1 Xcode概述 6

2.2.2 交互界面设计 6

2.2.3 源代码编辑帮助及集成调试 7

2.2.4 测试和持续集成 7

2.2.5 自动保存工程快照和源代码管理 8

2.2.6 分发至测试者和应用商店 8

2.2.7 Xcode总结 9

第3章 “校园淘”应用的方案设计 10

3.1 总体框架结构 10

3.2 标签栏模块 11

3.3 导航栏模块 11

3.4 首页模块 11

3.5 商品/求购模块 11

3.6 个人模块 12

3.7 发布模块 13

3.8 服务端接口模块 13

第4章 应用中的关键技术 14

4.1 故事板(Storyboard) 14

4.2 坐标系统 15

4.3 自动布局(Auto Layout) 16

4.3.1 约束 16

4.3.2 约束的详细属性 17

4.3.3 约束的优先级 18

4.4 MVC模式 18

4.5 协议(protocol)和代理(delegate) 20

4.5.1 协议 20

4.5.2 代理 21

4.6 JSON数据 21

4.7 AFNetworking框架 22

第5章 各模块的具体实现 23

5.1 标签栏模块 23

5.1.1 标签栏按钮设计 23

5.2 导航栏模块 24

5.2.1 导航栏标题 25

5.2.2 导航栏按钮 25

5.3 首页模块 26

5.3.1 商品列表的实现 26

5.4 商品/求购模块 27

5.4.1 第一级:商品分类 28

5.4.2 第二级:商品列表 29

5.5 商品/求购详情模块 29

5.6 搜索模块 30

5.7 个人模块 31

5.8 个人消息模块 32

5.9 头像设置模块 33

5.10 个人发布模块 34

5.11 个人收藏模块 34

5.12 个人签到模块 35

5.13 个人特权模块 35

5.14 更多资料模块 36

5.15 隐私设置模块 37

5.16 发布模块 38

5.17 服务端接口模块 38

5.17.1 HttpProtocol协议 39

5.17.2 HttpController类 39

5.17.3 数据交互流程 39

第6章 真机测试 41

6.1 运行环境 41

6.2 最终结果 41

结束语 44

致 谢 45

参考文献 46

  1. 绪论

课题背景及意义

随着计算机软件和硬件技术的高速发展,网络技术日渐革新,飞速普及,各个行业信息化的脚步也越来越快,不再限制于以往台式机和笔记本电脑这两大终端,更多能够搭载高级应用的移动智能终端不断被开发设计出来。移动智能终端作为嵌入式系统的硬件终端,一般都会相应地固定配置嵌入式操作系统。如何充分地应用智能移动终端,使其为信息化管理行业服务,成为新的研究课题。[[1]]

随着毕业季的来临,无数毕业生面临离开自己的学校,或踏入社会工作,或进入其他高校乃至出国深造。在这个过程中,不可避免地涉及到对四年以来留下的个人物品的处理问题。在作者身边的环境中,存在着许多浪费的现象。许多还是全新的物品因为无法带走而被丢弃,造成了很多无谓的损失,也给宿舍搬迁管理带来了不必要的麻烦。在平时的生活中,也存在手中不需要的物品需要出售,但缺乏渠道的情况。

剩余内容已隐藏,请支付后下载全文,论文总字数:38208字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;