ResourceUtils

public struct ResourceUtils

本地资源

  • 读取本地文本资源文件

    Declaration

    Swift

    public static func getContentInfo(path: String?, type: ResourceType) -> Any?
    Parameters
    path

    文件路径

    type

    文件类型