Global Variables

The following global variables are available globally.

  • 沙盒路径,常量

    Declaration

    Swift

    public var FWPathHome: String { get }
  • 文档路径,iTunes会同步备份

    Declaration

    Swift

    public var FWPathDocument: String { get }
  • 缓存路径,系统不会删除,iTunes会删除

    Declaration

    Swift

    public var FWPathCaches: String { get }
  • Library路径

    Declaration

    Swift

    public var FWPathLibrary: String { get }
  • 配置路径,配置文件保存位置

    Declaration

    Swift

    public var FWPathPreference: String { get }
  • 临时路径,App退出后可能会删除

    Declaration

    Swift

    public var FWPathTmp: String { get }
  • bundle路径,不可写

    Declaration

    Swift

    public var FWPathBundle: String { get }
  • 资源路径,不可写

    Declaration

    Swift

    public var FWPathResource: String { get }