• Bundles and Packages


    E文原文

     Although bundles and packages are sometimes referred to interchangeably, they actually represent very distinct concepts:

        • A package is any directory that the Finder presents to the user as if it were a single file.

        • A bundle is a directory with a standardized hierarchical structure that holds executable code and the resources used by that code.

    Whereas packages are there to improve the user experience, bundles are geared more toward helping developers package their code and to helping the operating system access that code

    译文

      虽然 bundles 和 packages 有时可交换,它们实际上代表着两个很不相同的概念。

      1.一个 package 是在Finder中表现为一个单独文件的目录。

      2.一个 bundle 是一个目录,它拥有标准层级目录,包含了应用程序执行代码和资源。

      packages用来改善用户体验,bundles帮助开发者打包代码和操作系统帮助访问。 

     

  • 相关阅读:
    android 显示自定义视图对话框
    android为按钮事件进行监听过程
    实验三
    实验二
    实验一
    第五次作业
    第四次作业
    第三次作业
    第二次作业
    第一次作业
  • 原文地址:https://www.cnblogs.com/tekkaman/p/2205374.html
Copyright © 2020-2023  润新知