iPhoneéçºã§ãã¡ã¢ãªç®¡çã®åºç¤ã社å¡ã«ä¼ãããã¨ãå¢ãã¦ããã®ã§ãã¨ã³ããªã¨ãã¦æ¸ããã Objective-Cåºç¤ ã¡ã¢ãªç®¡çã®åã«ObjCã®åºç¤ã¨ãã¦ãã¡ã½ããå¼ã³åºãã®è©±ã ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹aãmethodAãã³ã¼ã«ããã¨ãã¯ã [a methodA] ã¨æ¸ãããã®ã¨ããaãnilã ã£ãã¨ãã¯ãã¨ã©ã¼ã§ã¯ãªããã³ã¼ã«ãããªããmethodAã«æ»ãå¤ãããã¨ãã¯ãããã¯ã0ãnilãNOãè¿ããObjCã§ã¯ã void dealloc { if(a!=nil){ [a release]; } [super dealloc]; } ã¯ãæ°æã¡æªãã®ã§ãnilãã§ãã¯ã¯ããã¾ãããã ãªããObjCã§ã¯ãåçã«ã¡ã½ãããå·®ãæ¿ãããã¨ãã§ããã³ã¼ã«ã®åº¦ã«ã¡ã½ãããåå¨ãã¦ãããã確èªãã¦ãã¾ãããã®ãããLLè¨èª(ã©ã¤ãã¦ã§ã¤ãè¨èªãã¹ã¯ãªããï¼ã®ããã«æè»ãªè¨è¿°ãå¯è½ã§ãããã
{{#tags}}- {{label}}
{{/tags}}