【发布时间】:2016-01-12 04:28:32
【问题描述】:
我使用 storyboard segue 在整个应用程序中导航。我为segue identifier 和table cell identifier 声明字符串变量。所以我不会在视图控制器类中打错字。
import UIKit
private let showTripViewSegueIdentifier = "showTripView"
private let contactCellIdentifier = "contactCell"
class JobViewController: UIViewController , UITableViewDataSource,UITableViewDelegate{
}
它会影响应用程序的内存使用吗? (因为整个应用程序会有很多视图控制器)。这是一个好方法吗?
提前致谢。
【问题讨论】:
-
请扩展您的问题和支持细节。措辞很不清楚:(我已将您的问题读了三遍,但仍然看不到您要问的实际问题:(
标签: ios swift memory-management