基于Swift对Objective-C开发的移动应用程序优化  被引量:4

Mobile Application Optimization Based on Objective-C Developed by Swift

在线阅读下载全文

作  者:李亚欣 蔡永香[1] 邓舒颖 LI Ya-xin;CAI Yong-xiang;DENG Shu-ying(School of Geosciences,Yangtze University,Wuhan 430100,China)

机构地区:[1]长江大学地球科学学院,湖北武汉430100

出  处:《软件导刊》2018年第10期178-182,共5页Software Guide

摘  要:针对动态页面代码编写冗长、前台数据库更新方式待优化等问题,基于Swift与Objective-C混编技术对早期Objective-C移动应用程序进行优化,既充分利用由Objective-C语言封装好的第三方工具,又利用Swift的语言特点,如属性观察器优化动态页面简化程序逻辑、提高软件各项性能等;对前台数据库设计进行优化,实现用户数据分开存储、数据库按需更新等功能。对优化后的程序进行测试,结果表明,应用功能得到完善,系统性能得到提高。Some problems exist in the early mobile Apps based on Obj ective-C including tediously long code on dynamic pages, un reasonable updating methods for foreground database, etc. Therefore, this paper optimizes the early code programming by taking advantages of both Swift and Objective C programming technology. This method can make the utmost of the excellent third-par ty tools encapsulated by Objective C code as well as use Swift's features of which is like using the Property Observer to simplify procedures and improving the performance of software and so on. In addition,it optimizes the foreground database design and a chieves the functions of storing the user data separately,updating the database as needed,etc. And the experimental result indi cares that the function of application is improved and the performance of system is enhanced after using this method.

关 键 词:IOS 程序优化 SWIFT OBJECTIVE-C 

分 类 号:TP392[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象