swift内存管理机制深度解析  被引量:1

在线阅读下载全文

作  者:杨舜尧[1] 

机构地区:[1]阜新高等专科学校,辽宁阜新123000

出  处:《信息技术与信息化》2017年第12期149-151,共3页Information Technology and Informatization

摘  要:Swift作为i OS系统的官方开发语言,有其自身的诸多优点,开发过程简单,高效。作为一门计算机语言,Swift使用ARC(自动引用计数器)机制,是开发人员跟多的关注程序本身,减少程序员的工作量,不必为内存管理浪费大量精力。但是即使是ARC,也会导致一些存储错误,系统崩溃或其他错误行为。本文就内存管理问题进行解析,从而避免由内存使用不当而引起的系统错误。As the official language of IOS system development,Swift has its own advantages and the development process is simple and efficient.As a computer language,Swift uses the ARC(Automatic Reference Counter) mechanism,which is a developer's concern with the program itself,reducing the programmer's effort and eliminating the need to waste a lot of energy on memory management.But even ARC can cause some memory mistake,system crashes,or other misbehavior of your app.This article parses memory management issues to avoid system mistake caused by improper memory usage.

关 键 词:自动引用计数器 内存使用 内存管理 系统崩溃 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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