IOS development and ios development tutorial

Source: Internet
Author: User

IOS development and ios development tutorial

Tools used: Product-> Analyze


This tool is easy to use and can perform memory analysis during code compilation to identify potential memory leakage risks in the code. It does not need to be run.


After the analysis, information similar to Warring and Error will be obtained in Issue navigator:


Memory leakage points are pointed out.


Where:

Dead store

Value stored to 'xxxx' is never read


Variable defined but not used.


Memory (Core Foundation/Objective-C)

Potential leak of an object stored into 'xxxx'


Indicates that the object has potential leakage.


Other types of prompts are not listed here.


Solution:

Click the prompt information to guide you to the corresponding code location:


Click the prompt message after the code to display the interaction details:


Modify the relevant code as prompted.









Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.