首页|基于YAML的iOS应用开发框架

基于YAML的iOS应用开发框架

扫码查看
为解决初学者使用Swift语言编写iOS程序上手难,公司开发多平台应用程序成本高等问题,本文基于跨平台开发理念实现一种通过编写简单易学的解释性配置文件YAML进行苹果应用开发的iOS框架.首先调研第三方语言开发苹果应用的可行性,其次在YAML语法中对UI控件、样式渲染、网络请求等进行抽象及结构定义,框架底层根据结构定义依次完成资源加载、数据处理、控件创建及用户交互等核心功能.并基于该框架设计开发一个在线问诊应用(Aitmed-Care),且成功上线Apple Store,配合Web和Android框架可以达到开发一套代码发布在多平台的目的.应用的成功发布表明框架从功能性、安全性等角度符合iOS软件的开发规范,可以被应用于iOS开发.
iOS Application Development Framework Based on YAML
To solve the problems of difficulty for beginners to write iOS programs using Swift language and the high cost of devel-oping multi platform applications for the company,this article implements an iOS framework for Apple application development based on the concept of cross platform development,which involves writing a simple and easy to learn explanatory configuration file YAML.Firstly,the feasibility of developing Apple applications using third-party languages is investigated.Secondly,UI controls,style rendering,and network requests are abstracted and structurally defined in YAML syntax.The underlying frame-work completes core functions such as resource loading,data processing,control creation,and user interaction in sequence based on the structural definition.And based on this framework,an online consultation application(Aimed Care)is designed and developed,and successfully launched on the Apple Store.Coupled with the Web and Android frameworks,the goal of devel-oping a set of code for publishing on multiple platforms can be achieved.The successful release of the application indicates that the framework meets the development standards of iOS software from the perspectives of functionality and security,and can be applied to iOS development.

iOSSwiftframeworkYAMLnetwork requestscross platform development

范良俊、彭振皖、王晨、于泓涛、梁振

展开 >

安徽医科大学生物医学工程学院,安徽 合肥 230012

爱特美德(安徽)智能科技有限公司,安徽 合肥 230032

iOS Swift 框架 YAML 网络请求 跨平台开发

安徽省自然科学基金资助项目安徽医科大学博士科研基金资助项目

2108085QF274XJ201901

2024

计算机与现代化
江西省计算机学会 江西省计算技术研究所

计算机与现代化

CSTPCD
影响因子:0.472
ISSN:1006-2475
年,卷(期):2024.(4)
  • 28