标题字符串添加到条目数组后,就释放标题字符串对象,这样下一个标题就不会添加到前一个标题上。
After the title string is added to the items array, you release the title string object so that the next title is not appended to the previous title.
如果不需要数组,那么您必须释放它,如清单12所示。
If the array is not yet required, then you must release it, as shown in Listing 12.
清单12 .释放一个数组。
应用推荐